Title: Prism.parse and Prism.parse lex do not accept negative line numbers
Title: Prism.parse and Prism.parse lex do not accept negative line numbers: a task in LegoFlow-SWE (Harbor dataset). Describe the bug When calling Prism.parse(source, line: -2) , the parser rejects or ignores the negative start line number. Ruby’s eval , module eval , and similar APIs accept…
The task
**Describe the bug** When calling `Prism.parse(source, line: -2)`, the parser rejects or ignores the negative start line number. Ruby’s `eval`, `module_eval`, and similar APIs accept negative line numbers to inject preamble without altering the user code’s reported line numbers. Prism should support this to be a…
Part of Lego-X/LegoFlow-SWE.