Skip to content

Conversation

@jrose-apple
Copy link
Contributor

@jrose-apple jrose-apple commented Feb 22, 2019

Otherwise we can get in trouble when a local type is named, say, 'Sequence'. Slurps in the non-controversial parts of Harlan's #22799.

rdar://problem/48298527 and rdar://problem/49426322

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@harlanhaskins
Copy link
Contributor

Should we also set PreferTypeRepr = false here?

@jrose-apple
Copy link
Contributor Author

That was the controversial part. ;-) These changes can go in now and let me make progress on [latest test case] even before you/we work out the issues with dropping TypeReprs.

@harlanhaskins
Copy link
Contributor

Sure, sounds good, then!

Copy link
Contributor

@nathawes nathawes left a comment

Choose a reason for hiding this comment

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

LGTM!

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 8080db251230ebef07c6952b1c02cc212349d250

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 8080db251230ebef07c6952b1c02cc212349d250

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 8080db251230ebef07c6952b1c02cc212349d250

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 8080db251230ebef07c6952b1c02cc212349d250

@jrose-apple
Copy link
Contributor Author

@nkcsgexi This changes some but not all of the generic signatures in the API digester output and the SourceKit document structure, and that seems…concerning?

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 6a08e873183272ff8cb0c69da28ca6fefeadeaa4

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 6a08e873183272ff8cb0c69da28ca6fefeadeaa4

@jrose-apple
Copy link
Contributor Author

Oops, I think I forgot to amend a commit.

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test macOS

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 6a08e873183272ff8cb0c69da28ca6fefeadeaa4

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 6a08e873183272ff8cb0c69da28ca6fefeadeaa4

@swift-ci
Copy link
Contributor

swift-ci commented Mar 1, 2019

Build failed
Swift Test OS X Platform
Git Sha - ff3a087

@jrose-apple
Copy link
Contributor Author

Oh, I actually did break this thing in LLDB. Whoops.

@escaping is implied here, and invalid when explicitly used.

rdar://48298527
This is only relevant to the standard library, but previously we would not print `Builtin.` before builtin types. Make sure we do.
@jrose-apple
Copy link
Contributor Author

apple/swift-lldb#1417
@swift-ci Please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - b94984cd89fb193bdaf89cfd53b3eb6b2246208a

@harlanhaskins
Copy link
Contributor

Command Output (stderr):
--
<unknown>:0: error: error opening '/Users/buildnode/jenkins/workspace/swift-PR-osx/branch-master/buildbot_incremental/swift-macosx-x86_64/test-macosx-x86_64/api-digester/Output/compare-dump.swift.tmp.mod1/cake.swiftmodule' for output: No such file or directory

--

?

@jrose-apple
Copy link
Contributor Author

*obligatory Portal reference*

I forgot to actually create the new directories I was relying on, will fix.

Otherwise we can get in trouble when a local type is named, say,
'Sequence'.

Also contains test updates and a fix for Harlan's previous commit,
which actually affects all typealiases, not just those in the Builtin
module.
@jrose-apple
Copy link
Contributor Author

apple/swift-lldb#1417
@swift-ci Please test macOS

@jrose-apple
Copy link
Contributor Author

apple/swift-lldb#1417
@swift-ci Please smoke test Linux

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - b94984cd89fb193bdaf89cfd53b3eb6b2246208a

@jrose-apple jrose-apple merged commit b5610e7 into swiftlang:master Mar 29, 2019
@jrose-apple jrose-apple deleted the a-qualified-yes branch March 29, 2019 19:51
jrose-apple added a commit to jrose-apple/swift that referenced this pull request Mar 29, 2019
 [ParseableInterface] Module-qualify protocol types and typealiases

(cherry picked from commit b5610e7)
jrose-apple added a commit to jrose-apple/swift that referenced this pull request Mar 29, 2019
 [ParseableInterface] Module-qualify protocol types and typealiases

(cherry picked from commit b5610e7)
jrose-apple added a commit that referenced this pull request Mar 29, 2019
[ParseableInterface] Module-qualify protocol types and typealiases

(cherry picked from commit b5610e7)
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