Skip to content

Add a failing test for SR-13785 #34462

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 2 commits into from
Oct 28, 2020
Merged

Conversation

scentini
Copy link
Contributor

Adds a test for SR-13785:

If a symbol comes from two modules, one of which is marked as @_implementationOnly, Swift may choose the @_implementationOnly source and then error out due to the symbol being hidden.

Ideally, Swift would consider all sources for the symbol and recognize that the symbol is not hidden behind @_implementationOnly in all modules.

…ility when dealing with @_implementationOnly imports
@scentini scentini added the c++ interop Feature: Interoperability with C++ label Oct 27, 2020
@scentini scentini requested a review from hlopko October 27, 2020 13:11
@scentini
Copy link
Contributor Author

@swift-ci please test

@scentini
Copy link
Contributor Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - fa39569

@hlopko
Copy link
Contributor

hlopko commented Oct 27, 2020

@swift-ci please test

1 similar comment
@hlopko
Copy link
Contributor

hlopko commented Oct 28, 2020

@swift-ci please test

@scentini scentini merged commit 64e5f76 into swiftlang:main Oct 28, 2020
ainu-bot added a commit to google/swift that referenced this pull request Oct 28, 2020
* 'main' of github.com:apple/swift:
  Add a failing test for SR-13785 (swiftlang#34462)
@scentini scentini deleted the implementationOnly branch November 10, 2020 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants