Skip to content

Ignore transitive ObjC imports when cross-importing #30819

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

Conversation

beccadax
Copy link
Contributor

@beccadax beccadax commented Apr 6, 2020

This behavior change reduces the chance of unexpected and unwanted cross-imports being performed.

Fixes rdar://problem/60554019.

This behavior change reduces the chance of unexpected and unwanted cross-imports being performed.

Fixes rdar://problem/60554019.
@beccadax
Copy link
Contributor Author

beccadax commented Apr 6, 2020

@swift-ci please test

@beccadax
Copy link
Contributor Author

beccadax commented Apr 6, 2020

@swift-ci Please Build Toolchain macOS Platform

@swift-ci
Copy link
Contributor

swift-ci commented Apr 6, 2020

macOS Toolchain
Download Toolchain
Git Sha - 121fa9a

Install command
tar -zxf swift-PR-30819-496-osx.tar.gz --directory ~/

@beccadax beccadax requested review from hamishknight and artemcm April 8, 2020 05:32
@beccadax beccadax marked this pull request as ready for review April 8, 2020 05:32
Copy link
Contributor

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

Looks great!

Copy link
Contributor

@artemcm artemcm left a comment

Choose a reason for hiding this comment

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

It looks good to me! 👍

@beccadax beccadax merged commit 4de19e1 into swiftlang:master Apr 8, 2020
@compnerd
Copy link
Member

compnerd commented Apr 9, 2020

This seems to have caused a regression on Windows:
https://ci-external.swift.org/job/oss-swift-windows-x86_64-vs2019/772/consoleText

This looks like an actual issue in the code.

compnerd added a commit to compnerd/apple-swift that referenced this pull request Apr 9, 2020
The commit added a broken header into the test which happened to pass
due to ObjC behaviours accidentally leaking.  Fix the header.
shahmishal added a commit that referenced this pull request Apr 9, 2020
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.

5 participants