Fix shadowing warning
commitdf297b4c0b875a9efb44353b629fcd3dda419174
authorHarry Garrood <harry@garrood.me>
dateWed 15 Apr 2015, 08:02 (12 years ago)
parentc1fe331
src/Language/PureScript/Errors.hs+1−1
@@ -439,7 +439,7 @@ prettyPrintSingleError full e = prettyPrintErrorMessage (if full then e else sim
439439 go (ErrorInForeignImport nm err) = paras [ line $ "Error in foreign import " ++ show nm ++ ":"
440440 , go err
441441 ]
442− go (PositionedError span err) = paras [ line $ "Error at " ++ displaySourceSpan span ++ ":"
442+ go (PositionedError srcSpan err) = paras [ line $ "Error at " ++ displaySourceSpan srcSpan ++ ":"
443443 , indent $ go err
444444 ]
445445