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 2ce9328 commit f3145f2Copy full SHA for f3145f2
compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala
@@ -498,8 +498,6 @@ class PlainPrinter(_ctx: Context) extends Printer {
498
"Failed Implicit"
499
case result: AmbiguousImplicits =>
500
"Ambiguous Implicit: " ~ toText(result.alt1) ~ " and " ~ toText(result.alt2)
501
- case _ =>
502
- "?Unknown Implicit Result?"
503
}
504
505
private var maxSummarized = Int.MaxValue
compiler/src/dotty/tools/dotc/typer/Implicits.scala
@@ -220,7 +220,7 @@ object Implicits {
220
221
222
/** The result of an implicit search */
223
- abstract class SearchResult extends Showable {
+ sealed abstract class SearchResult extends Showable {
224
def toText(printer: Printer): Text = printer.toText(this)
225
226
0 commit comments