8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28b1b65 commit 40c1401Copy full SHA for 40c1401
linker/shared/src/main/scala/org/scalajs/linker/backend/javascript/Printers.scala
@@ -62,19 +62,8 @@ object Printers {
62
}
63
64
def printTopLevelTree(tree: Tree): Unit = {
65
- tree match {
66
- case Skip() =>
67
- // do not print anything
68
- case tree: Block =>
69
- var rest = tree.stats
70
- while (rest.nonEmpty) {
71
- printTopLevelTree(rest.head)
72
- rest = rest.tail
73
- }
74
- case _ =>
75
- printStat(tree)
76
- println()
77
+ printStat(tree)
+ println()
78
79
80
protected def printRow(ts: List[Tree], start: Char, end: Char): Unit = {
0 commit comments