diff options
author | VladimirNik <vladimir.nikolaev9@gmail.com> | 2015-11-27 15:24:13 +0100 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2015-11-27 18:27:28 +0100 |
commit | 317ca3e4d45dfe31f50f87f60194ce2506c86fa8 (patch) | |
tree | a86776441761fc1a1192463eef3417ecf444286a /src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala | |
parent | 2bb73c3bf1a6fef8bd77d762c99d02d499621ea3 (diff) | |
download | dotty-317ca3e4d45dfe31f50f87f60194ce2506c86fa8.tar.gz dotty-317ca3e4d45dfe31f50f87f60194ce2506c86fa8.tar.bz2 dotty-317ca3e4d45dfe31f50f87f60194ce2506c86fa8.zip |
Add pickling/unpickling of stable modifier
Pickling/unpickling of STABLE modifier allows to fix problem with
unpickling of path-dependent types (#982)
Diffstat (limited to 'src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala b/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala index 71f51d9a1..eadccb2a3 100644 --- a/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala +++ b/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala @@ -465,6 +465,7 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table) { case SCALA2X => addFlag(Scala2x) case DEFAULTparameterized => addFlag(DefaultParameterized) case INSUPERCALL => addFlag(InSuperCall) + case STABLE => addFlag(Stable) case PRIVATEqualified => readByte() privateWithin = readType().typeSymbol |