Still reproducible (2017.11,HEAD(e5b660e)), with slightly different message:
===SORRY!=== Error while compiling -e Cannot invoke this object (REPR: Null; VMNull) at -e:1 On 2015-07-21 11:54:54, jns...@gellyfish.co.uk wrote: > multi trait_mod:<is>(Routine $r, :$foo!) { $r does Foo; }; class Bar { > method boom() is foo {}; }; > > Gives rise to ye olde: > > ===SORRY!=== Error while compiling -e > Cannot invoke this object (REPR: Null, cs = 0) > at -e:1 > > In fact any combination where a "type object" is used in this place > that isn't defined: > > multi trait_mod:<is>(Routine $r, :$foo!) { Bar }; sub boom is foo {} > > does the same. > > I thought that I had reported this before but it seems not. > > There seems to be a whole category of the errors being ignored and it > ploughing on in a broken state like this.