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

Allow simple uses of Self in impls. #3824

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

zygoloid
Copy link
Contributor

Per #3714, some of the details here are not yet settled. In particular, we might want Self to come into scope at the start of the definition, not at the as keyword. However, this change allows us to accept the uncontroversial examples.

Per carbon-language#3714, some of the details here are not yet settled. In particular,
we might want `Self` to come into scope at the start of the definition,
not at the `as` keyword. However, this change allows us to accept the
uncontroversial examples.
Copy link
Contributor

@jonmeow jonmeow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@jonmeow jonmeow added this pull request to the merge queue Mar 27, 2024
Merged via the queue into carbon-language:trunk with commit e8cc089 Mar 27, 2024
9 checks passed
@zygoloid zygoloid deleted the toolchain-impl-self branch April 9, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants