File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
jscomp/syntax/tests/printer/expr Expand file tree Collapse file tree 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" />
55let x = <Foo.bar className="container" />
66let x = <Foo.baz className="multiline" />
77let x = <custom-tag className="container" />
8+ let x = <Foo.custom-tag className="container" />
89
910// https://github.com/rescript-lang/syntax/issues/570
1011let x =
@@ -41,6 +42,11 @@ let x =
4142 {a}
4243 <B />
4344 </custom-tag>
45+ let x =
46+ <Foo.custom-tag className="container">
47+ {a}
48+ <B />
49+ </Foo.custom-tag>
4450
4551let x = <div className="container" className2="container2" className3="container3" onClick />
4652
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ let x = <Foo.baz
77 className = "multiline"
88/>
99let x = <custom - tag className = "container" />
10+ let x = <Foo .custom - tag className = "container" />
1011
1112// https://github.com/rescript-lang/syntax/issues/570
1213let x = <A > <B > <C > <D /> <E /> </C > <F > <G /> <H /> </F > </B > </A >
@@ -15,6 +16,7 @@ let x = <A> <B/> {children} </A>
1516let x = <A > {a } </A >
1617let x = <A > {a } {b } </A >
1718let x = <custom - tag className = "container" > {a } <B /> </custom - tag >
19+ let x = <Foo .custom - tag className = "container" > {a } <B /> </Foo .custom - tag >
1820
1921let x =
2022 <div
You can’t perform that action at this time.
0 commit comments