fix comments being eaten in autofmt

This commit is contained in:
Jonathan Kelley committed 2023-01-07 14:09:32 -08:00
1 parent a7f0df1507
commit 74421d47fd
4 files changed
+33 -4

No files matched your search

+3
View File
@@ -30,3 +30,6 @@ twoway! ("key" => key);
// Disabled because we can't handle comments on exprs yet
twoway! ("multirsx" => multirsx);
// Disabled because we can't handle comments on exprs yet
twoway! ("commentshard" => commentshard);
@@ -0,0 +1,23 @@
rsx! {
// Comments
div {
// Comments
class: "asdasd",
// Comments
"hello world",
// Comments
expr1,
// Comments
expr2,
// Comments
// Comments
// Comments
// Comments
// Comments
expr3
}
}