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] Array#hash error with recursive arrays #2757

Closed
bjfish opened this issue Mar 25, 2015 · 1 comment
Closed

[Truffle] Array#hash error with recursive arrays #2757

bjfish opened this issue Mar 25, 2015 · 1 comment
Milestone

Comments

@bjfish
Copy link
Contributor

bjfish commented Mar 25, 2015

I get the following error when running the following code:
Code:

a = [1, 'two', 3.0]
5.times { a << a }
a
a.hash

Expected (hash value):

170595643093628540

Actual:

core:/core/rubinius/common/array.rb:138:in `initialize':  (Thread::InnerRecursionDetected)
    from core:/core/rubinius/common/array.rb:138:in `raise'
    from core:/core/rubinius/common/array.rb:138:in `hash'
    from core:/core/rubinius/common/array.rb:145:in `block in hash'
    from core:/core/rubinius/common/array.rb:145:in `each'
    from core:/core/rubinius/common/array.rb:145:in `hash'
    from rang.rb:4:in `<main>'
@chrisseaton chrisseaton added this to the truffle-dev milestone Mar 25, 2015
@chrisseaton
Copy link
Contributor

Must be a problem with our recursive_objects stuff - I'm going to take a guess something to do with the exceptions as we don't have much that exercises that.

@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

3 participants