Make the inferredTypesRecorded property check Infer has been removed.

This commit is contained in:
Adam Sampson 2008-04-05 22:41:29 +00:00
parent 8bbca0f760
commit 9fa45cf406

View File

@ -227,7 +227,12 @@ rainParDeclarationsPulledUp :: Property
rainParDeclarationsPulledUp = Property "rainParDeclarationsPulledUp" checkTODO
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.UserDataType {}) = True
@ -392,4 +397,4 @@ slicesSimplified = Property "slicesSimplified" $
findJustFromOrFor _ = False
listsGivenType :: Property
listsGivenType = Property "listsGivenType" checkTODO
listsGivenType = Property "listsGivenType" checkTODO