Make the inferredTypesRecorded property check Infer has been removed.
This commit is contained in:
parent
8bbca0f760
commit
9fa45cf406
|
@ -227,7 +227,12 @@ rainParDeclarationsPulledUp :: Property
|
||||||
rainParDeclarationsPulledUp = Property "rainParDeclarationsPulledUp" checkTODO
|
rainParDeclarationsPulledUp = Property "rainParDeclarationsPulledUp" checkTODO
|
||||||
|
|
||||||
inferredTypesRecorded :: Property
|
inferredTypesRecorded :: Property
|
||||||
inferredTypesRecorded = Property "inferredTypesRecorded" checkTODO
|
inferredTypesRecorded = Property "inferredTypesRecorded" $
|
||||||
|
checkNull "inferredTypesRecorded" . listify findInfer
|
||||||
|
where
|
||||||
|
findInfer :: A.Type -> Bool
|
||||||
|
findInfer A.Infer = True
|
||||||
|
findInfer _ = False
|
||||||
|
|
||||||
findUDT :: A.Type -> Bool
|
findUDT :: A.Type -> Bool
|
||||||
findUDT (A.UserDataType {}) = True
|
findUDT (A.UserDataType {}) = True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user