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

(1,2,3).Array[0]++ dies with no rw candidate #6009

Closed
p6rt opened this issue Jan 18, 2017 · 5 comments
Closed

(1,2,3).Array[0]++ dies with no rw candidate #6009

p6rt opened this issue Jan 18, 2017 · 5 comments
Labels
regression Issue did not exist previously testneeded

Comments

@p6rt
Copy link

p6rt commented Jan 18, 2017

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

Searchable as RT130583$

@p6rt
Copy link
Author

p6rt commented Jan 18, 2017

From @zoffixznet

17​:09 brokenchicken bisect​: (1,2,3).Array[0]++
17​:09 bisectable6 brokenchicken, Bisecting by exit code (old=2015.12 new=fa36f8f). Old exit code​: 0
17​:09 brokenchicken, bisect log​: https://gist.github.com/f913​47264071e248ff25f7f7cb01f917
17​:09 brokenchicken, (2017-01-12) rakudo/rakudo@​fab1a14f7997be923544b8a2e22865a04441bd21

@p6rt
Copy link
Author

p6rt commented Jan 18, 2017

From @zoffixznet

Clickable link to bisectable commit​: rakudo/rakudo@fab1a14

<ZoffixW> star​: say (1,2,3).Array[0]++
<camelia> star-m 2016.10​: OUTPUT«1␤»
<ZoffixW> m​: say (1,2,3).Array[0]++
<camelia> rakudo-moar 35a3c0​: OUTPUT«Cannot resolve caller postfix​:<++>(Int); the following candidates␤match the type but require mutable arguments​:␤ (Mu​:D $a is rw)␤ (Int​:D $a is rw)␤␤The following do not match for other reasons​:␤ (Bool​:D $a is rw)␤ (Bool​:U $a is rw…»

@p6rt
Copy link
Author

p6rt commented Jan 18, 2017

From @zoffixznet

Fixed in rakudo/rakudo@ae050f998a

@p6rt
Copy link
Author

p6rt commented Jan 19, 2017

From @zoffixznet

Tests in Raku/roast@890ca310e7

@p6rt p6rt closed this as completed Jan 19, 2017
@p6rt
Copy link
Author

p6rt commented Jan 19, 2017

@zoffixznet - Status changed from 'new' to 'resolved'

@p6rt p6rt added regression Issue did not exist previously testneeded labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Issue did not exist previously testneeded
Projects
None yet
Development

No branches or pull requests

1 participant