Skip to content

Commit 0e6b857

Browse files
committed
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.
1 parent 112f39a commit 0e6b857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/unpickleScala2/PickleBuffer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ object PickleBuffer {
220220
DEFERRED_PKL -> Deferred,
221221
FINAL_PKL -> Final,
222222
METHOD_PKL -> Method,
223-
INTERFACE_PKL -> PureInterface,
223+
INTERFACE_PKL -> NoInitsInterface,
224224
MODULE_PKL -> Module,
225225
IMPLICIT_PKL -> Implicit,
226226
SEALED_PKL -> Sealed,

0 commit comments

Comments
 (0)