Skip to content

[Archetype builder] Clean up compareDependentTypes() #6917

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

Merged
merged 4 commits into from
Jan 19, 2017

Conversation

DougGregor
Copy link
Member

No description provided.

Start using this entrypoint when we have a specific associated
type. The eventual goal here is to create the invariant

  resolveArchetype(t)->getDependentType()->isEqual(t)

when t has fully-resolved DependentMemberTypes.
Be more tolerant of substitutions for erroneous types; the type
checker will diagnose these issues, but later code paths might still
form these substititions. Put in error types rather than crashing.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit 111b236 into swiftlang:master Jan 19, 2017
@DougGregor DougGregor deleted the compare-dependent-types branch January 19, 2017 21: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.

2 participants