redhat-developer / quarkus-ls

Language server for Quarkus tooling
Eclipse Public License 2.0
44 stars 15 forks source link

Don't report error when javaType is null #908

Closed angelozerr closed 11 months ago

angelozerr commented 11 months ago

Create a user tag (html file) src/main/resources/templates/tags/mytag.html with the following content:

{foo.or(10)}

It will report the error:

image

This error should not exists.

This usecase has been discovered in https://github.com/ia3andy/quarkus-blast/blob/aa969f34616ec63be0268fee20a40097d2ec1ba4/src/main/resources/templates/tags/user.html#L6

//cc @ia3andy