mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This converts the instances of the pattern for which we have a proper substitution in lit. This will make it easier to replace it appropriately with Windows equivalents.
9 lines
304 B
Swift
9 lines
304 B
Swift
var foo: String {
|
|
let name = "white"
|
|
return name
|
|
}
|
|
|
|
// RUN: %empty-directory(%t.result)
|
|
// RUN: %refactor -find-local-rename-ranges -source-filename %s -pos=2:7 > %t.result/computed_property.swift
|
|
// RUN: diff -u %S/Outputs/property/computed_property.swift.expected %t.result/computed_property.swift
|