X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Normalize.hs;h=e0591a87e222c5dfff98d2df755de9bf26d091a6;hb=f2ce393c85a9ccb673f8ba2df12b7c5b649c3a34;hp=ee5ea8be621172a8d5b6269570f6e2b303776401;hpb=3322a2e193ef8f96a0ee43de0364196232c84ef4;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Normalize.hs b/Normalize.hs index ee5ea8b..e0591a8 100644 --- a/Normalize.hs +++ b/Normalize.hs @@ -503,7 +503,7 @@ normalizeBind bndr = then -- This should really only happen at the top level... TODO: Give -- a different error if this happens down in the recursion. - error $ "Function " ++ show bndr ++ " is polymorphic, can't normalize" + error $ "\nNormalize.normalizeBind: Function " ++ show bndr ++ " is polymorphic, can't normalize" else do normalized_funcs <- getA tsNormalized -- See if this function was normalized already @@ -537,4 +537,4 @@ normalizeBind bndr = return () -- We don't have a value for this binder. This really shouldn't -- happen for local id's... - Nothing -> error $ "No value found for binder " ++ pprString bndr ++ "? This should not happen!" + Nothing -> error $ "\nNormalize.normalizeBind: No value found for binder " ++ pprString bndr ++ "? This should not happen!"