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
Within the current language, it actually makes sense that this does not pass.
As it is writting, MyType is a child of String, which should make the checker fail.
If we had def a: String = MyType(...), then it would pass, because the left side is the parent of the right side.
Description of Bug
Checker cannot deal with type alias.
How to Reproduce
when checking
We get
Unifying two types: Expected a 'MyType', was a 'String'
Expected behavior
If something is an alias, then we should check for the alias type and not the type itself.
The text was updated successfully, but these errors were encountered: