mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
- `key.compile_operation` instead of `key.compileoperation` - Make the operation kind optional (nothing emitted for perform sema)
14 lines
671 B
Swift
14 lines
671 B
Swift
// RUN: %sourcekitd-test -req=track-compiles == -req=cursor %s -offset=0 -- %s | %FileCheck %s -check-prefix=COMPILE_1 --enable-yaml-compatibility
|
|
// COMPILE_1: {
|
|
// COMPILE_1: key.notification: source.notification.compile-will-start,
|
|
// COMPILE_1: key.filepath: "SOURCE_DIR{{.*}}cursor-info.swift",
|
|
// COMPILE_1: key.compileid: [[CID1:".*"]]
|
|
// COMPILE_1: }
|
|
// COMPILE_1: {
|
|
// COMPILE_1: key.notification: source.notification.compile-did-finish,
|
|
// COMPILE_1: key.compileid: [[CID1]]
|
|
// COMPILE_1: }
|
|
// COMPILE_1: <empty cursor info; internal diagnostic: "Unable to resolve cursor info.">
|
|
// COMPILE_1-NOT: compile-will-start
|
|
// COMPILE_1-NOT: compile-did-finish
|