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

metamodel role invocant compilation bug. #4162

Closed
coke opened this issue Jan 8, 2021 · 2 comments
Closed

metamodel role invocant compilation bug. #4162

coke opened this issue Jan 8, 2021 · 2 comments
Assignees
Labels

Comments

@coke
Copy link
Collaborator

coke commented Jan 8, 2021

The Problem

my method a(Metamodel::PrivateMethodContainer: $obj) { ... }

Expected Behavior

Compile successfully

Actual Behavior

===SORRY!===
Cannot find method 'coercive' on object of type Archetypes

Steps to Reproduce

Environment

https://gist.github.com/Whateverable/68c5c4fdb1a2b168437329a6dbfd36bb

Shows this behavior changed recently. (The snippet shown in whateverable just shows when the compilation error started happening, it's not enough to compile successfully once the error is fixed)

Discovered by automated compilation testing in the documentation repository.

@vrurg
Copy link
Member

vrurg commented Jan 25, 2021

kaipei got there before me, Raku/nqp#694 should fix this issue when merged.

@vrurg
Copy link
Member

vrurg commented Feb 9, 2021

Closing as Raku/nqp#694 has been merged and NQP version bumped since then.

@vrurg vrurg closed this as completed Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants