Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Commit 6e085c9

Browse files
committedApr 17, 2021
test for "Fix jump to type definition for types defined in an inner module"
1 parent d9dad00 commit 6e085c9

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
 

‎test/src/Definition.res

+9-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
let xx = 10
22

33
let y = xx
4-
// ^def
4+
// ^def
5+
6+
module Inner = {
7+
type tInner = int
8+
let vInner = 34
9+
}
10+
11+
type typeInner = Inner.tInner
12+
// ^def

‎test/src/expected/Definition.res.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
Definition src/Definition.res 2:8
22
{"uri": "Definition.res", "range": "{"start": "{"line": "0", "character": "4"}", "end": "{"line": "0", "character": "6"}"}"}
33

4+
Definition src/Definition.res 10:23
5+
{"uri": "Definition.res", "range": "{"start": "{"line": "6", "character": "7"}", "end": "{"line": "6", "character": "13"}"}"}
6+

0 commit comments

Comments
 (0)
This repository has been archived.