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

Incorrect Groovy Line Numbers in Parse Errors #4082

Open
cpwright opened this issue Jun 27, 2023 · 0 comments
Open

Incorrect Groovy Line Numbers in Parse Errors #4082

cpwright opened this issue Jun 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working core Core development tasks groovy
Milestone

Comments

@cpwright
Copy link
Contributor

Description

A clear and concise description of what the bug is.

Steps to reproduce

  1. Run a broken script with a parse error, like:

println("yo)

Expected results

An error with "line 1".

Actual results

We tell you line 44, because we add a bunch of import statements.

r-Scheduler-Serial-1 | .c.ConsoleServiceGrpcImpl | Error running script: io.deephaven.engine.util.GroovyExceptionWrapper: startup failed:
Script_7: 44: Unexpected character: '"' @ line 44, column 9.
   println("yo)
           ^

Versions

  • Deephaven: 0.25.3
@cpwright cpwright added bug Something isn't working triage labels Jun 27, 2023
@rcaudy rcaudy self-assigned this Jun 27, 2023
@rcaudy rcaudy added core Core development tasks groovy and removed triage labels Jun 27, 2023
@rcaudy rcaudy added this to the Backlog milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Core development tasks groovy
Projects
None yet
Development

No branches or pull requests

2 participants