Skip Menu |
Report information
Id: 117193
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] Internal Parrot (imcc) error when trying to 'augment slang' on existing type in Rakudo
Date: Sun, 17 Mar 2013 11:03:52 +0100
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 931b
<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
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 1.3k
On Sun Mar 17 03:04:22 2013, masak wrote: Show quoted text
> <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
Download (untitled) / with headers
text/plain 317b
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␤»


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org