Skip to content

Instantly share code, notes, and snippets.

@vti
Last active August 29, 2015 14:10
Show Gist options
  • Save vti/e4af50e401f0462f6274 to your computer and use it in GitHub Desktop.
Save vti/e4af50e401f0462f6274 to your computer and use it in GitHub Desktop.
class Foo {
method foo () {
ROUTE: for ^1 {
}
}
}
===SORRY!===
This type cannot unbox to a native string
at src/gen/m-CORE.setting:10407 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/CORE.setting.moarvm:new:82)
from src/Perl6/Grammar.nqp:1191 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:label:300)
from src/Perl6/Grammar.nqp:1203 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statement:207)
from src/Perl6/Grammar.nqp:1142 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statementlist:231)
from src/Perl6/Grammar.nqp:1290 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:blockoid:193)
from src/Perl6/Grammar.nqp:2502 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:method_def:1665)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:routine_declarator:sym<method>:147)
from gen/moar/stage2/QRegex.nqp:810 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/QRegex.moarvm:!protoregex:110)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:routine_declarator:10)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:term:sym<routine_declarator>:57)
from gen/moar/stage2/QRegex.nqp:810 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/QRegex.moarvm:!protoregex:110)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:term:10)
from src/Perl6/Grammar.nqp:3429 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:termish:242)
from gen/moar/stage2/NQPHLL.nqp:643 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:EXPR:75)
from src/Perl6/Grammar.nqp:3460 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:EXPR:24)
from src/Perl6/Grammar.nqp:1205 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statement:355)
from src/Perl6/Grammar.nqp:1142 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statementlist:231)
from src/Perl6/Grammar.nqp:1290 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:blockoid:193)
from src/Perl6/Grammar.nqp:2238 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:package_def:2254)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:package_declarator:sym<class>:175)
from gen/moar/stage2/QRegex.nqp:810 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/QRegex.moarvm:!protoregex:110)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:package_declarator:10)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:term:sym<package_declarator>:57)
from gen/moar/stage2/QRegex.nqp:810 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/QRegex.moarvm:!protoregex:110)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:term:10)
from src/Perl6/Grammar.nqp:3429 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:termish:242)
from gen/moar/stage2/NQPHLL.nqp:643 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:EXPR:75)
from src/Perl6/Grammar.nqp:3460 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:EXPR:24)
from src/Perl6/Grammar.nqp:1205 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statement:355)
from src/Perl6/Grammar.nqp:1142 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statementlist:231)
from gen/moar/stage2/NQPHLL.nqp:851 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:LANG:146)
from src/Perl6/Grammar.nqp:1513 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:FOREIGN_LANG:67)
from src/Perl6/Grammar.nqp:1079 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:comp_unit:2652)
from src/Perl6/Grammar.nqp:350 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:TOP:484)
from gen/moar/stage2/QRegex.nqp:1402 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/QRegex.moarvm:parse:44)
from gen/moar/stage2/NQPHLL.nqp:1510 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:parse:80)
from gen/moar/stage2/NQPHLL.nqp:1466 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:compile:197)
from src/gen/m-ModuleLoader.nqp:261 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/ModuleLoader.moarvm::115)
from src/gen/m-ModuleLoader.nqp:230 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/ModuleLoader.moarvm::179)
from src/gen/m-ModuleLoader.nqp:212 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/ModuleLoader.moarvm:load_module:404)
from src/gen/m-CORE.setting:22262 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/CORE.setting.moarvm::290)
from src/gen/m-CORE.setting:18979 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/CORE.setting.moarvm:protect:49)
from src/gen/m-CORE.setting:22251 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/CORE.setting.moarvm:load_module:81)
from src/Perl6/World.nqp:344 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/World.moarvm:load_module:44)
from src/Perl6/Grammar.nqp:1499 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statement_control:sym<use>:1335)
from gen/moar/stage2/QRegex.nqp:810 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/QRegex.moarvm:!protoregex:110)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statement_control:10)
from src/Perl6/Grammar.nqp:1205 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statement:325)
from src/Perl6/Grammar.nqp:1142 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:statementlist:231)
from gen/moar/stage2/NQPHLL.nqp:851 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:LANG:146)
from src/Perl6/Grammar.nqp:1513 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:FOREIGN_LANG:67)
from src/Perl6/Grammar.nqp:1079 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:comp_unit:2652)
from src/Perl6/Grammar.nqp:350 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Grammar.moarvm:TOP:484)
from gen/moar/stage2/QRegex.nqp:1402 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/QRegex.moarvm:parse:44)
from gen/moar/stage2/NQPHLL.nqp:1510 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:parse:80)
from gen/moar/stage2/NQPHLL.nqp:1466 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:compile:197)
from gen/moar/stage2/NQPHLL.nqp:1213 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:eval:53)
from gen/moar/stage2/NQPHLL.nqp:1423 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:evalfiles:87)
from gen/moar/stage2/NQPHLL.nqp:1326 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:command_eval:211)
from src/Perl6/Compiler.nqp:17 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/Perl6/Compiler.moarvm:command_eval:93)
from gen/moar/stage2/NQPHLL.nqp:1301 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/nqp/lib/NQPHLL.moarvm:command_line:116)
from src/gen/m-main.nqp:39 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/perl6.moarvm:MAIN:18)
from src/gen/m-main.nqp:35 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/perl6.moarvm:<mainline>:197)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/perl6.moarvm:<main>:8)
from <unknown>:1 (/home/vti/dev/perl6/rakudo-star-2014.09/install/languages/perl6/runtime/perl6.moarvm:<entry>:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment