-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
area:metaprogramming:reflectionIssues related to the quotes reflection APIIssues related to the quotes reflection APIitype:bugstat:needs minimizationNeeds a self contained minimizationNeeds a self contained minimization
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.showOutput
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
Metadata
Metadata
Assignees
Labels
area:metaprogramming:reflectionIssues related to the quotes reflection APIIssues related to the quotes reflection APIitype:bugstat:needs minimizationNeeds a self contained minimizationNeeds a self contained minimization