On Thu, 11 Jan 2018 23:40:54 -0800, comdog wrote: > I stupidly did this: > > sub prefix:<²> ( Int:D \m --> Int:D ) > is assoc<right> > { m ** m } > > put ²(²2); > > And got this error: > > ===SORRY!=== > MVMArray: Can't pop from an empty array > > I figure that associativity doesn't make any sense for unary prefix > operators but that error message is from pretty deep in the swamp. I'd > rather have something like "Don't do stupid things that make no sense" > sort of error.
This looks to be the same issue as RT#131099. It lists a potential fix that fails compilation: https://rt.perl.org/Ticket/Display.html?id=131099#txn-1455809