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
TypeCheckType: Fix some bugs in the any
syntax checker
#72659
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as duplicate.
This comment was marked as duplicate.
d0db092
to
4290cea
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
4290cea
to
de2ea64
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
de2ea64
to
56f7e97
Compare
@swift-ci please smoke test macOS |
@slavapestov @hborla ping |
56f7e97
to
6aca4f2
Compare
6aca4f2
to
a01a285
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have incorporated the tests I deleted here into test/type/explicit_existential.swift
and test/type/explicit_existential_swift6.swift
@swift-ci please smoke test Linux |
a01a285
to
be273c3
Compare
// expected-note@-1 2 {{protocol 'CircleMiddle' declared here}} | ||
protocol CircleStart : CircleEnd { func circle_start() } // expected-error 2 {{protocol 'CircleStart' refines itself}} | ||
protocol CircleEnd : CircleMiddle { func circle_end()} // expected-note 2 {{protocol 'CircleEnd' declared here}} | ||
// expected-note@-1 3 {{protocol 'CircleMiddle' declared here}} | ||
protocol CircleStart : CircleEnd { func circle_start() } // expected-error 3 {{protocol 'CircleStart' refines itself}} | ||
protocol CircleEnd : CircleMiddle { func circle_end()} // expected-note 3 {{protocol 'CircleEnd' declared here}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unfortunate although definitely not a ExistentialTypeSyntaxChecker
problem.
This comment was marked as duplicate.
This comment was marked as duplicate.
1 similar comment
@swift-ci please smoke test Linux |
@swift-ci please test source compatibility release |
@hborla ping |
Resolves #65026, resolves #65027, resolves #72588.
Diff counts are mostly due to tests.