git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
D'oh.
commit5d2bf0b72556c02aced10ee4d51d82e28293d6b9 authorPhil Freeman <paf31@cantab.net> dateWed 11 Feb 2015, 10:05 (12 years ago) parentc502228
1 file changed−4
src/Language/PureScript/TypeChecker/Entailment.hs−4
src/Language/PureScript/TypeChecker/Entailment.hs−4
@@ -228,10 +228,6 @@ typeHeadsAreEqual m e r1@(RCons _ _ _) r2@(RCons _ _ _) =
228228 go [] (TypeVar v1) [] (TypeVar v2) | v1 == v2 = Just []
229229 go [] (Skolem _ s1 _) [] (Skolem _ s2 _) | s1 == s2 = Just []
230230 go sd r [] (TypeVar v) = Just [(v, rowFromList (sd, r))]
231− -- Technically, this case should result in solved variables. Until the constraint
232− -- solver runs in the UnifyT monad, this just means that some (unusual) instances
233− -- will not be found.
234− go _ (TypeVar _) _ (TypeVar _) = Just []
235231 go _ _ _ _ = Nothing
236232typeHeadsAreEqual _ _ _ _ = Nothing
237233