mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
26 KiB
26 KiB