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 compiler error when trying to 'augment slang' on existing type in Rakudo #3072

Open
p6rt opened this issue Mar 17, 2013 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 17, 2013

Migrated from rt.perl.org#117193 (status was 'open')

Searchable as RT117193$

@p6rt
Copy link
Author

p6rt commented Mar 17, 2013

From @masak

<FROGGS> moritz​: where would I find something about slangs in the synopsis?
<moritz> probably S02 or so
<FROGGS> ahh, found it http://perlcabal.org/syn/S02.html#Slangs
<FROGGS> r​: use MONKEY_TYPING; augment slang Regex { token numish { } };
<p6eval> rakudo d98dd5​: OUTPUT«use of uninitialized value of type Mu
in string context␤use of uninitialized value of type Mu in string
context␤===SORRY!===␤error​:imcc​:Sub 'cuid_3_1363514278.31078' not
found␤␤ in file '(file unknown)' line 120␤»
<moritz> r​: use MONKEY_TYPING; augment slang Perl6 { };
<p6eval> rakudo d98dd5​: OUTPUT«===SORRY!===␤You tried to augment slang
Perl6, but it does not exist␤at /tmp/fFehxhhg23​:1␤------> use
MONKEY_TYPING; augment slang Perl6 ⏏{ };␤ expecting any of​:␤
scoped declarator␤ generic role␤»
<FROGGS> ahh, looks like only packages are supported right now
* masak submits rakudobug for the internal Parrot error

@p6rt
Copy link
Author

p6rt commented Feb 17, 2015

From @coke

On Sun Mar 17 03​:04​:22 2013, masak wrote​:

<FROGGS> moritz​: where would I find something about slangs in the synopsis?
<moritz> probably S02 or so
<FROGGS> ahh, found it http://perlcabal.org/syn/S02.html#Slangs
<FROGGS> r​: use MONKEY_TYPING; augment slang Regex { token numish { } };
<p6eval> rakudo d98dd5​: OUTPUT«use of uninitialized value of type Mu
in string context␤use of uninitialized value of type Mu in string
context␤===SORRY!===␤error​:imcc​:Sub 'cuid_3_1363514278.31078' not
found␤␤ in file '(file unknown)' line 120␤»
<moritz> r​: use MONKEY_TYPING; augment slang Perl6 { };
<p6eval> rakudo d98dd5​: OUTPUT«===SORRY!===␤You tried to augment slang
Perl6, but it does not exist␤at /tmp/fFehxhhg23​:1␤------> use
MONKEY_TYPING; augment slang Perl6 ⏏{ };␤ expecting any of​:␤
scoped declarator␤ generic role␤»
<FROGGS> ahh, looks like only packages are supported right now
* masak submits rakudobug for the internal Parrot error

00​:50 < [Coke]> r​: use MONKEY_TYPING; augment slang Regex { token numish { } };
00​:50 <+camelia> rakudo-{parrot,moar} d99fe0​: OUTPUT«===SORRY!=== Error while
  compiling /tmp/tmpfile␤Null regex not allowed␤at
  /tmp/tmpfile​:1␤------> G; augment slang Regex { token numish {
  ⏏} };␤»

This seems reasonable. Closable with tests?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Feb 17, 2015

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

@p6rt
Copy link
Author

p6rt commented Feb 21, 2015

From @FROGGS

Sadly not, see​:

FROGGS_​: r​: use MONKEY_TYPING; augment slang Regex { token numish { \d+ } };
camelia​: rakudo-parrot 114659​: OUTPUT«===SORRY!===␤Could not find sub cuid_1_1424505771.58768␤»
camelia​: ..rakudo-moar 114659​: OUTPUT«===SORRY!===␤QAST​::Block with cuid cuid_1_1424505772.89936 has not appeared␤»

@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