apple / pkl-intellij

JetBrains editor plugins providing Pkl language support
https://pkl-lang.org/intellij/current/index.html
Apache License 2.0
49 stars 10 forks source link

Fix false positive "expression is always false" #33

Closed bioball closed 3 months ago

bioball commented 3 months ago

The bug is that we shouldn't make any assertions if there are any constraints.

Future improvement: we can check the constraints here too, but need to refactor PklAnnotator a little bit.

Closes #9