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
scala.MatchError:AppliedType(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module classcollection)),module immutable),Seq),List(TypeRef(ThisType(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module classscala)),module tasty),classReflection)),typeTerm))) (of classdotty.tools.dotc.core.Types$CachedAppliedType) while compiling scala.tasty.ReflectionException in thread "main" scala.MatchError:AppliedType(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module classcollection)),module immutable),Seq),List(TypeRef(ThisType(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module classscala)),module tasty),classReflection)),typeTerm))) (of classdotty.tools.dotc.core.Types$CachedAppliedType)
at scala.tasty.reflect.SourceCodePrinter$Buffer.printTypeTree(SourceCodePrinter.scala:1018)
at scala.tasty.reflect.SourceCodePrinter$Buffer.printParamDef(SourceCodePrinter.scala:848)
at scala.tasty.reflect.SourceCodePrinter$Buffer.printSeparated$14(SourceCodePrinter.scala:803)
at scala.tasty.reflect.SourceCodePrinter$Buffer.printArgsDefs$$anonfun$1(SourceCodePrinter.scala:810)
...
SourceCodePrinter.scala
ref.tpe match {
case tpe: TypeRef if tpe.typeSymbol == ctx.requiredClass("scala.annotation.internal.Repeated") =>
val Types.Sequence(tp) = tpt.tpe // HERE
(and there are more errors besides the above line)
The text was updated successfully, but these errors were encountered:
It would be great to test TastyInspector & SourceCodePrinter on all dotty-library.jar files as a part of CI, to ensure that TASTy Inspect / Reflect APIs are stable.
Uh oh!
There was an error while loading. Please reload this page.
Code (0.22.0-RC1)
Output
SourceCodePrinter.scala
(and there are more errors besides the above line)
The text was updated successfully, but these errors were encountered: