File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-build-swift %s -module-name BatchMode -emit-module-path %t/BatchMode.swiftmodule -emit-symbol-graph -emit-symbol-graph-dir %t -O -enable-batch-mode -incremental
2
+ // RUN: %target-build-swift %s -module-name BatchMode -emit-module-path %t/BatchMode.swiftmodule -emit-symbol-graph -emit-symbol-graph-dir %t -O -enable-batch-mode
3
3
// RUN: %FileCheck %s --input-file %t/BatchMode.symbols.json
4
4
5
+ // changes to the doc comment cache created situations where building in batch mode caused symbol
6
+ // graphs to lose source range information for individual doc comment lines.
7
+
8
+ // CHECK: "range":{"start":{"line":[[# @LINE]],"character":4},"end":{"line":[[# @LINE]],"character":22}}
5
9
/// This is some func.
6
10
public func someFunc( ) { }
7
-
8
- // CHECK: range
You can’t perform that action at this time.
0 commit comments