Skip to content

Commit 34ace4b

Browse files
committed
Clean up debug output.
Fixes #414
1 parent 87c01a4 commit 34ace4b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

analysis/src/CompletionFrontEnd.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ let completionWithParser ~debug ~path ~posCursor ~currentFile ~text =
678678
| Ppat_construct (lid, _) ->
679679
let lidPath = flattenLidCheckDot lid in
680680
if debug then
681-
Printf.printf "XXX Ppat_construct %s:%s\n"
681+
Printf.printf "Ppat_construct %s:%s\n"
682682
(lidPath |> String.concat ".")
683683
(Loc.toString lid.loc);
684684
setResult (Cpath (CPId (lidPath, Value)))

analysis/tests/src/expected/Completion.res.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1388,7 +1388,7 @@ posCursor:[362:8] posNoWhite:[362:7] Found expr:[360:8->365:3]
13881388
posCursor:[362:8] posNoWhite:[362:7] Found expr:[361:2->365:3]
13891389
posCursor:[362:8] posNoWhite:[362:7] Found pattern:[362:7->364:5]
13901390
posCursor:[362:8] posNoWhite:[362:7] Found pattern:[362:7->362:8]
1391-
XXX Ppat_construct T:[362:7->362:8]
1391+
Ppat_construct T:[362:7->362:8]
13921392
Completable: Cpath Value[T]
13931393
[{
13941394
"label": "That",
@@ -1421,7 +1421,7 @@ posCursor:[373:21] posNoWhite:[373:20] Found expr:[371:8->376:3]
14211421
posCursor:[373:21] posNoWhite:[373:20] Found expr:[372:2->376:3]
14221422
posCursor:[373:21] posNoWhite:[373:20] Found pattern:[373:7->375:5]
14231423
posCursor:[373:21] posNoWhite:[373:20] Found pattern:[373:7->373:21]
1424-
XXX Ppat_construct AndThatOther.T:[373:7->373:21]
1424+
Ppat_construct AndThatOther.T:[373:7->373:21]
14251425
Completable: Cpath Value[AndThatOther, T]
14261426
[{
14271427
"label": "ThatOther",

0 commit comments

Comments
 (0)