Skip to content

Commit 3576b29

Browse files
committed
fix
1 parent 5f878a5 commit 3576b29

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
// <div
1+
// <div
22
// ^com
33

4-
// <div testing={}
4+
// <div testing={}
55
// ^com
66

77
module SomeComponent = {
88
@jsx.component
99
let make = (~someProp) => {
10-
let someString = ""
10+
let someString = ""
1111
let someInt = 12
1212
let someArr = [GenericJsx.null]
1313
ignore(someInt)
1414
ignore(someArr)
1515
// someString->st
1616
// ^com
17-
open GenericJsx
17+
open GenericJsx
1818
<div>
19-
{GenericJsx.string(someProp)}
19+
{GenericJsx.string(someProp ++ someString)}
2020
<div> {GenericJsx.null} </div>
2121
// {someString->st}
2222
// ^com
2323
</div>
2424
}
25-
}
25+
}

analysis/tests-generic-jsx-transform/src/expected/GenericJsxCompletion.res.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Path GenericJsx.Elements.props
5050
Complete src/GenericJsxCompletion.res 14:21
5151
posCursor:[14:21] posNoWhite:[14:20] Found expr:[8:13->23:3]
5252
posCursor:[14:21] posNoWhite:[14:20] Found expr:[8:14->23:3]
53-
posCursor:[14:21] posNoWhite:[14:20] Found expr:[9:1->22:10]
53+
posCursor:[14:21] posNoWhite:[14:20] Found expr:[9:4->22:10]
5454
posCursor:[14:21] posNoWhite:[14:20] Found expr:[10:4->22:10]
5555
posCursor:[14:21] posNoWhite:[14:20] Found expr:[11:4->22:10]
5656
posCursor:[14:21] posNoWhite:[14:20] Found expr:[12:4->22:10]
@@ -90,12 +90,12 @@ Path Js.String2.st
9090
Complete src/GenericJsxCompletion.res 20:24
9191
posCursor:[20:24] posNoWhite:[20:23] Found expr:[8:13->23:3]
9292
posCursor:[20:24] posNoWhite:[20:23] Found expr:[8:14->23:3]
93-
posCursor:[20:24] posNoWhite:[20:23] Found expr:[9:1->22:10]
93+
posCursor:[20:24] posNoWhite:[20:23] Found expr:[9:4->22:10]
9494
posCursor:[20:24] posNoWhite:[20:23] Found expr:[10:4->22:10]
9595
posCursor:[20:24] posNoWhite:[20:23] Found expr:[11:4->22:10]
9696
posCursor:[20:24] posNoWhite:[20:23] Found expr:[12:4->22:10]
9797
posCursor:[20:24] posNoWhite:[20:23] Found expr:[13:4->22:10]
98-
posCursor:[20:24] posNoWhite:[20:23] Found expr:[16:1->22:10]
98+
posCursor:[20:24] posNoWhite:[20:23] Found expr:[16:4->22:10]
9999
posCursor:[20:24] posNoWhite:[20:23] Found expr:[17:5->22:10]
100100
JSX <div:[17:5->17:8] > _children:17:8
101101
posCursor:[20:24] posNoWhite:[20:23] Found expr:[17:8->22:4]

0 commit comments

Comments
 (0)