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
When compiling from tasty (tests in tests/posFromTasty/)
packagefooclassFoo(a: Int) extendsAnyVal
When recompiling the code loaded from tasty there is a type mismatch in
exception while typing $this.a.==(x$0.a) of class class dotty.tools.dotc.ast.Trees$Apply # 7640
exception while typing x$0 match
{
case x$0 @ _: foo.Foo => $this.a.==(x$0.a)
case _: Any => false
} of class class dotty.tools.dotc.ast.Trees$Match # 7648
...
checking simpleValueClass1.scala after phase MegaPhase{checkStatic, elimRepeated, normalizeFlags, extmethods, expandSAMs, tailrec, byNameClosures, liftTry, hoistSuperArgs, classOf, refchecks}
java.lang.AssertionError: assertion failed: found: x$0.a.type
required: Any
The issue is that x$0.a.type as no type.
The text was updated successfully, but these errors were encountered:
nicolasstucki
changed the title
Typing error while compiling value classes from tasty
Typing error while compiling value classes from TASTY
Nov 30, 2017
When compiling from tasty (tests in
tests/posFromTasty/
)When recompiling the code loaded from tasty there is a type mismatch in
The issue is that
x$0.a.type
as no type.The text was updated successfully, but these errors were encountered: