whitequark / parser

A Ruby parser.
Other
1.57k stars 197 forks source link

document running no "syntax checks for block exits" (added first in MRI 3.3.0) #975

Closed iliabylich closed 8 months ago

iliabylich commented 8 months ago

This commit tracks upstream commit ruby/ruby@e1250a5.

This MRI change is an evil twin of "void value expression" checks. If you want to give it a try feel free to send PR. I'm not the one designing Ruby but IMO it should be a runtime check.

This PR simply admits and documents incompatibility with MRI.

Closes https://github.com/whitequark/parser/issues/940