Skip to content

Fix operator resolution involving generics and supertypes #224

Fix operator resolution involving generics and supertypes

Fix operator resolution involving generics and supertypes #224

Triggered via pull request October 17, 2024 05:04
Status Success
Total duration 38s
Artifacts

spotless.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
CqlListOperatorsTest.union(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/CqlListOperatorsTest.java#L45
java.lang.AssertionError: Expected: ExpressionDef w/ type: <org.hl7.elm.r1.Union> and result: <list<System.Any>> but: had wrong result: list<System.Integer>
ListOperatorsTest.all_interval_operators(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L36
org.opencds.cqf.cql.engine.exception.CqlException: library CqlListOperatorsTest loaded, but had errors: Call to operator Exists(System.Any) is ambiguous with: - Exists(list<System.Time>) - Exists(list<System.Integer>) - Exists(list<System.DateTime>), List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton.
ListOperatorsTest.cql_list_test_suite_compiles(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L25
org.opentest4j.AssertionFailedError: Test library compiled with the following errors : org.cqframework.cql.cql2elm.CqlSemanticException: Call to operator Exists(System.Any) is ambiguous with: - Exists(list<System.Time>) - Exists(list<System.Integer>) - Exists(list<System.DateTime>) at 72:20-72:31 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 104:48-104:49 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 105:44-105:46 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 106:44-106:46 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 107:110-107:132 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 108:111-108:133 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 111:40-111:42 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 118:31-118:32 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 119:27-119:31 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 120:27-120:31 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 121:32-121:55 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 122:33-122:55 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 201:71-201:72 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 202:71-202:73 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 203:71-203:73 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 204:132-204:178 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 205:132-205:201 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 206:112-206:145 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 207:112-207:161 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 208:66-208:68 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 209:65-209:70 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 226:45-226:46 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 227:45-227:47 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 228:45-228:47 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 229:45-229:91 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 230:45-230:114 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 231:45-231:78 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 232:45-232:94 org.cqframework.cql.cql2elm.CqlSemanticException: List-valued expression was demoted to a singleton. at 234:45-234:50 ==> expected: <false> but was: <true>
ListOperatorsTest.union_operator(): Src/java/cql-to-elm/src/test/java/org/cqframework/cql/cql2elm/operators/ListOperatorsTest.java#L702
org.opencds.cqf.cql.engine.exception.CqlException: library CqlListOperatorsTest loaded, but had errors: Call to operator Exists(System.Any) is ambiguous with: - Exists(list<System.Time>) - Exists(list<System.Integer>) - Exists(list<System.DateTime>), List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton., List-valued expression was demoted to a singleton.