File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -53,4 +53,14 @@ open XX.YY
53
53
54
54
type tt = t
55
55
56
- // ^par
56
+ // ^par
57
+
58
+ module T = {
59
+ type someRecord <'typeParameter > = {
60
+ someField : int ,
61
+ someOtherField : string ,
62
+ theParam : 'typeParameter ,
63
+ }
64
+ }
65
+
66
+ let foo = x => x .T .someField
Original file line number Diff line number Diff line change 1
1
Parse tests/src/Parser.res
2
- structure items:15 diagnostics:0
2
+ structure items:17 diagnostics:0
3
3
Lident: M (0,7) Namespace
4
4
Lident: C (1,9) Namespace
5
5
Lident: Component (1,13) Namespace
@@ -52,4 +52,11 @@ Ldot: XX (51,5) Namespace
52
52
Lident: YY (51,8) Namespace
53
53
Type: tt (53,5)->(53,7)
54
54
Type: t (53,10)->(53,11)
55
+ Lident: T (57,7) Namespace
56
+ Type: someRecord (58,7)->(58,17)
57
+ Type: int (59,15)->(59,18)
58
+ Type: string (60,20)->(60,26)
59
+ Lident: x (65,15) Variable
60
+ Lident: x (65,10) Variable
61
+ Lident: foo (65,4) Variable
55
62
You can’t perform that action at this time.
0 commit comments