Skip to content

Handle 'import struct Foo' where Foo is a non-nominal typealias #14797

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 1 commit into from
Feb 26, 2018

Conversation

jrose-apple
Copy link
Contributor

Previously this just crashed. Now it suggests import typealias Foo, a syntax that works back to Swift 1.

rdar://problem/36756349

Previously this just crashed. Now it suggests `import typealias Foo`,
a syntax that works back to Swift 1.

rdar://problem/36756349
@jrose-apple
Copy link
Contributor Author

Tagging @graydon for review mostly just for a stupid-mistake check. This code gets updated like once a year, so no one's an expert in it anyway. (I wrote it originally.)

@jrose-apple jrose-apple requested a review from graydon February 23, 2018 01:44
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

Copy link
Contributor

@graydon graydon left a comment

Choose a reason for hiding this comment

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

My eyes & brain detect no stupid errors (though C++ has fooled me many times before).

@jrose-apple jrose-apple merged commit 30b2f05 into swiftlang:master Feb 26, 2018
@jrose-apple jrose-apple deleted the sydney-bristow branch February 26, 2018 19:50
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