-
Notifications
You must be signed in to change notification settings - Fork 15
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
ClassCastException in qute template #816
Comments
@datho7561 , could we solve this by adding something like quarkus-ls/qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/services/QuteDiagnostics.java Lines 710 to 714 in c0fc338
It doesn't make sense to emit |
Fixes redhat-developer#816 Signed-off-by: azerr <azerr@redhat.com>
Fixes redhat-developer#816 Signed-off-by: azerr <azerr@redhat.com>
@rgrunber indeed it was the idea, but Here the result: Here we don't report error as
you will have just one error of the first To fix those 2 problems we should manage this error with our QuteDiagnostics which uses our fault tolerant parser. I had started to manage an error to adjust correctly the error (I ignore the error from the Qute real parser and I manage itin QuteDiagnostics), but I'm waiting for the decision about the Qute parser (managed with Antlr?) |
Fixes redhat-developer#816 Signed-off-by: azerr <azerr@redhat.com>
Fixes #816 Signed-off-by: azerr <azerr@redhat.com>
In a qute template, the following will trigger a ClassCastException:
See:
Tested with the latest vscode-quarkus pre-release (v1.13.2023031404)
The text was updated successfully, but these errors were encountered: