boltlang / Bolt

A programming language for rapid application development
35 stars 1 forks source link

Not all missing bindings will be reported as missing #47

Closed samvv closed 6 months ago

samvv commented 1 year ago

Not sure if this is a bug, but there is an issue with references to a type or variable that does not exist only being reported once. If a does not exist, and a appears multiple times in a source file, then only the first a that is missing will be reported.

This issue would be especially visible when using the compiler as a language server. Not all invalid references would be highlighted, only the first one.

It appears that some language servers (such as clangd) exhibit the same behavior.

samvv commented 6 months ago

Closing in favor of #62.