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
{{ message }}
Repository navigation
Imported variables that used in string switch are not imported correctly in output #5645
Variables that are imported with import statement and used in switch statement with string parameter
are not imported correctly in emitted JavaScript (no import statement emitted for those variables).
Using other types than string in switch does not cause the problem oddly.
Activity
seanchas116 commentedon Nov 13, 2015
This problem seems to be introduced since
1.8.0-dev.20151110.seanchas116 commentedon Nov 13, 2015
I noticed whole type checking doesn't work inside
switch(any wrong code insideswitchcompiles without errors)...seanchas116 commentedon Nov 13, 2015
Oh this is fixed in #5639