Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error message #304

Merged
merged 6 commits into from
Dec 23, 2023
Merged

Better error message #304

merged 6 commits into from
Dec 23, 2023

Conversation

yui-knk
Copy link
Collaborator

@yui-knk yui-knk commented Dec 23, 2023

Before

Referring symbol `bodystmts` is not found. #<Lrama::Lexer::Token::UserCode:0x000000011cf324c0> location: (2572,21)-(2583,20) (RuntimeError)

After

tmp/parse.tmp.y:2578:50: Referring symbol `bodystmts` is not found. (RuntimeError)
                        RNODE_DEFS($$)->nd_defn = $bodystmts;
                                                  ^^^^^^^^^^

@yui-knk yui-knk merged commit 2ae2485 into ruby:master Dec 23, 2023
15 checks passed
@yui-knk yui-knk deleted the better_error_message branch December 23, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant