We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I noticed today that this doesn't work:
typedef Td = E<String>; enum E<T> { // C(s:String):E<String>; C(s:String):Td; } function match<T>(e:E<T>) { return switch (e) { case C(s): s; // Unrecognized pattern: C(s) } } function main() { match(C("foo")); }
The commented out version works fine, so this must either be a missing follow or some lame syntax-level check.
follow
Merry Christmas anyway
The text was updated successfully, but these errors were encountered:
ed838d7
[matcher] follow when looking for GADT return types
96a021c
closes HaxeFoundation#11446
0db96b0
closes #11446
09ccc62
Simn
No branches or pull requests
I noticed today that this doesn't work:
The commented out version works fine, so this must either be a missing
follow
or some lame syntax-level check.Merry Christmas anyway
The text was updated successfully, but these errors were encountered: