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

[eval] Max input for Std.random? #9974

Closed
kevinresol opened this issue Dec 1, 2020 · 0 comments
Closed

[eval] Max input for Std.random? #9974

kevinresol opened this issue Dec 1, 2020 · 0 comments
Labels
bug platform-eval Everything related to the Haxe 4 eval macro interpreter

Comments

@kevinresol
Copy link
Contributor

kevinresol commented Dec 1, 2020

class Main {
    static function main() {
        trace(Std.random((1<<30)-1)); // ok
        trace(Std.random(1<<30)); // Invalid_argument("Random.int") on eval, other targets ok
    }
}
@RealyUniqueName RealyUniqueName added this to the Hotfix milestone Dec 1, 2020
@RealyUniqueName RealyUniqueName added bug platform-eval Everything related to the Haxe 4 eval macro interpreter labels Dec 1, 2020
@RealyUniqueName RealyUniqueName modified the milestones: Hotfix, Bugs Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug platform-eval Everything related to the Haxe 4 eval macro interpreter
Projects
None yet
Development

No branches or pull requests

2 participants