Actions
Bug #21048
closed[Prism] rescue in modifier form with condition behaves differently
Bug #21048:
[Prism] rescue in modifier form with condition behaves differently
Description
With the following code there is a discrepancy in how prism and parse.y consider precedence:
Prism interprets it as foo rescue (nil if false), calling the method. parse.y does (foo rescue nil) if false since at least Ruby 2.0
Actions