You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
No crash, and OOOrder has instance type { p: number | undefined, x: number }
Actual behavior:
Crash in the binder trying to add p to OOOrder: constructorSymbol.members = constructorSymbol.members || createSymbolTable(); when constructorSymbol isn't defined.
Before #22643, this incorrectly added p to the instance of m, which is incorrect. So falling back to the old behaviour isn't a good option. Instead it needs the same created-nested-namespace logic as bindPropertyAssignment and bindExportsPropertyAssignment.
The text was updated successfully, but these errors were encountered:
Expected behavior:
No crash, and
OOOrder
has instance type{ p: number | undefined, x: number }
Actual behavior:
Crash in the binder trying to add
p
toOOOrder
:constructorSymbol.members = constructorSymbol.members || createSymbolTable();
whenconstructorSymbol
isn't defined.Before #22643, this incorrectly added
p
to the instance ofm
, which is incorrect. So falling back to the old behaviour isn't a good option. Instead it needs the same created-nested-namespace logic as bindPropertyAssignment and bindExportsPropertyAssignment.The text was updated successfully, but these errors were encountered: