mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This allows the migrator to pick up fix-its from notes such as: “Argument of #selector refers to instance method '___' that is not exposed to Objective-C” Add some more testing for minimal/complete workflows, and upstream the cross-file fix-it test. rdar://problem/32228948
8 lines
223 B
Plaintext
8 lines
223 B
Plaintext
import Foundation
|
|
|
|
public class MyClass : NSObject {
|
|
@objc public func methodUsedInSelector() {}
|
|
@objc public var propertyUsedInKeyPath: Int { return 2 }
|
|
@objc dynamic var dynamicVarUsedInSelector: Int { return 2 }
|
|
}
|