cqframework / vscode-cql

VS Code Clinical Quality Language Extension
Apache License 2.0
8 stars 5 forks source link

Errors in libraries with only terminology declarations are not displayed #5

Closed brynrhodes closed 2 years ago

brynrhodes commented 2 years ago

For example the ColorectalCancerConcepts library

The translation is happening and other libraries that depend on the concepts library do report errors so that's all working just something about a library without any expression defs is causing the errors not to be reported correctly.

Note also that the Atom plu9gin does not exhibit this behavior, so it's something specific to the vscode plugin.

JPercival commented 2 years ago

Root cause was off by one index error for displaying messages. Resolved in release 0.1.3.

It does seem like the cql-translator is not reporting erroneous syntax as accurately as it used to.