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

187 bug type error with self in function argument #188

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

mrodz
Copy link
Owner

@mrodz mrodz commented Mar 26, 2024

  • Added specificity to the internal type ClassSelf that allows the compiler to bind a class type to a Self type in cases where this is ambiguous.
  • Allowed ClassSelf to be more permissive in some cases and less permissive in others.
  • Improved an error message to always tell what Self stands for when dealing with function arguments.

@mrodz mrodz linked an issue Mar 26, 2024 that may be closed by this pull request
5 tasks
@mrodz mrodz merged commit 612e59b into master Mar 26, 2024
1 check passed
@mrodz mrodz deleted the 187-bug-type-error-with-self-in-function-argument branch March 29, 2024 02:08
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.

[bug] Type error with Self in function argument
1 participant