aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/unpickleScala2
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-06-16 16:41:22 +0200
committerMartin Odersky <odersky@gmail.com>2015-06-16 16:42:54 +0200
commit0e6b857ae9501ce3708f273618caafee6b614f82 (patch)
treef28af2f4b65524bda218b5f8b177882848ea6d7c /src/dotty/tools/dotc/core/unpickleScala2
parent112f39aa1c3a9e36848b30d7d2709fb1b2ef7949 (diff)
downloaddotty-0e6b857ae9501ce3708f273618caafee6b614f82.tar.gz
dotty-0e6b857ae9501ce3708f273618caafee6b614f82.tar.bz2
dotty-0e6b857ae9501ce3708f273618caafee6b614f82.zip
Add NoInits when reading a Scala2 pure interface
NoInits is implied for pure interfaces, so has to be set. The Java classfile parser already does the right thing here.
Diffstat (limited to 'src/dotty/tools/dotc/core/unpickleScala2')
-rw-r--r--src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala b/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala
index aa1fd9a90..b080a97b6 100644
--- a/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala
+++ b/src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala
@@ -220,7 +220,7 @@ object PickleBuffer {
DEFERRED_PKL -> Deferred,
FINAL_PKL -> Final,
METHOD_PKL -> Method,
- INTERFACE_PKL -> PureInterface,
+ INTERFACE_PKL -> NoInitsInterface,
MODULE_PKL -> Module,
IMPLICIT_PKL -> Implicit,
SEALED_PKL -> Sealed,