File tree 2 files changed +8
-0
lines changed
jscomp/syntax/tests/printer/expr
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ let x = <Foo.Bar.Baz className="container" />
5
5
let x = <Foo.bar className="container" />
6
6
let x = <Foo.baz className="multiline" />
7
7
let x = <custom-tag className="container" />
8
+ let x = <Foo.custom-tag className="container" />
8
9
9
10
// https://github.com/rescript-lang/syntax/issues/570
10
11
let x =
@@ -41,6 +42,11 @@ let x =
41
42
{a}
42
43
<B />
43
44
</custom-tag>
45
+ let x =
46
+ <Foo.custom-tag className="container">
47
+ {a}
48
+ <B />
49
+ </Foo.custom-tag>
44
50
45
51
let x = <div className="container" className2="container2" className3="container3" onClick />
46
52
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ let x = <Foo.baz
7
7
className = "multiline"
8
8
/>
9
9
let x = <custom - tag className = "container" />
10
+ let x = <Foo .\"custom-tag" className = "container" />
10
11
11
12
// https://github.com/rescript-lang/syntax/issues/570
12
13
let x = <A > <B > <C > <D /> <E /> </C > <F > <G /> <H /> </F > </B > </A >
@@ -15,6 +16,7 @@ let x = <A> <B/> {children} </A>
15
16
let x = <A > {a } </A >
16
17
let x = <A > {a } {b } </A >
17
18
let x = <custom - tag className = "container" > {a } <B /> </custom - tag >
19
+ let x = <Foo .\"custom-tag" className = "container" > {a } <B /> </Foo .\"custom-tag" >
18
20
19
21
let x =
20
22
<div
You can’t perform that action at this time.
0 commit comments