diff options
author | Martin Odersky <odersky@gmail.com> | 2016-09-05 14:44:08 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-10-02 16:11:21 +0200 |
commit | ebcc2bdb8f5bacdff073868817357f23c5ce8464 (patch) | |
tree | 966ed72f5d31780ff6a6314481e78097c6943866 | |
parent | 33545570039fa37be3327f0ba8c27d16b0d7abf6 (diff) | |
download | dotty-ebcc2bdb8f5bacdff073868817357f23c5ce8464.tar.gz dotty-ebcc2bdb8f5bacdff073868817357f23c5ce8464.tar.bz2 dotty-ebcc2bdb8f5bacdff073868817357f23c5ce8464.zip |
Fix problem with homogenize trees
-rw-r--r-- | src/dotty/tools/dotc/printing/RefinedPrinter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/printing/RefinedPrinter.scala b/src/dotty/tools/dotc/printing/RefinedPrinter.scala index fd79b8c50..f4a7a4dc5 100644 --- a/src/dotty/tools/dotc/printing/RefinedPrinter.scala +++ b/src/dotty/tools/dotc/printing/RefinedPrinter.scala @@ -37,7 +37,7 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) { } def homogenize(tree: Tree[_])(implicit ctx: Context) = tree match { - case tree: tpd.Inlined => Inliner.dropInlined(tree) + case tree: tpd.Inlined if homogenizedView => Inliner.dropInlined(tree) case _ => tree } |