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

Inaccurate error position for formattable constants #214

Open
cardillan opened this issue Jan 29, 2025 · 0 comments
Open

Inaccurate error position for formattable constants #214

cardillan opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@cardillan
Copy link
Owner

When a constant representing a formattable string literal is used at a place which doesn't accept formattable string literals, the error is reported at source position of the constant declaration, instead of the source position the incorrect usage of the constant.

The bug doesn't affect the generated code. Fix planned in version 3.1.0.

@cardillan cardillan added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant