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

Add '.new()' suggestion to type object errors #1550

Conversation

MasterDuke17
Copy link
Contributor

Just for attribute binding and lookup though, since I believe those are
more likely arise from something like

class A {
    has $.b = 4;
}

say A.b;

compared to the similar errors when e.g., unboxing.

Passes NQP's make m-test and Rakudo's make m-test m-spectest.

Just for attribute binding and lookup though, since I believe those are
more likely arise from something like
```
class A {
    has $.b = 4;
}

say A.b;
```
compared to the similar errors when e.g., unboxing.
@MasterDuke17 MasterDuke17 merged commit 7e9f25d into MoarVM:master Sep 25, 2021
@MasterDuke17 MasterDuke17 deleted the add_.new_suggestion_to_cannot_look_up_attribute_error branch September 25, 2021 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants