On Sat, 16 Sep 2017 08:46:00 -0700, barto...@gmx.de wrote: > Here is a simple example: > > $ ./perl6-j -e 'try { die "foo" }; say $!.perl; say $!.gist' > X::AdHoc.new(payload => "foo") > Died > in block <unit> at -e line 1
It looks like the 'Died' stems from this line: https://github.com/perl6/nqp/blob/862cde8ed431bce5aec64130737cfeafc10e7fc9/src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java#L5766 If I revert https://github.com/perl6/nqp/commit/d228c929f8 the above example works as expected. Also, 'make test' for nqp is clean and I the failures I've seen for $! in rakudo (e.g. S02-magicals/dollar_bang.t) are gone. (I'm unable to run 'make spectest', unfortunately.) Since I'm not completely sure, reverting nqp commit d228c929f8 is the right thing to do, I'll open a PR for that (maybe tomorrow).