mirror of https://github.com/AMT-Cheif/drift.git
Fix resolver not finding window expressions
This commit is contained in:
parent
4af370f0cb
commit
fcdbc309b7
|
@ -69,7 +69,7 @@ class ReferenceResolver extends RecursiveVisitor<void> {
|
|||
|
||||
@override
|
||||
void visitAggregateExpression(AggregateExpression e) {
|
||||
if (e.windowName != null && e.resolved != null) {
|
||||
if (e.windowName != null && e.resolved == null) {
|
||||
final resolved = e.scope.resolve<NamedWindowDeclaration>(e.windowName);
|
||||
e.resolved = resolved;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue