Skip to content

Commit 4224938

Browse files
nox213zielinsky
authored andcommitted
address review
1 parent e00caba commit 4224938

File tree

1 file changed

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

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,6 @@ object SpaceEngine {
717717

718718
extension (tp: Type)
719719
def isDecomposableToChildren(using Context): Boolean =
720-
val sym = tp.typeSymbol // e.g. Foo[List[Int]] = type Foo (i19275)
721720
val cls = tp.classSymbol // e.g. Foo[List[Int]] = class List
722721
tp.hasSimpleKind // can't decompose higher-kinded types
723722
&& cls.is(Sealed)

0 commit comments

Comments
 (0)