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>classVal[A](valvalue:Int) extendsAnyVal
defined classVal
scala>classC2 { deffoo[A](in: Val[A]) = in }
defined classC2
scala>classOf[C2].getMethods.head
res4: java.lang.reflect.Method= public int C2.foo(int)
scala> res4.getGenericParameterTypes
res5: Array[java.lang.reflect.Type] =Array(.Val<A>)
@gkossakowski said:
Paul said (in scala/scala#1345):
bq. I'm not enormously confident that I'm generating the right signatures, but it's closer at worst.
I'm actually getting more confident so I'll mark this as fixed. Please reopen if you find issues with generic signatures and value classes.
That's bad, m'kay.
Discussion: https://groups.google.com/d/topic/scala-sips/KSm99KoiYNA/discussion
The text was updated successfully, but these errors were encountered: