Skip to content

Conversation

joroKr21
Copy link
Member

@joroKr21 joroKr21 commented Jan 8, 2022

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
Copy link
Member Author

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

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.
@ckipp01
Copy link
Member

ckipp01 commented May 10, 2023

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

@joroKr21
Copy link
Member Author

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

@joroKr21 joroKr21 closed this May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no implicit argument was found for implicit parameter
2 participants