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

Kotlin validation error have incorrect line numbers (and maybe column) #4642

Closed
wesbillman opened this issue Feb 25, 2025 · 1 comment
Closed
Assignees

Comments

@wesbillman
Copy link
Collaborator

The build error shows Echo.kt:15:0

error:echo:build: Build failed: echo: /Users/wesbillman/dev/ftl/examples/kotlin/echo/src/main/kotlin/ftl/echo/Echo.kt:15:0: Invalid name echo-bogus stuff, must match ^[A-Za-z_][A-Za-z0-9_]*$

But the error is actually on line 12 in the IDE

Image

@github-actions github-actions bot added the triage Issue needs triaging label Feb 25, 2025
@alecthomas
Copy link
Collaborator

Maybe add context to the messages to indicate what annotation it's referring to?

@github-actions github-actions bot removed the triage Issue needs triaging label Mar 3, 2025
@alecthomas alecthomas closed this as not planned Won't fix, can't repro, duplicate, stale Mar 11, 2025
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

No branches or pull requests

3 participants