Open
Description
Compiler version
3.1.2-RC1-bin-20211022-f7abd32-NIGHTLY
Minimized code
import scala.quoted.*
import dotty.tools.dotc.core.Types.UnspecifiedErrorType
val tpe = UnspecifiedErrorType.asInstanceOf[TypeRepr]
tpe.show
Output
Exception occurred while executing macro expansion.
scala.MatchError: dotty.tools.dotc.core.Types$PreviousErrorType@614b58f4 (of class dotty.tools.dotc.core.Types$PreviousErrorType)
at scala.quoted.runtime.impl.printers.Extractors$ExtractorsPrinter.visitType(Extractors.scala:242)
Expectation
Successfully print the type representation