Files
swift-mirror/test/SourceKit/CodeComplete/complete_big_array.swift
Alex Hoppen 7ce41252e7 [SourceKit] Print compilerargs and sourcetext keys last
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
2024-02-29 20:45:55 -08:00

7 lines
341 B
Swift

// RUN: %sourcekitd-test -req=complete -pos=45:1 %S/../Inputs/big_array.swift -- %S/../Inputs/big_array.swift | %FileCheck %s
// CHECK: key.kind: source.lang.swift.decl.var.global
// CHECK: key.name: "gCubeVertexData"
// CHECK: key.description: "gCubeVertexData"
// CHECK: key.typename: "[Float]"
// CHECK: key.sourcetext: "gCubeVertexData"