Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give nqp named anon methods #772

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Give nqp named anon methods #772

wants to merge 1 commit into from

Commits on May 17, 2022

  1. Give nqp named anon methods

    Allows for the following pattern:
    
    ```raku
    nqp::getstaticcode(
        anon method introspective() {
            nqp::die('nice callstack!')
        });
    ```
    
    Which would be *very* useful in Rakudo's bootstrapping, for instance.
    Many of Rakudo's core methods lack names on their code objects, which
    tends to be rather confusing for newcomers introspecting methods.
    Kaiepi committed May 17, 2022
    Configuration menu
    Copy the full SHA
    ef85aeb View commit details
    Browse the repository at this point in the history