mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Members of an @objcMembers context previous had implicit @objc attributes, but now don't (possibly because of the request evaluator changes?). This updates the output of sourcekitd's 'index' request to act as if they still had implicit @objc attributes on them for compatibility. Resolves rdar://problem/48140265
9 lines
294 B
Swift
9 lines
294 B
Swift
// RUN: %sourcekitd-test -req=index %s -- -Xfrontend -serialize-diagnostics-path -Xfrontend %t.dia %s | %sed_clean > %t.response
|
|
// RUN: diff -u %s.response %t.response
|
|
// REQUIRES: objc_interop
|
|
|
|
@objcMembers class FixtureClass25: NSObject {
|
|
var someVar: String?
|
|
func someMethod() {}
|
|
}
|