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

Internal error when declaring a twigil in Rakudo #1644

Closed
p6rt opened this issue Mar 31, 2010 · 8 comments
Closed

Internal error when declaring a twigil in Rakudo #1644

p6rt opened this issue Mar 31, 2010 · 8 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 31, 2010

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

Searchable as RT73938$

@p6rt
Copy link
Author

p6rt commented Mar 31, 2010

From @masak

<diakopter> masak​: have you seen this one?
<diakopter> rakudo​: sub twigil​:<@​> {}; # masak​: sry for the delay
<p6eval> rakudo 872898​: OUTPUT«error​:imcc​:syntax error, unexpected '\n' [...]
* masak submits rakudobug
<masak> diakopter​: no, hadn't seen that one :)
<diakopter> lue gets most of the credit

@p6rt
Copy link
Author

p6rt commented Aug 3, 2010

From @bbkr

$ perl6 -e 'sub twigil​:<@​> {};'
===SORRY!===
Null PMC access in find_method('lineof')

$ perl6 -v

This is Rakudo Perl 6, version 2010.07-47-g9fd5eaa built on parrot 2.6.0

Copyright 2008-2010, The Perl Foundation

@p6rt
Copy link
Author

p6rt commented Aug 3, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 11, 2011

From @coke

On Wed Mar 31 14​:16​:33 2010, masak wrote​:

<diakopter> masak​: have you seen this one?
<diakopter> rakudo​: sub twigil​:<@​> {}; # masak​: sry for the delay
<p6eval> rakudo 872898​: OUTPUT�error​:imcc​:syntax error, unexpected
'\n' [...]
* masak submits rakudobug
<masak> diakopter​: no, hadn't seen that one :)
<diakopter> lue gets most of the credit

21​:10 < [Coke]> rakudo​: sub twigil​:<@​> {}; say "alive!"
21​:10 <+p6eval> rakudo 38907e​: OUTPUT«alive!␤»

Closable with tests.
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Mar 29, 2013

From @coke

On Mon Oct 10 18​:11​:11 2011, coke wrote​:

On Wed Mar 31 14​:16​:33 2010, masak wrote​:

<diakopter> masak​: have you seen this one?
<diakopter> rakudo​: sub twigil​:<@​> {}; # masak​: sry for the delay
<p6eval> rakudo 872898​: OUTPUT�error​:imcc​:syntax error, unexpected
'\n' [...]
* masak submits rakudobug
<masak> diakopter​: no, hadn't seen that one :)
<diakopter> lue gets most of the credit

21​:10 < [Coke]> rakudo​: sub twigil​:<@​> {}; say "alive!"
21​:10 <+p6eval> rakudo 38907e​: OUTPUT«alive!␤»

Closable with tests.

No test, so behavior changed​:

00​:32 < [Coke]> rn​: sub twigil​:<@​> {}; say "alive"; #RT #​73938

00​:32 <+p6eval> rakudo 9bf180​: OUTPUT«===SORRY!===␤Cannot add tokens of
  category 'twigil'␤at /tmp/ahlR_BN_UA​:1␤------> sub twigil​:<@​>
  ⏏{}; say "alive"; #RT #​73938␤ expecting any of​:␤
  colon pair␤ quote words␤»

... What is the expected behavior here again? Is this non-internal error desired?

00​:32 < sorear> I...think rakudo is right?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Mar 29, 2013

From @moritz

On Thu Mar 28 21​:34​:55 2013, coke wrote​:

00​:32 < [Coke]> rn​: sub twigil​:<@​> {}; say "alive"; #RT #​73938

00​:32 <+p6eval> rakudo 9bf180​: OUTPUT«===SORRY!===␤Cannot add tokens
of
category 'twigil'␤at /tmp/ahlR_BN_UA​:1␤------> sub
twigil​:<@​>
⏏{}; say "alive"; #RT #​73938␤ expecting any of​:␤
colon pair␤ quote words␤»

... What is the expected behavior here again? Is this non-internal
error desired?

Yes.

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Nov 9, 2013

From @FROGGS

Test​: Raku/roast@72e40a8b19

@p6rt
Copy link
Author

p6rt commented Nov 9, 2013

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

@p6rt p6rt closed this as completed Nov 9, 2013
@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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant