mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
That way, when the request gets truncated by os_log in sourcekit-lsp, we see most of the request. Most likely the sourcetext and the compiler args wouldn't have made it into the log message completely anyway. rdar://121322828
18 lines
727 B
Swift
18 lines
727 B
Swift
import Foo
|
|
|
|
// REQUIRES: objc_interop
|
|
// RUN: %sourcekitd-test -req=complete -pos=2:1 %s -- -F %S/../Inputs/libIDE-mock-sdk %s | %FileCheck %s
|
|
|
|
// CHECK-LABEL: key.name: "fooIntVar",
|
|
// CHECK-NEXT: key.description: "fooIntVar",
|
|
// CHECK-NEXT: key.typename: "Int32",
|
|
// CHECK-NEXT: key.doc.brief: "Aaa. fooIntVar. Bbb.",
|
|
// CHECK-NEXT: key.context: source.codecompletion.context.othermodule,
|
|
// CHECK-NEXT: key.typerelation: source.codecompletion.typerelation.unknown,
|
|
// CHECK-NEXT: key.num_bytes_to_erase: 0,
|
|
// CHECK-NEXT: key.associated_usrs: "c:@fooIntVar",
|
|
// CHECK-NEXT: key.modulename: "Foo",
|
|
// CHECK-NEXT: key.sourcetext: "fooIntVar"
|
|
// CHECK-NEXT: },
|
|
|