Open ewoutkramer opened 1 year ago
Are they errors or warnings?
I assume you mean the HL7 unit tests?
I assume you mean the HL7 unit tests?
No, ExpressionBuilderTests
, specifically
AggregateQueries_1_0_0()
, which uses Input\ELM\Test\Aggregates-1.0.0.json
QueriesTest_1_0_0()
, which uses Input\ELM\Test\QueriesTest-1.0.0.json
E.g.:
{
"type" : "CqlToElmError",
"librarySystem" : "C:\\Code\\Ncqa.HT\\Hedis2023\\Cql\\input\\libs\\test\\Aggregates-1.0.0.cql",
"libraryId" : "Aggregates-1.0.0",
"startLine" : 1,
"startChar" : 0,
"endLine" : 1,
"endChar" : 0,
"message" : "token recognition error at: '?'",
"errorType" : "syntax",
"errorSeverity" : "error"
},
I have added a check in the ExpressionBuilder so it refuses to build ELM that has error annotations. This makes many of our unit tests fail, since the generated ELM by the java tooling contains errors.
Is this known?
I will now try to add a setting to enable/disable compiling elm with errors.