forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert all the function type ABI restriction changes.
John pointed out that messing with the type checker's notion of "subtype" is a bad idea. Instead, we should just have a separate check for ABI compatibility...and eventually (rdar://problem/19517003) just insert the appropriate thunks rather than forcing the user to perform the conversion. I'm leaving all the tests as they are because I'm adding a post-type-checking diagnostic in the next commit, and that should pass all the same tests. Part of rdar://problem/19600325 Swift SVN r25116
- Loading branch information
1 parent
d697856
commit 07041fc
Showing
7 changed files
with
87 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.