Turned off the checkFunction pass for now, since it is over-eager at spotting problems with Rain functions
This commit is contained in:
parent
f9d55d2c65
commit
bd7584e280
|
@ -215,8 +215,9 @@ transformRangeRep = doGeneric `extM` doExpression
|
|||
(A.ExprVariable m $ A.Variable m rep)
|
||||
doExpression e = doGeneric e
|
||||
|
||||
-- TODO this is almost certainly better figured out from the CFG
|
||||
checkFunction :: Data t => t -> PassM t
|
||||
checkFunction = everywhereM (mkM checkFunction')
|
||||
checkFunction = return -- everywhereM (mkM checkFunction')
|
||||
where
|
||||
checkFunction' :: A.Specification -> PassM A.Specification
|
||||
checkFunction' spec@(A.Specification _ n (A.Function m _ _ _ (Right body)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user