mirror of https://github.com/AMT-Cheif/drift.git
Allow RowValue to be used in SetComponent expressions
This commit is contained in:
parent
f128f05e1e
commit
f282ead955
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue