diff options
author | Martin Odersky <odersky@gmail.com> | 2017-02-02 09:23:56 +1100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-02-02 09:23:56 +1100 |
commit | 157c8dc72def0d452ef6322aaddeac023507d648 (patch) | |
tree | dd1ace9b758f7a126b9b2909f5b2bc7215f09741 /compiler/src/dotty/tools/dotc/core/tasty | |
parent | c1a37e13befe5a57ff2452e3a3470b1e0d8adb54 (diff) | |
download | dotty-157c8dc72def0d452ef6322aaddeac023507d648.tar.gz dotty-157c8dc72def0d452ef6322aaddeac023507d648.tar.bz2 dotty-157c8dc72def0d452ef6322aaddeac023507d648.zip |
Refactoring to make Checking not mutate denotations
avoidPrivateLeaks got moved from Checking to TypeAssigner, where it
fits well besides the other avoid methods.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |