Skip to content

Instantly share code, notes, and snippets.

@zoffixznet
Created December 18, 2016 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/61122e721c0563c5b8e7b2bc3a899681 to your computer and use it in GitHub Desktop.
Save zoffixznet/61122e721c0563c5b8e7b2bc3a899681 to your computer and use it in GitHub Desktop.
zoffix@VirtualBox:~$ perl6 --ll-exception -e 'subset InfTan of Numeric where $_ == 2; multi tan (InfTan) {"hah"}; say tan(2)'
Cannot invoke this object (REPR: Null; VMNull)
at <unknown>:1 (<ephemeral file>:)
from SETTING::src/core/Code.pm:7 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm:ACCEPTS)
from gen/moar/Metamodel.nqp:3435 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Metamodel.moarvm:accepts_type)
from SETTING::src/core/Mu.pm:17 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm:ACCEPTS)
from gen/moar/BOOTSTRAP.nqp:496 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm:bind_one_param)
from gen/moar/BOOTSTRAP.nqp:776 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm:bind)
from gen/moar/BOOTSTRAP.nqp:950 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm:)
from -e:1 (<ephemeral file>:tan)
from gen/moar/BOOTSTRAP.nqp:948 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm:is_bindable)
from gen/moar/BOOTSTRAP.nqp:2348 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm:)
from SETTING::src/core/Numeric.pm:85 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/CORE.setting.moarvm:tan)
from -e:1 (<ephemeral file>:<unit>)
from -e:1 (<ephemeral file>:<unit-outer>)
from gen/moar/stage2/NQPHLL.nqp:1536 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1626 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:)
from gen/moar/stage2/NQPHLL.nqp:1623 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:command_eval)
from src/Perl6/Compiler.nqp:27 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/Perl6/Compiler.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:1607 (/home/zoffix/.rakudobrew/moar-nom/install/share/nqp/lib/NQPHLL.moarvm:command_line)
from gen/moar/main.nqp:47 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm:MAIN)
from gen/moar/main.nqp:38 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm:<mainline>)
from <unknown>:1 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm:<main>)
from <unknown>:1 (/home/zoffix/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm:<entry>)
zoffix@VirtualBox:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment