on master help sign in
Get rid of wildcard in pattern match
commitc4ee464ddcaf4111ba0d80ee75bf62b12e9ca74f authorEvan Czaplicki <evancz@users.noreply.github.com> dateFri 16 Feb 2018, 18:30 (9 years ago) parent0bdfd73
1 file changed+2−1
src/Type/Unify.hs+2−1
src/Type/Unify.hs+2−1
@@ -320,7 +320,8 @@ unifyFlexSuper context super content otherContent =
320320 case otherSuper of
321321 Number -> merge context content
322322 Comparable -> merge context content
323− _ -> mismatch
323+ Appendable -> mismatch
324+ CompAppend -> mismatch
324325
325326 Comparable ->
326327 case otherSuper of