Wingman is still flummoxed by GADT evidence #1884
Labels
component: wingman
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Wingman should be able to fill in the hole with
t'
. GHC knows this:We can learn this by unifying
(t : ts1) ~ tys ~ (ty : ts)
thereforet ~ ty
andts1 ~ ts
. But that information never makes it to the Wingman unifier. Instead, our substition set looks like:The relevant bits here are the substitutions of
a1fDf :-> (':) @* ty ts
anda1fDf :-> (':) @* t ts
. But it's weird --- two separate substitutions for the same variable? Is this substitution not being persisted somehow?The text was updated successfully, but these errors were encountered: