New issue

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? Sign in to your account

`new switch` #213

Closed
vendethiel opened this Issue Nov 20, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@vendethiel
Contributor

vendethiel commented Nov 20, 2012

does not work : new switch (invalid constructor)
works : (new) switch

@gkz

This comment has been minimized.

Owner

gkz commented Dec 30, 2012

I'm not able to reproduce this.

@gkz gkz closed this Dec 30, 2012

@vendethiel

This comment has been minimized.

Contributor

vendethiel commented Dec 30, 2012

loader = new switch LOAD_TYPE
| LOAD_NONE    => NoneLoader
| LOAD_CONTENT => ContentLoader
| LOAD_MDIALOG => DialogLoader
@gkz

This comment has been minimized.

Owner

gkz commented Dec 30, 2012

Ah, it works if you have add a default.

@gkz gkz reopened this Dec 30, 2012

@gkz gkz closed this in c42bbf6 Dec 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment