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

Ensure line number is incorrect in CRuby compiler #2660

Open
kddnewton opened this issue Apr 2, 2024 · 0 comments
Open

Ensure line number is incorrect in CRuby compiler #2660

kddnewton opened this issue Apr 2, 2024 · 0 comments
Labels
bug Something isn't working compiler

Comments

@kddnewton
Copy link
Collaborator

     1: class C
     2:   def foo
     3:     begin
     4:     rescue
     5:       p :rescue
     6:     ensure
     7:       p :ensure
     8:     end
     9:   end
    10:   def bar
    11:     1.times{
    12:       2.times{
    13:       }
    14:     }
    15:   end
    16: end
    17: class D < C
    18: end

line number should be 2 (??)

@kddnewton kddnewton added bug Something isn't working compiler labels Apr 2, 2024
@kddnewton kddnewton added this to the CRuby unblocked milestone Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler
Projects
None yet
Development

No branches or pull requests

1 participant