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

Partial fix of mixing in a role with attributes into a NQP class #3834

Merged
merged 2 commits into from Jul 31, 2020

Commits on Jul 30, 2020

  1. Don't use higher-level declares_method method

    It makes Attribute incompatible with Metamodel and other NQP classes via
    a mixin.
    
    `can` is to be avoided too because KnowHOW doesn't have it.
    vrurg committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    1b5f6b9 View commit details
    Browse the repository at this point in the history
  2. Fix exception code for KnowHOW compatibility

    In a rare case the exception can be thrown for a KnowHOW type object or
    instance. The problem is that method `methods` of KnowHOW returns not a
    list of code objects but the method table itself in a hash form.
    vrurg committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    9e51d01 View commit details
    Browse the repository at this point in the history