Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Offload symbol lookup onto Raku code
And get rid of `find_exception` method. I don't see areason why metamodel code should implement what Raku does better. Added `&sym_lookup` local of Perl6::Metamodel::Configuration and a method to register a lookup routine. Now `throw_or_die` uses registration of the routine as a flag to start using core exception classes instead of plain `nqp::die`.
- Loading branch information
Showing
2 changed files
with
13 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters