Skip to content

Commit 010d808

Browse files
committed
Also test normal list.
1 parent c145534 commit 010d808

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

analysis/tests/src/Debug.res

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
let m = Belt.List.map
2-
// ^deb
2+
// ^deb
3+
4+
let m = List.map
5+
// ^deb

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,15 @@ resolvePath path:map
3939
[ref] Inner uri belt_List.mli
4040
{"uri": "belt_List.mli", "range": {"start": {"line": 239, "character": 4}, "end": {"line": 239, "character": 7}}}
4141

42+
Debug tests/src/Debug.res 3:14
43+
locItems:
44+
3:13-3:16 Typed map ('a => 'b, list<'a>) => list<'b> GlobalReference
45+
[ref] Typed GlobalReference moduleName:List path:map tip:Value
46+
fileForModule Impl cmt:tests/node_modules/rescript/lib/ocaml/list.cmti res:tests/node_modules/rescript/lib/ocaml/list.mli
47+
resolvePath path:map
48+
[ref] resolved path:map
49+
[ref] Got stamp 1018
50+
[ref] alternateDeclared for List not found
51+
[ref] Inner uri list.mli
52+
{"uri": "list.mli", "range": {"start": {"line": 116, "character": 4}, "end": {"line": 116, "character": 7}}}
53+

0 commit comments

Comments
 (0)