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 32 - In Flash9, null can't be used as basic type Int - haxe #32

Closed
issuesbot opened this issue May 28, 2013 · 6 comments
Closed

Comments

@issuesbot
Copy link

[Google Issue #32 : https://code.google.com/p/haxe/issues/detail?id=32]
by michaelbaczynski@gmail.com, at 03/01/2010, 22:38:08
class Foo

{
    inline public static function foo(?p1:Bool = false, ?p2:Int = 0):Void
    {
    }
    public function new()
    {
        foo(false);
    }
}

error: In Flash9, null can't be used as basic type Int
compile with: haxe -swf9 Foo.swf Foo --no-inline

works if --no-inline is omitted or the inline keyword is removed from foo().

@issuesbot
Copy link
Author

[comment from franco.p...@gmail.com, published at 03/01/2010, 22:51:04]

@issuesbot
Copy link
Author

[comment from ncanna...@gmail.com, published at 24/01/2010, 12:47:53]
Can't reproduce with SVN version

@issuesbot
Copy link
Author

[comment from michaelbaczynski@gmail.com, published at 24/01/2010, 13:15:28]
I just checked it with the SVN version, the problem still exists:

haxe -swf9 Foo.swf Foo --no-inline
Foo.hx:11: characters 4-14 : In Flash9, null can't be used as basic type Int

@issuesbot
Copy link
Author

[comment from franco.p...@gmail.com, published at 24/01/2010, 14:19:26]
Tested too and Michael is right, the problem exists but on the contrary as reported
in the original issue it only appears when --no-inline is used.

@issuesbot
Copy link
Author

[comment from ncanna...@gmail.com, published at 24/01/2010, 16:40:02]

@issuesbot
Copy link
Author

[comment from ncanna...@gmail.com, published at 13/02/2010, 10:55:55]
Fixed on SVN, thanks for reporting

nadako pushed a commit that referenced this issue Apr 2, 2019
nadako pushed a commit that referenced this issue Apr 2, 2019
nadako pushed a commit that referenced this issue Apr 2, 2019
nadako pushed a commit that referenced this issue Apr 2, 2019
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