From 157c8dc72def0d452ef6322aaddeac023507d648 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 2 Feb 2017 09:23:56 +1100 Subject: Refactoring to make Checking not mutate denotations avoidPrivateLeaks got moved from Checking to TypeAssigner, where it fits well besides the other avoid methods. --- compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/src/dotty/tools/dotc/core/tasty') diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala index dad433c4e..835ed47c1 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala @@ -733,7 +733,7 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table, posUnpickle // no longer necessary. goto(end) setPos(start, tree) - Checking.avoidPrivateLeaks(sym, tree.pos) + ta.avoidPrivateLeaks(sym, tree.pos) tree } -- cgit v1.2.3