Skip to content

Commit 1d888f1

Browse files
authored
Merge pull request #22958 from nkcsgexi/doc-expression-type
Doc: update protocol for expression type request after adopting custom buffer
2 parents 22c61e4 + dd7f528 commit 1d888f1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tools/SourceKit/docs/Protocol.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,6 @@ type checking and the necessary compiler arguments to help resolve all dependenc
757757
### Response
758758
```
759759
{
760-
<key.printedtypebuffer>: (string) // A text buffer where all expression types are printed to.
761760
<key.expression_type_list>: (array) [expr-type-info*] // A list of expression and type
762761
}
763762
```
@@ -767,8 +766,7 @@ expr-type-info ::=
767766
{
768767
<key.expression_offset>: (int64) // Offset of an expression in the source file
769768
<key.expression_length>: (int64) // Length of an expression in the source file
770-
<key.type_offset>: (int64) // Offset of the printed type of the expression in the printed type buffer
771-
<key.type_length>: (int64) // Length of the printed type of the expression in the printed type buffer
769+
<key.expression_type>: (string) // Printed type of this expression
772770
}
773771
```
774772

0 commit comments

Comments
 (0)