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 616afec commit 6551b53Copy full SHA for 6551b53
compiler/src/dotty/tools/dotc/decompiler/DecompilationPrinter.scala
@@ -36,10 +36,10 @@ class DecompilationPrinter extends Phase {
36
}
37
38
private def printToOutput(out: PrintStream)(implicit ctx: Context): Unit = {
39
+ val unit = ctx.compilationUnit
40
if (ctx.settings.printTasty.value) {
41
new TastyPrinter(unit.pickled.head._2).printContents()
42
} else {
- val unit = ctx.compilationUnit
43
out.println(s"/** Decompiled from $unit */")
44
out.print(TastyImpl.showSourceCode.showTree(unit.tpdTree)(ctx))
45
0 commit comments