Skip to content

Commit fc20768

Browse files
committed
fix typo in the comment
1 parent c569f23 commit fc20768

File tree

1 file changed

+1
-3
lines changed
  • compiler/src/dotty/tools/dotc/transform/patmat

1 file changed

+1
-3
lines changed

compiler/src/dotty/tools/dotc/transform/patmat/Space.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,7 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
474474

475475
/** Is `tp1` a subtype of `tp2`? */
476476
def isSubType(tp1: Type, tp2: Type): Boolean = {
477-
// check SI-9657 and tests/patmat/gadt.scala
478-
//
479-
// `erase` is a walkaround to make the following code pass the check:
477+
// `erase` is a workaround to make the following code pass the check:
480478
//
481479
// def f(e: Either[Int, String]) = e match {
482480
// case Left(i) => i

0 commit comments

Comments
 (0)