Navigation Menu

Skip to content

Commit

Permalink
tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
kmels committed Jul 25, 2013
1 parent b936c2e commit ec4c610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Language/Core/TestTy.hs
Expand Up @@ -98,9 +98,9 @@ getDefTypes filepath = do
return $ concatMap extractTypes vdefs
where
extractTypes :: Vdefg -> [(Id,Ty)]
extractTypes (Nonrec vdef@(Vdef(qvar, ty, _))) = [(qualifiedVar qvar, ty)]
extractTypes (Nonrec vdef@(Vdef(qvar, ty, _))) = [(zDecodeQualified qvar, ty)]
extractTypes (Rec []) = []
extractTypes (Rec (vdef@(Vdef(qvar, ty, _)):vs)) = [(qualifiedVar qvar, ty)] ++ extractTypes (Rec vs)
extractTypes (Rec (vdef@(Vdef(qvar, ty, _)):vs)) = [(zDecodeQualified qvar, ty)] ++ extractTypes (Rec vs)

intTy :: Ty
intTy = mkTcon "ghczmprim" ["GHC"] "Types" "Int"
Expand Down

0 comments on commit ec4c610

Please sign in to comment.