mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This allows building sourcekitd and swift-refactor with `SWIFT_BUILD_SWIFT_SYNTAX=NO`. In these builds, the `relatedidents` and `find-syntactic-rename-ranges` requests will always return an error.
9 lines
264 B
Swift
9 lines
264 B
Swift
// REQUIRES: swift_swift_parser
|
|
// RUN: %sourcekitd-test -req=find-local-rename-ranges -pos=5:7 %s -- %s | %FileCheck %s
|
|
|
|
var Foo: Int {
|
|
var missingNewlineAtEndOfFile
|
|
|
|
// CHECK: source.edit.kind.active:
|
|
// CHECK: 5:6-5:31 source.refactoring.range.kind.basename
|