CRuby `parse.y` rejects chained method calls where a `do ... end` command call (`block_call`) is followed by whitespace, parenthesized command arguments, and a brace block (e.g. `build 10 do end.transform () {}`, minimized `h 1do end.u (...steviejj (Steven Johnstone)
Very minor divergence between prism and parse.y spotted in differential fuzzing. Tested on `ruby 4.0.9 (2026-10-23 revision 3e93b23afc) +PRISM [aarch64-linux]` and `ruby 4.1.0dev (2026-11-18T09:19:17Z HEAD ed3e747aa4) +PRISM [aarch6...steviejj (Steven Johnstone)
When a Ruby script or `eval` string starts with a UTF-8 BOM (`\xEF\xBB\xBF`) and declares a heredoc on line 1 (e.g. `\xEF\xBB\xBF<<EOF\nEOF\n`, `\xEF\xBB\xBF(<<EOF)\nEOF\n`, `\xEF\xBB\xBFp(<<EOF)\nEOF\n`, or `\xEF\xBB\xBF[<<EOF]\nEOF...steviejj (Steven Johnstone)
In CRuby's `parse.y`, defining a class or singleton class (`class A; end` or `class << self; end`) inside a `rescue` clause causes a subsequent `retry` in the same `rescue` clause to fail compilation with `SyntaxError: Invalid retry af...steviejj (Steven Johnstone)