diff options
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala index 0c38b9ddf..a9ea49ad1 100644 --- a/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala +++ b/compiler/src/dotty/tools/dotc/core/tasty/TreeUnpickler.scala @@ -279,8 +279,8 @@ class TreeUnpickler(reader: TastyReader, tastyName: TastyName.Table, posUnpickle case METHODtype => val (names, paramReader) = readNamesSkipParams val result = MethodType(names.map(_.toTermName))( - mt => paramReader.readParamTypes[Type](end), // !!! - mt => registeringType(mt, readType())) + mt => registeringType(mt, paramReader.readParamTypes[Type](end)), + mt => readType()) goto(end) result case PARAMtype => |