Actions
Feature #14606
openChange begin-else-end without rescue from warning to syntax error
Feature #14606:
Change begin-else-end without rescue from warning to syntax error
Status:
Open
Assignee:
-
Target version:
-
Description
begin-else-end without rescue is useless and dangerous. (especially, do-else-end is easy to mistake)
In actually, programmer never intend to write like these.
Ruby interpreter can guard this case by syntax error.
Updated by matz (Yukihiro Matsumoto) over 8 years ago
Accepted.
Matz.
Updated by mame (Yusuke Endoh) over 8 years ago
Actions