changed tests for Integer vs Sting list compares#102
Open
bryantaustin13 wants to merge 1 commit into
Open
Conversation
ewoutkramer
reviewed
May 21, 2026
| <test name="Equal123And123" version="1.0"> | ||
| <capability code="list-operators" /> | ||
| <expression>{ 1, 2, 3 } = { 1, 2, 3 }</expression> | ||
| <expression>{ 1, 2, 3 } as List<Any> = { 1, 2, 3 } as List<Any></expression> |
Contributor
There was a problem hiding this comment.
I was frowning while reading the others, but this certainly would not need an as operator to be able to be evaluated?
Member
There was a problem hiding this comment.
Agreed. Casting should not be necessary when the list on the left-hand side already has the same type signature as the list on the right-hand side.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a fix for cqframework/clinical_quality_language#1720 (comment) "Equivalence operation returning EvaluationError in several instances"
Added as List<Any> to expressions to clarify lists. Fixed the error that was occurring: "EvaluationError:Library expression-1.0.0 loaded, but had errors: Could not resolve call to operator Equivalent with signature (list<System.Integer>, list<System.String>)."
Changes those tests from fail to pass.