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
-- [E007] TypeMismatchError:/tmp/NamedTuple.scala:3:18----------------------3|valx= (aaa =1).aaa
|^^^^^^^^^^^^^|Found:Tuple1[Int]
|Required: (x$proxy2 : Tuple1[Int])
|---------------------------------------------------------------------------|Inline stack trace
|--------------------------------------|This location contains code that was inlined from NamedTuple.scala:40|--------------------------------------|This location contains code that was inlined from NamedTuple.scala:40|--------------------------------------|This location contains code that was inlined from NamedTuple.scala:40---------------------------------------------------------------------------|| longer explanation available when compiling with`-explain`
Expectation
This should compile successfully
The text was updated successfully, but these errors were encountered:
It looks like an Inliner bug. Basically, the inliner inlines a val x$proxy as x$proxy2: Tuple1[Int] and then tries
to adapt this to the expected type x$proxy2.type.
Compiler version
3.5.0
3.6.0-RC1-bin-20240821-a2c53a1-NIGHTLY
Minimized code
Output
Expectation
This should compile successfully
The text was updated successfully, but these errors were encountered: