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.
2 parents c5d8cba + a40df05 commit 0cc73c6Copy full SHA for 0cc73c6
src/dotty/tools/dotc/typer/Implicits.scala
@@ -380,6 +380,7 @@ trait Implicits { self: Typer =>
380
override def viewExists(from: Type, to: Type)(implicit ctx: Context): Boolean = (
381
!from.isError
382
&& !to.isError
383
+ && !ctx.isAfterTyper
384
&& (ctx.mode is Mode.ImplicitsEnabled)
385
&& { from.widenExpr match {
386
case from: TypeRef if defn.ScalaValueClasses contains from.symbol =>
0 commit comments