scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Dealias less in OrderingConstraint.replace and AvoidMap

Open joroKr21 opened this issue 3 years ago • 1 comments

Basically if the transformation doesn't apply to the dealias type, then return the original type instead of the dealiased one.

In general it's reduce dealiasing to a minimum when typing, because it can affect type unification as shown in the tests.

Unfortunately this doesn't handle the case of a singleton type alias, because widenSingletons also dealiases and the same fix doesn't work.

joroKr21 avatar Jan 08 '22 19:01 joroKr21

I just opened to run the CI but I didn't find time to check the failures yet

joroKr21 avatar Jan 25 '22 14:01 joroKr21

Hey @joroKr21, just wanted to check in. Do you plan on returning back to this?

ckipp01 avatar May 10 '23 07:05 ckipp01

Maybe. But for now I will close it because I have no time.

joroKr21 avatar May 10 '23 08:05 joroKr21