Skip to content

Commit

Permalink
Code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
jazullo committed Feb 16, 2024
1 parent 64fd67e commit cb4aed9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gibbon-compiler/src/Gibbon/L3/Typecheck.hs
Original file line number Diff line number Diff line change
Expand Up @@ -834,9 +834,8 @@ tcExp isPacked ddfs env exp =
SpawnE fn locs args -> go (AppE fn locs args)
SyncE -> pure voidTy
ParE e1 e2 -> do
ty1 <- go e1
ty2 <- go e2
pure $ ProdTy [ty1, ty2]
tys <- mapM go [e1, e2]
return $ ProdTy tys

WithArenaE v e -> do
let env' = extendVEnv v ArenaTy env
Expand Down

0 comments on commit cb4aed9

Please sign in to comment.