From 3ebdd0e6ea049d62e3acb074c0827358fcc16e77 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Mon, 20 Nov 2017 19:07:29 +0100 Subject: [PATCH] Fix build failure after last merge tasty got renamed to fromTasty in 331245e444752eed1595c09e9fa3bda000c84def, but tasty was used in 51bc54a681ba243b545e72b114899562f60847c4 which was merged at the same time. --- compiler/src/dotty/tools/dotc/core/Symbols.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/core/Symbols.scala b/compiler/src/dotty/tools/dotc/core/Symbols.scala index 6921d1308a8f..61a1c0e49bb9 100644 --- a/compiler/src/dotty/tools/dotc/core/Symbols.scala +++ b/compiler/src/dotty/tools/dotc/core/Symbols.scala @@ -615,7 +615,7 @@ object Symbols { assert(myTree.isEmpty) val body = unpickler.body(ctx.addMode(Mode.ReadPositions)) myTree = body.headOption.getOrElse(tpd.EmptyTree) - if (!ctx.settings.tasty.value) + if (!ctx.settings.fromTasty.value) unpickler = null } myTree