Raku / nqp

NQP
Other
341 stars 131 forks source link

[JVM] Work around error for back-references #809

Closed usev6 closed 1 year ago

usev6 commented 1 year ago

... with aliases. For some reasons calling &has_aliased_names fails with an external error: https://github.com/Raku/nqp/issues/808.

The special-cased code for the JVM backend mimics the checks that are otherwise done in a single conditional (which includes a call to has_aliased_names).

usev6 commented 1 year ago

I'm inclined to merge this, since this helps with a problem on the JVM backend and shouldn't affect the other backends.

I'll wait for some more days, though.