You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit exposes a number of inexhaustive matches:
[warn] /Users/jason/code/dotty/src/dotty/tools/dotc/core/Trees.scala:716: match may not be exhaustive.
[warn] It would fail on the following inputs: Function(_, _), GenericApply(), ModuleDef(_, _, _), TypedSplice()
[warn] def transform(tree: Tree[T], c: C): Tree[T] = tree match {
[warn] ^
[warn] /Users/jason/code/dotty/src/dotty/tools/dotc/core/Trees.scala:870: match may not be exhaustive.
[warn] It would fail on the following inputs: Function(_, _), GenericApply(), ModuleDef(_, _, _), TypedSplice()
[warn] def foldOver(x: T, tree: Tree[U]): T = tree match {
[warn] ^
[warn] two warnings found
[info] Compiling 52 Scala sources to /Users/jason/code/dotty/target/scala-2.10/classes...
[warn] /Users/jason/code/dotty/src/dotty/tools/dotc/core/PluggableTransformers.scala:80: match may not be exhaustive.
[warn] It would fail on the following inputs: Alternative(_), AndTypeTree(_, _), Annotated(_, _), AppliedTypeTree(_, _), Assign(_, _), Bind(_, _), Block(_, _), CaseDef(_, _, _), ClassDef(_, _, _, _), DefDef(_, _, _, _, _, _), EmptyTree(), EmptyValDef(), Function(_, _), GenericApply(), If(_, _, _), Import(_, _), Literal(_), Match(_, _), ModuleDef(_, _, _), NamedArg(_, _), New(_), OrTypeTree(_, _), PackageDef(_, _), Pair(_, _), RefineTypeTree(_, _), Return(_, _), SelectFromTypeTree(_, _), SeqLiteral(_, _), Shared(_), SingletonTypeTree(_), Super(_, _), Template(_, _, _), This(_), Throw(_), Tree(), Try(_, _, _), TypeBoundsTree(_, _), TypeDef(_, _, _), TypeTree(_), Typed(_, _), TypedSplice(), UnApply(_, _)
[warn] protected def postProcess(tree: Tree[T], old: Tree[T], c: Context, plugins: Plugins): Tree[T] = tree match {
[warn] ^
[warn] /Users/jason/code/dotty/src/dotty/tools/dotc/core/Trees.scala:716: match may not be exhaustive.
[warn] It would fail on the following inputs: Function(_, _), GenericApply(), ModuleDef(_, _, _), TypedSplice()
[warn] def transform(tree: Tree[T], c: C): Tree[T] = tree match {
[warn] ^
[warn] /Users/jason/code/dotty/src/dotty/tools/dotc/core/Trees.scala:870: match may not be exhaustive.
[warn] It would fail on the following inputs: Function(_, _), GenericApply(), ModuleDef(_, _, _), TypedSplice()
[warn] def foldOver(x: T, tree: Tree[U]): T = tree match {
[warn] ^
[warn] /Users/jason/code/dotty/src/dotty/tools/dotc/core/TypedTrees.scala:359: match may not be exhaustive.
[warn] It would fail on the following inputs: EmptyTree(), GenericApply(), Try(_, _, _)
[warn] def checkType(tree: tpd.Tree)(implicit ctx: Context): Unit = tree match {
[warn]
0 commit comments