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
But if we run it through the pickler/unpickler (easiest way is to do dotc -Ythrough-tasty Test.scala), we get:
--Error:/home/smarter/opt/dotty/try/tt.scala:9:4-----------------------------9| p.foo(1)
|^^^^^^^| overloaded alternatives of method foo in classCwith types
| (x: Int):Int| [T](x: Int):Int does not take parameters
The problem is that in Tasty, we use this representation:
This uses the denotation signature and not the symbol signature, so both alternatives have the same signature.
Fixing this is necessary to switch to the 2.13 collections.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
This code compiles fine:
But if we run it through the pickler/unpickler (easiest way is to do
dotc -Ythrough-tasty Test.scala
), we get:The problem is that in Tasty, we use this representation:
This uses the denotation signature and not the symbol signature, so both alternatives have the same signature.
Fixing this is necessary to switch to the 2.13 collections.
The text was updated successfully, but these errors were encountered: