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

[Truffle] Error flattening array in Graal #3684

Closed
bjfish opened this issue Feb 18, 2016 · 5 comments
Closed

[Truffle] Error flattening array in Graal #3684

bjfish opened this issue Feb 18, 2016 · 5 comments
Milestone

Comments

@bjfish
Copy link
Contributor

bjfish commented Feb 18, 2016

Environment

Graal 0.10

2000.times { |i|
[["~> 4.3"]].flatten
}
puts "Done"

Expected Behavior

Done
in Truffle (no Graal) and JRuby

Actual Behavior

JAVACMD=/GraalVM-0.10/jre/bin/javao ../jruby/bin/jruby -X+T -Xtruffle.exceptions.print_java=true flatten.rb 
/flatten.rb:2:in `recursively_flatten': tried to flatten recursive array (ArgumentError)
    from /flatten.rb:2:in `flatten'
    from /flatten.rb:2:in `block in <main>'
    from /flatten.rb:1:in `times'
    from /flatten.rb:1:in `<main>'

Used in rubygems.

@bjfish bjfish added the truffle label Feb 18, 2016
@chrisseaton chrisseaton added this to the truffle-dev milestone Feb 19, 2016
@eregon
Copy link
Member

eregon commented Feb 23, 2016

Graal 0.1 ? 0.10 maybe?

@bjfish
Copy link
Contributor Author

bjfish commented Feb 23, 2016

@eregon Yes, I meant 0.10

@nirvdrum
Copy link
Contributor

nirvdrum commented May 4, 2016

I can't reproduce this with df26e2c on GraalVM 0.11.

@bjfish
Copy link
Contributor Author

bjfish commented May 5, 2016

@nirvdrum I'll close it then.

@bjfish bjfish closed this as completed May 5, 2016
@nirvdrum
Copy link
Contributor

nirvdrum commented May 5, 2016

No worries. I left it open just to make sure I wasn't doing something wrong.

@enebo enebo added this to the Non-Release milestone Dec 7, 2017
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

5 participants