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

Rakudo misinterprets calls to subs with names beginning with "my" as malformed my declaration. #2110

Closed
p6rt opened this issue Aug 30, 2010 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Aug 30, 2010

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

Searchable as RT77528$

@p6rt
Copy link
Author

p6rt commented Aug 30, 2010

From ekiru.0@gmail.com

[12​:47pm] tylercurtis​: rakudo​: sub my-foo {...}; my-foo;
[12​:47pm] p6eval​: rakudo 6ccdcd​: OUTPUT«===SORRY!===␤Malformed my at
line 22, near "-foo;"␤»
[12​:48pm] tylercurtis​: rakudo​: sub my_foo {...}; my_foo;
[12​:48pm] p6eval​: rakudo 6ccdcd​: ( no output )
[12​:52pm] tylercurtis​: std​: sub my-foo {...}; my-foo;
[12​:52pm] p6eval​: std 32118​: OUTPUT«ok 00​:01 115m␤»
[12​:52pm] tylercurtis​: rakudobug?
[12​:53pm] moritz_​: indeed
[12​:54pm] • tylercurtis submits.
[12​:55pm] colomon​: rakudo​: sub my-foo {...}
[12​:55pm] p6eval​: rakudo 6ccdcd​: ( no output )
[12​:55pm] colomon​: rakudo​: my-foo;
[12​:55pm] p6eval​: rakudo 6ccdcd​: OUTPUT«===SORRY!===␤Malformed my at
line 22, near "-foo;"␤»

--
Tyler Curtis

@p6rt
Copy link
Author

p6rt commented Jan 7, 2011

From @Kodiologist

Fixed in 71328bdf5; tests in S02-names_and_variables/names.t (roast
039f3b1ed1f).

@p6rt
Copy link
Author

p6rt commented Jan 7, 2011

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

@p6rt p6rt closed this as completed Jan 7, 2011
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

1 participant