Skip to content

Commit 494cb00

Browse files
smarterbishabosha
authored andcommitted
Fix exhaustiveness warnings on 2.13
SeqFactory changed package, since we never actually complete the symbol, this did not lead to a runtime error since we ended up creating a stub symbol for it.
1 parent 0cf8fd9 commit 494cb00

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
288288
import tpd._
289289
import SpaceEngine._
290290

291-
private val scalaSeqFactoryClass = ctx.requiredClass("scala.collection.generic.SeqFactory")
291+
private val scalaSeqFactoryClass = ctx.requiredClass("scala.collection.SeqFactory")
292292
private val scalaListType = ctx.requiredClassRef("scala.collection.immutable.List")
293293
private val scalaNilType = ctx.requiredModuleRef("scala.collection.immutable.Nil")
294294
private val scalaConsType = ctx.requiredClassRef("scala.collection.immutable.::")

0 commit comments

Comments
 (0)