We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c569f23 commit fc20768Copy full SHA for fc20768
compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
@@ -474,9 +474,7 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
474
475
/** Is `tp1` a subtype of `tp2`? */
476
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:
+ // `erase` is a workaround to make the following code pass the check:
480
//
481
// def f(e: Either[Int, String]) = e match {
482
// case Left(i) => i
0 commit comments