git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #996 from purescript/981

Fix #981

commite1ecb6b5f7bc79a217bfe8dd9f6c8129edf84ba6 authorPhil Freeman <paf31@cantab.net> dateMon 23 Mar 2015, 09:30 (12 years ago) parented9c10236c640a
1 file changed+1−1
src/Language/PureScript/Errors.hs+1−1
src/Language/PureScript/Errors.hs+1−1
@@ -177,13 +177,13 @@ errorCode (IncorrectConstructorArity _) = "IncorrectConstructorArity"
177177errorCode SubsumptionCheckFailed = "SubsumptionCheckFailed"
178178errorCode (ExprDoesNotHaveType _ _) = "ExprDoesNotHaveType"
179179errorCode (PropertyIsMissing _ _) = "PropertyIsMissing"
180−errorCode (ErrorUnifyingTypes _ _ _) = "ErrorUnifyingTypes"
181180errorCode (CannotApplyFunction _ _) = "CannotApplyFunction"
182181errorCode TypeSynonymInstance = "TypeSynonymInstance"
183182errorCode InvalidNewtype = "InvalidNewtype"
184183errorCode (InvalidInstanceHead _) = "InvalidInstanceHead"
185184errorCode (TransitiveExportError _ _) = "TransitiveExportError"
186185errorCode (NotYetDefined _ e) = errorCode e
186+errorCode (ErrorUnifyingTypes _ _ e) = errorCode e
187187errorCode (ErrorInExpression _ e) = errorCode e
188188errorCode (ErrorInModule _ e) = errorCode e
189189errorCode (ErrorInInstance _ _ e) = errorCode e