-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingSomething isn't workingscope: compiler
Description
Version
3.2.0-beta.7
Reproduction link
Steps to reproduce
After opening the reproduction link, follow the instructions in the screen, and check the console.
What is expected?
Variables should be desugared even when being typecasted or asserted as non-null. Type casting should not affect runtime behavior.
What is actually happening?
Some usages are not being desugared by the compiler when casting explicitly or using the Non-Null Assertion Operator in TypeScript.
Metadata
Metadata
Assignees
Labels
❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingSomething isn't workingscope: compiler