Allow RowValue to be used in SetComponent expressions

This commit is contained in:
tibotix 2023-11-17 01:48:27 +01:00
parent f128f05e1e
commit f282ead955
No known key found for this signature in database
GPG Key ID: 96DF02FF50AC54C7
1 changed files with 2 additions and 0 deletions

View File

@ -529,6 +529,8 @@ class LintingVisitor extends RecursiveVisitor<void, void> {
// In expressions are tricky. The rhs can always be a row value, but the
// lhs can only be a row value if the rhs is a subquery
isAllowed = e == parent.inside || parent.inside is SubQuery;
} else if (parent is SetComponent) {
isAllowed = true;
}
if (!isAllowed) {