Skip to content

Commit 31d576e

Browse files
committed
clearer example
1 parent 1e1f4ba commit 31d576e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: analysis/tests/src/CompletionExpressions.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ ignore(fff)
197197
// fff.someOpt
198198
// ^com
199199

200-
@editor.templateVariableName("someTyp")
200+
@editor.templateVariableName("otherNameForType")
201201
type someTyp = {test: bool}
202202

203203
let takesCb = cb => {

Diff for: analysis/tests/src/expected/CompletionExpressions.res.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -959,13 +959,13 @@ ContextPath CArgument Value[takesCb]($0)
959959
ContextPath Value[takesCb]
960960
Path takesCb
961961
[{
962-
"label": "someTyp => {}",
962+
"label": "otherNameForType => {}",
963963
"kind": 12,
964964
"tags": [],
965965
"detail": "someTyp => 'a",
966966
"documentation": null,
967967
"sortText": "A",
968-
"insertText": "${1:someTyp} => {$0}",
968+
"insertText": "${1:otherNameForType} => {$0}",
969969
"insertTextFormat": 2
970970
}]
971971

0 commit comments

Comments
 (0)