Make variables in if/unless conditions available to conditional statements
I propose to make below code work
do_something(a) if a = condition
Above code should work exactly same as
if a = condition
If there is a reason behind why the first case does not work, please let me know.
I'm pretty sure this is already being discussed but I can't remember in what thread/issue.
Exactly. Actually I didn't know about 1141, but I've read about 4965 recently.
- Status changed from Open to Assigned
- Assignee set to matz (Yukihiro Matsumoto)
- Status changed from Assigned to Rejected
The reason behind has been explained in #1141. If someone want to change the rule, he need to understand the rational first, then should try persuade me.
Also available in: Atom