-
Notifications
You must be signed in to change notification settings - Fork 1
Optimization problem with is copy #3147
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
Comments
From @moritz09:56 < [0xF]> question #2: sub foo(Int $x is copy) { $x = 5; } f(1); This is a bug. 'is copy' should make sure there's always a container. Cheers, |
From @lizmat[14:28:22] <lizmat> r: sub a ( $a is copy ) { $a=5 }; a(1) While checking into this at the PLPW, it appears that this is an optimization problem. If rakudo is run with --optimize=0, this does not occur. Initial investigation points at src/vm/parrot/guts/bind.c, line 1104, where some optimization magic apparently is making the wrong decision. This seems to be up jnthn's alley :-) |
From @jnthnOn Sun May 26 05:33:34 2013, elizabeth wrote:
Fixed in Rakudo a6ac643, tested in roast 3b76c73. |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#118183 (status was 'resolved')
Searchable as RT118183$
The text was updated successfully, but these errors were encountered: