We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note two distinct crash points. Regression from 2.9.
object Test { // This one crashes in superaccessors def f1 = classManifest[Predef.ArrowAssoc[_]] // This one crashes in jvm def f2 = classTag[Predef.ArrowAssoc[_]] // f1: // // error: Unknown type: Predef$ArrowAssoc$unboxed, Predef$ArrowAssoc$unboxed [class scala.reflect.internal.Types$UniqueErasedValueType, class scala.reflect.internal.Types$UniqueErasedValueType] TypeRef? false // f2: // // TRANSFORM: null // TREE: reflect.this.ClassManifest.<error>[ArrowAssoc[_]](classOf[scala.Predef$$ArrowAssoc].asInstanceOf[Class[ArrowAssoc[_]]], reflect.this.NoManifest) // TRANSFORM: null // TREE: scala.this.Predef.classManifest[ArrowAssoc[_]](reflect.this.ClassManifest.<error>[ArrowAssoc[_]](classOf[scala.Predef$$ArrowAssoc].asInstanceOf[Class[ArrowAssoc[_]]], reflect.this.NoManifest)) // TRANSFORM: a.scala }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-5731?orig=1 Reporter: @paulp
Sorry, something went wrong.
@paulp said: Also, it doesn't crash with a non-wildcard in the type parameter position, and typeTag does and doesn't crash the same way.
scala> classTag[scala.Predef.ArrowAssoc[String]] res0: ClassTag[ArrowAssoc[String]] = ClassTag[class scala.Predef$ArrowAssoc] scala> typeTag[scala.Predef.ArrowAssoc[_]] ReplGlobal.abort: Unknown type: Predef$ArrowAssoc$unboxed, Predef$ArrowAssoc$unboxed [class scala.reflect.internal.Types$UniqueErasedValueType, class scala.reflect.internal.Types$UniqueErasedValueType] TypeRef? false error: Unknown type: Predef$ArrowAssoc$unboxed, Predef$ArrowAssoc$unboxed [class scala.reflect.internal.Types$UniqueErasedValueType, class scala.reflect.internal.Types$UniqueErasedValueType] TypeRef? false
@adriaanm said: scala/scala#933
xeno-by
No branches or pull requests
Note two distinct crash points. Regression from 2.9.
The text was updated successfully, but these errors were encountered: