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 doesn't recognize postfixes if they have a dot before them #3219

Closed
p6rt opened this issue Aug 26, 2013 · 5 comments
Closed

Rakudo doesn't recognize postfixes if they have a dot before them #3219

p6rt opened this issue Aug 26, 2013 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Aug 26, 2013

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

Searchable as RT119473$

@p6rt
Copy link
Author

p6rt commented Aug 26, 2013

From @masak

<BenGoldberg> rn​: sub postfix​:<!>(Int $a) { [*] 1..$a }; say 5!; say 5.!
<camelia> niecza v24-88-g1f87209​: OUTPUT«120␤120␤»
<camelia> ..rakudo fe289b​: OUTPUT«===SORRY!===␤CHECK FAILED​:␤Undefined
routine '&postfix​:<.>' called (lines 1, 1)␤»
* masak submits rakudobug
<masak> std​: sub postfix​:<!>(Int $a) { [*] 1..$a }; say 5!; say 5.!
<camelia> std 06636e4​: OUTPUT«ok 00​:00 48m␤»

@p6rt
Copy link
Author

p6rt commented Oct 11, 2013

From @Mouq

Fixed​:
21​:17 <Mouq> r​: sub postfix​:<!>(Int $a) { [*] 1..$a }; say 5!; say 5.!
21​:17 <camelia> rakudo 50cecf​: OUTPUT«120␤120␤»

Related tests exist in S02-lexical-conventions/unspace.t

On Mon Aug 26 14​:48​:07 2013, masak wrote​:

<BenGoldberg> rn​: sub postfix​:<!>(Int $a) { [*] 1..$a }; say 5!; say 5.!
<camelia> niecza v24-88-g1f87209​: OUTPUT«120␤120␤»
<camelia> ..rakudo fe289b​: OUTPUT«===SORRY!===␤CHECK FAILED​:␤Undefined
routine '&postfix​:<.>' called (lines 1, 1)␤»
* masak submits rakudobug
<masak> std​: sub postfix​:<!>(Int $a) { [*] 1..$a }; say 5!; say 5.!
<camelia> std 06636e4​: OUTPUT«ok 00​:00 48m␤»

@p6rt
Copy link
Author

p6rt commented Oct 11, 2013

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

@p6rt
Copy link
Author

p6rt commented Oct 16, 2014

From @usev6

Since there was an postfix​:<!> operator defined in S13-overloading/operators.t I went ahead and added a test with .! (Raku/roast@11ec63aadd).

I'm closing this ticket now.

@p6rt p6rt closed this as completed Oct 16, 2014
@p6rt
Copy link
Author

p6rt commented Oct 16, 2014

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

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