Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created October 3, 2019 19:09
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 Whateverable/85ccd0c7ec7e546ee368b54a5e950774 to your computer and use it in GitHub Desktop.
Save Whateverable/85ccd0c7ec7e546ee368b54a5e950774 to your computer and use it in GitHub Desktop.
evalable6
run <<$*EXECUTABLE --profile -Ilib sandbox/roast/S03-operators/repeat.t>>
(exit code 1)
1..62
ok 1 - string repeat operator works on single character
ok 2 - string repeat operator works on multiple character
ok 3 - number repeat operator works on number and creates string
ok 4 - repeating an empty string creates an empty string
ok 5 - repeating zero times produces an empty string
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was:
Cannot convert string to number: base-10 number must begin with valid digits or '.' in '⏏b' (indicated by ⏏)
ok 6 - repeating negative times produces an empty string
ok 7 - repeating with a fractional number coerces to Int
Use of uninitialized value of type Int in numeric context
in block <unit> at sandbox/roast/S03-operators/repeat.t line 24
ok 8 - x with Int type object
1..2
at gen/moar/Optimizer.nqp:1962 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:)
from gen/moar/Optimizer.nqp:1907 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:optimize_call)
from gen/moar/Optimizer.nqp:1706 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_op)
from gen/moar/Optimizer.nqp:2859 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_children)
from gen/moar/Optimizer.nqp:2602 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_want)
from gen/moar/Optimizer.nqp:2865 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_children)
from gen/moar/Optimizer.nqp:2877 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_children)
from gen/moar/Optimizer.nqp:2873 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_children)
from gen/moar/Optimizer.nqp:2877 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_children)
from gen/moar/Optimizer.nqp:1123 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:visit_block)
from gen/moar/Optimizer.nqp:1071 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Optimizer.moarvm:optimize)
from gen/moar/Compiler.nqp:68 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Compiler.moarvm:optimize)
from gen/moar/stage2/NQPHLL.nqp:2181 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:execute_stage)
from gen/moar/stage2/NQPHLL.nqp:2211 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:run)
from gen/moar/stage2/NQPHLL.nqp:2220 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:)
from gen/moar/stage2/NQPHLL.nqp:2239 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:compile)
from SETTING::src/core.c/ForeignCode.pm6:74 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/runtime/CORE.c.setting.moarvm:EVAL)
from core#sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test):614 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/core/precomp/35A980BDFC2FB14F9DD85AB92931665FE53164C3/2D/2D4A7CA10695CD2B374573413D261A660E282E2A:)
from core#sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test):616 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/core/precomp/35A980BDFC2FB14F9DD85AB92931665FE53164C3/2D/2D4A7CA10695CD2B374573413D261A660E282E2A:)
from core#sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test):420 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/core/precomp/35A980BDFC2FB14F9DD85AB92931665FE53164C3/2D/2D4A7CA10695CD2B374573413D261A660E282E2A:)
from core#sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test):427 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/core/precomp/35A980BDFC2FB14F9DD85AB92931665FE53164C3/2D/2D4A7CA10695CD2B374573413D261A660E282E2A:subtest)
from core#sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test):409 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/core/precomp/35A980BDFC2FB14F9DD85AB92931665FE53164C3/2D/2D4A7CA10695CD2B374573413D261A660E282E2A:subtest)
from core#sources/2D4A7CA10695CD2B374573413D261A660E282E2A (Test):606 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/core/precomp/35A980BDFC2FB14F9DD85AB92931665FE53164C3/2D/2D4A7CA10695CD2B374573413D261A660E282E2A:throws-like)
from sandbox/roast/S03-operators/repeat.t:27 (<ephemeral file>:)
from sandbox/roast/S03-operators/repeat.t:45 (<ephemeral file>:<unit>)
from sandbox/roast/S03-operators/repeat.t:1 (<ephemeral file>:<unit-outer>)
from gen/moar/stage2/NQPHLL.nqp:1904 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:)
from gen/moar/stage2/NQPHLL.nqp:161 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:run_profiled)
from gen/moar/stage2/NQPHLL.nqp:1903 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:2116 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:evalfiles)
from gen/moar/stage2/NQPHLL.nqp:2046 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:command_eval)
from gen/moar/Compiler.nqp:55 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/lib/Perl6/Compiler.moarvm:command_eval)
from gen/moar/stage2/NQPHLL.nqp:2001 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/nqp/lib/NQPHLL.moarvm:command_line)
from gen/moar/perl6.nqp:126 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/runtime/perl6.moarvm:MAIN)
from gen/moar/perl6.nqp:91 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/runtime/perl6.moarvm:<mainline>)
from <unknown>:1 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/runtime/perl6.moarvm:<main>)
from <unknown>:1 (/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/share/perl6/runtime/perl6.moarvm:<entry>)
MoarVM panic: Profiler lost sequence
The spawned command '/tmp/whateverable/rakudo-moar/168c9c2fbe60eb802d139e35b218e4bfb40e7665/bin/perl6' exited unsuccessfully (exit code: 1, signal: 0)
in block <unit> at /tmp/YylxcoKkm7 line 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment