Introduce a new 'renamed' modifier on unavailable attributes. This allows Xcode

to emit fixit's when we rename something, e.g.:

t.swift:6:9: error: 'float' has been renamed to Float
var y : float
        ^~~~~
        Float

Adopt this in the stdlib.



Swift SVN r20549
This commit is contained in:
Chris Lattner
2014-07-25 18:00:37 +00:00
parent 681059a089
commit 6d0934d33d
14 changed files with 123 additions and 87 deletions

View File

@@ -1071,6 +1071,7 @@ namespace decls_block {
BC_AVAIL_TUPLE, // Obsoleted
BCVBR<5>, // platform
BCVBR<5>, // number of bytes in message string
BCVBR<5>, // number of bytes in rename string
BCBlob // platform, followed by message
>;