Skip to content

Commit 22a093c

Browse files
committed
Fix printing of LAMBDAtype => POLYtype
1 parent 39ac282 commit 22a093c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler/src/dotty/tools/dotc/core/tasty/TastyFormat.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ object TastyFormat {
480480
case ORtype => "ORtype"
481481
case BYNAMEtype => "BYNAMEtype"
482482
case POLYtype => "POLYtype"
483-
case LAMBDAtype => "LAMBDAtype"
484483
case METHODtype => "METHODtype"
485484
case PARAMtype => "PARAMtype"
486485
case ANNOTATION => "ANNOTATION"

compiler/src/dotty/tools/dotc/core/tasty/TastyPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class TastyPrinter(bytes: Array[Byte])(implicit ctx: Context) {
7272
printName(); printTree(); printTrees()
7373
case RETURN =>
7474
printNat(); printTrees()
75-
case METHODtype | LAMBDAtype | POLYtype =>
75+
case METHODtype | POLYtype =>
7676
printTree()
7777
until(end) { printName(); printTree() }
7878
case PARAMtype =>

0 commit comments

Comments
 (0)