Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
does not work : new switch (invalid constructor)
works : (new) switch
The text was updated successfully, but these errors were encountered:
I'm not able to reproduce this.
loader = new switch LOAD_TYPE
| LOAD_NONE => NoneLoader
| LOAD_CONTENT => ContentLoader
| LOAD_MDIALOG => DialogLoader
Ah, it works if you have add a default.
Successfully merging a pull request may close this issue.