redhat-developer / redhat-developer/quarkus-ls
Validation should not report error for {size.or(20)}
Open
Nobody has claimed this yet.
bug
qute
template-file
validation
- Dominant language
- Java
- Stars
- 50
- Forks
- 18
- Avg merge
- 22h 11m
- Merged PRs (30d)
- 3
Description
Given
{size.or(20)}
The Qute LS report a warning and an error

although this expression is valid because when or is used, size can be not defined.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Start by locating Qute language-server validation for expressions using or, then reproduce {size.or(20)} and trace why an undefined size produces diagnostics. Done means this valid expression produces neither a warning nor an error, with regression coverage if the existing test structure supports it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100