Skip to content
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

Issue 50 - 'Some constructors are not matched' warning is missing - haxe #50

Closed
issuesbot opened this issue May 28, 2013 · 1 comment
Closed

Comments

@issuesbot
Copy link

[Google Issue #50 : https://code.google.com/p/haxe/issues/detail?id=50]
by michaelbaczynski@gmail.com, at 26/01/2010, 21:50:28
enum FooEnum

{
    A;
    B;
    C;
    }

class Foo

{
    public static function main():Void
    {
        var x = FooEnum.A;
        switch (x)
        {
            case FooEnum.A:
            }
        }
    }

Compile with haxe -swf9 foo.swf -main Foo

This compiles without compiler warning. But according to the documentation,
there should be a 'Some constructors are not matched: C,B' message. The
message only appears for:

switch (x)

{
    case A:
    }
@issuesbot
Copy link
Author

[comment from ncanna...@gmail.com, published at 17/12/2010, 13:01:57]
Fixed on SVN, thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant