git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Add missing case
commit46dd0a681eea1d2801262b66f1334c38782a1189 authorGary Burgess <gary.burgess@gmail.com> dateFri 8 May 2015, 11:07 (11 years ago) parentb1385d9
1 file changed+3
src/Language/PureScript/Errors.hs+3
src/Language/PureScript/Errors.hs+3
@@ -369,6 +369,9 @@ prettyPrintSingleError full e = prettyPrintErrorMessage <$> onTypesInErrorMessag
369369 goSimple (ErrorParsingFFIModule path) = paras [ line "Unable to parse module from FFI file: "
370370 , indent . line $ path
371371 ]
372+ goSimple (ErrorParsingModule err) = paras [ line "Unable to parse module: "
373+ , indent . line . show $ err
374+ ]
372375 goSimple (ErrorParsingPrelude err) = paras [ line "Error parsing prelude: "
373376 , indent . line . show $ err
374377 ]