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
The text was updated successfully, but these errors were encountered:
sir-wabbit
changed the title
Can't prove equality between syntactically equal type aliases
Can't prove equality between syntactically equal type aliases to an existential type
Oct 19, 2017
There is a problem, but I don't think it's quite what the headline describes. For instance, the following, which I think is equivalent to what you intended above, is just fine,
scala>typeA= a.T forSome { vala:R[_]}
defined typealiasA
scala>typeB= a.T forSome { vala:R[_]}
defined typealiasB
scala> implicitly[A=:=B]
res13:A=:=B= <function1>
Uh oh!
There was an error while loading. Please reload this page.
Tested in 2.11 on ScalaFiddle and 2.12.1 in REPL.
The text was updated successfully, but these errors were encountered: