eg. {extensions.size + 1} reports a couple errors,
[{
"resource": "/Users/fbricon/Dev/projects/marketplace-stats/marketplace-stats/src/main/resources/templates/index.html",
"owner": "quarkus",
"severity": 8,
"message": "Property/method [size+1] not found on class [java.util.Collection] nor handled by an extension method",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}]
[{
"resource": "/Users/fbricon/Dev/projects/marketplace-stats/marketplace-stats/src/main/resources/templates/index.html",
"owner": "_generated_diagnostic_collectionname#6",
"code": "InvalidVirtualMethod",
"severity": 8,
"message": "The virtual method plus in the type StringTemplateExtensions is not applicable for the base object int type.",
"source": "qute",
"startLineNumber": 1,
"startColumn": 18,
"endLineNumber": 1,
"endColumn": 19
}]
eg.
{extensions.size + 1}
reports a couple errors,plus
in the typeStringTemplateExtensions
is not applicable for the base objectint
type.", "source": "qute", "startLineNumber": 1, "startColumn": 18, "endLineNumber": 1, "endColumn": 19 }]But Quarkus/Qute runs fine with it: