Files
swift-mirror/test/SourceKit/Indexing/index_objcMembers.swift
Nathan Hawes 7680cc6b16 [sourcekitd] Report entities that are implicitly objc as objc in the index request responses for compatibility
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
2019-02-22 16:35:30 -08:00

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() {}
}