Skip to content

Conversation

jrose-apple
Copy link
Contributor

  • Use the name for the cached module, so that we don't end up with a zillion "x86_64-XXXXXXXX.swiftmodule" files in the cache when we're working with architecture-specific swiftmodules.

  • Diagnose if the expected name is different from the name specified in the swiftinterface.

  • Emit all diagnostics at the location of the import, instead of without any location at all.

  • Also sneak in a separate commit to allow @objc even without import Foundation in swiftinterfaces.

- Use the name for the cached module, so that we don't end up with a
  zillion "x86_64-XXXXXXXX.swiftmodule" files in the cache when we're
  working with architecture-specific swiftmodules.

- Diagnose if the expected name is different from the name specified
  in the swiftinterface.

- Emit all diagnostics at the location of the import, instead of
  without any location at all.
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Dec 6, 2018

Build failed
Swift Test Linux Platform
Git Sha - c805993db9191f3a5104a2040ba30e9e2b75384e

Deinitializers are always @objc. (Arguably, this makes it unnecessary
to print, but we don't want to do any @objc inference at all in a
swiftinterface.)
@jrose-apple jrose-apple force-pushed the a-module-by-any-other-name branch from c805993 to 8133161 Compare December 6, 2018 22:57
@jrose-apple
Copy link
Contributor Author

Mac full test

@swift-ci Please test Linux

@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test macOS

@swift-ci
Copy link
Contributor

swift-ci commented Dec 6, 2018

Build failed
Swift Test Linux Platform
Git Sha - c805993db9191f3a5104a2040ba30e9e2b75384e

@jrose-apple jrose-apple merged commit 9536d40 into swiftlang:master Dec 7, 2018
@jrose-apple jrose-apple deleted the a-module-by-any-other-name branch December 7, 2018 02:44
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.

3 participants