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 parses 'say and die 3' as if the 'and' were infix #1571

Closed
p6rt opened this issue Mar 3, 2010 · 6 comments
Closed

Rakudo parses 'say and die 3' as if the 'and' were infix #1571

p6rt opened this issue Mar 3, 2010 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Mar 3, 2010

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

Searchable as RT73266$

@p6rt
Copy link
Author

p6rt commented Mar 3, 2010

From @masak

<masak> rakudo​: say and die 3
<p6eval> rakudo 4edd19​: OUTPUT«3␤current instr.​: '&die' [...]
<masak> std​: say and die 3
<p6eval> std 29930​: OUTPUT«Undeclared routine​:␤ 'and' used at line
1␤ok 00​:01 107m␤»
<masak> o.O
<diakopter> rakudo doesn't complain about 'and'
<diakopter> so it must be interpreting it as infix and
* masak submits rakudobug for 'say and'

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Oct 21, 2011

From @coke

No change in year+
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented May 28, 2012

From @coke

On Wed Mar 03 08​:32​:49 2010, masak wrote​:

<masak> rakudo​: say and die 3
<p6eval> rakudo 4edd19​: OUTPUT«3␤current instr.​: '&die' [...]
<masak> std​: say and die 3
<p6eval> std 29930​: OUTPUT«Undeclared routine​:␤ 'and' used at line
1␤ok 00​:01 107m␤»
<masak> o.O
<diakopter> rakudo doesn't complain about 'and'
<diakopter> so it must be interpreting it as infix and
* masak submits rakudobug for 'say and'

Behavior now matches std​:

say and die 3
CHECK FAILED​:
Undefined routine '&and' called (line 1)

Closable with tests.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 15, 2012

From @bbkr

Test in

Raku/roast@868d0c645f

@p6rt
Copy link
Author

p6rt commented Jul 15, 2012

@bbkr - 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