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

Support importing associated constant declarations #4794

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

josh11b
Copy link
Contributor

@josh11b josh11b commented Jan 11, 2025

No description provided.

library "[[@TEST_NAME]]";
import library "interface";

impl () as I where .T = {} { }
Copy link
Contributor

Choose a reason for hiding this comment

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

This test will stop working once we implement the orphan rule. Maybe define a class in this file and implement the interface for it instead? (Likewise below.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@josh11b josh11b enabled auto-merge January 13, 2025 19:11
@josh11b josh11b added this pull request to the merge queue Jan 13, 2025
Merged via the queue into carbon-language:trunk with commit 3a44b65 Jan 13, 2025
8 checks passed
@josh11b josh11b deleted the import branch January 13, 2025 19: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.

2 participants