Thanks, I've applied your patch, with a small modification: instead of + token infix:sym<.> { '.' <[\]\)\},:\s\$"']> I've used <sym>, as all the other operators do: + token infix:sym<.> { <sym> <[\]\)\},:\s\$"']>
> I'm wondering, if a testcase should be written to check for a helpful > error message? Would this kind of thing go in t/spec somehow? I've added one to t/spec/S32-exceptions/misc.t that checks for X::Obsolete. As for the other one, the proper way to test it is to change it to a typed exception, and check for the type. Cheers, Moritz