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

.WHICH value changing in MoarVM #3414

Closed
p6rt opened this issue Jun 13, 2014 · 6 comments
Closed

.WHICH value changing in MoarVM #3414

p6rt opened this issue Jun 13, 2014 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Jun 13, 2014

Migrated from rt.perl.org#122095 (status was 'resolved')

Searchable as RT122095$

@p6rt
Copy link
Author

p6rt commented Jun 13, 2014

From pjablons@conncoll.edu

The value returned by .WHICH changes over time, even if no changes have been made to the object instance being queried.

class A {}; my $a = A.new(); my $w = $a.WHICH; my $good = True; for (0 .. 20000) { if ($a.WHICH ne $w) { $good = False; } }; say $good; # returns False if the value of $a.WHICH has changed

In some cases, the value returned by .WHICH will change as often as every 10-15 iterations.

VM​: MoarVM 2014.04
OS​: Fedora 20 x64

@p6rt
Copy link
Author

p6rt commented Oct 2, 2014

From @jnthn

On Thu Jun 12 17​:59​:17 2014, pjablons@​conncoll.edu wrote​:

The value returned by .WHICH changes over time, even if no changes
have been made to the object instance being queried.

class A {}; my $a = A.new(); my $w = $a.WHICH; my $good = True; for (0
.. 20000) { if ($a.WHICH ne $w) { $good = False; } }; say $good; #
returns False if the value of $a.WHICH has changed

In some cases, the value returned by .WHICH will change as often as
every 10-15 iterations.

VM​: MoarVM 2014.04
OS​: Fedora 20 x64

This one is fixed for some weeks now; tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Oct 2, 2014

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Feb 4, 2015

From @usev6

I added a tests to S04-statements/for.t with commit Raku/roast@b4b8ab1cf2

I'm closing this ticket now.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Feb 4, 2015

From @usev6

I added a tests to S04-statements/for.t with commit Raku/roast@b4b8ab1cf2

I'm closing this ticket now.

@p6rt
Copy link
Author

p6rt commented Feb 4, 2015

@usev6 - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Feb 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant