Have you tried with MVM_SPESH_DISABLE=1 and friends?
> On 08 Jul 2016, at 22:56, Christian Bartolomaeus (via RT) > <perl6-bugs-follo...@perl.org> wrote: > > # New Ticket Created by Christian Bartolomaeus > # Please include the string: [perl #128580] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=128580 > > > > Currently there is a weird error while running S32-str/comb.t on rakudo-j. > For some reason the test file aborts after 39 tests with the message 'Type > check failed in binding $pat; expected Regex but got Str ("o")'. > > Test number 40 runs just fine standalone: > > $ perl6-j -Ilib -e 'use Test; is comb("o","ooo"), <o o o>' > ok 1 - > > I tried to golf the problem down and that's what I arrived at: > > $ > Foo.pm6 > $ ./perl6-j -I. -e 'use Foo; "f".comb; "o".comb("o")' > Type check failed in binding $pat; expected Regex but got Str ("o") > in block <unit> at -e line 1 > > So the problem seems to be related to module loading and it happens during > that second call of method comb.