Skip to content
Snippets Groups Projects
Commit a8066070 authored by Keith Wansbrough's avatar Keith Wansbrough
Browse files

[project @ 2000-06-13 14:46:30 by keithw]

Alter to match new CoreLint.
parent 46620881
No related merge requests found
......@@ -146,8 +146,8 @@ tcPragExpr unf_env name in_scope_vars expr
-- Check for type consistency in the unfolding
tcGetSrcLoc `thenNF_Tc` \ src_loc ->
case lintUnfolding src_loc in_scope_vars core_expr' of
Nothing -> returnTc core_expr'
Just fail_msg -> failWithTc ((doc <+> text "failed Lint") $$ fail_msg)
(Nothing,_) -> returnTc core_expr' -- ignore warnings
(Just fail_msg,_) -> failWithTc ((doc <+> text "failed Lint") $$ fail_msg)
where
doc = text "unfolding of" <+> ppr name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment