Weird errors caused by making Rakudo::Internals Uninstantiable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/core/core_prologue.pm b/src/core/core_prologue.pm | |
| index 3d5ddcc..15ac8a4 100644 | |
| --- a/src/core/core_prologue.pm | |
| +++ b/src/core/core_prologue.pm | |
| @@ -5,7 +5,7 @@ my class HyperWhatever { ... } | |
| my class WhateverCode { ... } | |
| my class Cursor { ... } | |
| my class Failure { ... } | |
| -my class Rakudo::Internals { ... } | |
| +my class Rakudo::Internals is repr('Uninstantiable') { ... } | |
| # Stub these or we can't use any sigil other than $. | |
| my role Positional { ... } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ 6l 'Pair.new("a",42).perl' | |
| Cannot call perl(Pair: Any); none of these signatures match: | |
| (Mu:U $: *%_) | |
| (Mu:D $: *%_) | |
| (Pair:D $: :$arglist, *%_) | |
| at gen/moar/m-CORE.setting:18084 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm:throw:186) | |
| from gen/moar/m-CORE.setting:20118 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm::48) | |
| from gen/moar/m-BOOTSTRAP.nqp:2322 (blib/Perl6/BOOTSTRAP.moarvm::718) | |
| from gen/moar/m-CORE.setting:1196 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm:perl:36) | |
| from gen/moar/m-CORE.setting:15165 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm::42) | |
| from gen/moar/m-CORE.setting:15165 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm:perl:81) | |
| from gen/moar/m-CORE.setting:1196 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm:perl:39) | |
| from -e:1 (<ephemeral file>:<unit>:34) | |
| from -e:1 (<ephemeral file>:<unit-outer>:10) | |
| from gen/moar/stage2/NQPHLL.nqp:1294 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:eval:190) | |
| from gen/moar/stage2/NQPHLL.nqp:1384 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm::35) | |
| from gen/moar/stage2/NQPHLL.nqp:1381 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:command_eval:155) | |
| from src/Perl6/Compiler.nqp:65 (blib/Perl6/Compiler.moarvm:command_eval:93) | |
| from gen/moar/stage2/NQPHLL.nqp:1365 (/Users/liz/Github/rakudo.moar/install/share/nqp/lib/NQPHLL.moarvm:command_line:114) | |
| from gen/moar/m-main.nqp:39 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/perl6.moarvm:MAIN:18) | |
| from gen/moar/m-main.nqp:35 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/perl6.moarvm:<mainline>:197) | |
| from <unknown>:1 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/perl6.moarvm:<main>:8) | |
| from <unknown>:1 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/perl6.moarvm:<entry>:9) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment