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

WhateverCode loses topic inside given modifier #4663

Closed
p6rt opened this issue Oct 21, 2015 · 4 comments
Closed

WhateverCode loses topic inside given modifier #4663

p6rt opened this issue Oct 21, 2015 · 4 comments
Labels
Bug

Comments

@p6rt
Copy link

@p6rt p6rt commented Oct 21, 2015

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

Searchable as RT126413$

@p6rt
Copy link
Author

@p6rt p6rt commented Oct 21, 2015

From @TimToady

This works​:

p6 'given 10 { say (* + $_)(32) }'
42

but this doesn't​:

p6 'say (* + $_)(32) given 10'
Use of uninitialized value of type Any in numeric context in whatevercode
at -e​:1
32

@p6rt
Copy link
Author

@p6rt p6rt commented Jan 26, 2018

From @zoffixznet

On Tue, 20 Oct 2015 18​:11​:22 -0700, larry wrote​:

This works​:

p6 'given 10 { say (* + $_)(32) }'
42

but this doesn't​:

p6 'say (* + $_)(32) given 10'
Use of uninitialized value of type Any in numeric context in whatevercode
at -e​:1
32

Thank you for the report. This is now fixed.

Fix​: rakudo/rakudo@1ee89b5
Test​: Raku/roast@2f29987

@p6rt
Copy link
Author

@p6rt p6rt commented Jan 26, 2018

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

@p6rt
Copy link
Author

@p6rt p6rt commented Jan 26, 2018

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

@p6rt p6rt closed this Jan 26, 2018
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.