revert walk more of tree

This commit is contained in:
Toshit Chawda 2024-12-13 21:52:54 -08:00
parent 7d667615e0
commit 8193c06c8e
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
2 changed files with 4 additions and 1 deletions

View file

@ -25,3 +25,5 @@ function f() { return import("x") }
let window = (1, window);
let x = new this.Abc();

View file

@ -77,7 +77,8 @@ where
} {
return true;
}
walk::walk_expression(self, it);
// don't walk further here it causes issues with constructors
false
}