Skip to content

Commit

Permalink
remove FIXME regarding constraints
Browse files Browse the repository at this point in the history
Per robdockins: I think we can safely ignore the ntConstraints here.
They arise from the "well formed" side conditions on types mentioned
in the newtype fields.
  • Loading branch information
Andrew Kent committed Mar 11, 2022
1 parent c721c7a commit b488b4c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cryptol-saw-core/src/Verifier/SAW/Cryptol.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1818,7 +1818,6 @@ genNewtypeConstructors sc newtypes env0 =
newtypeConstr :: Newtype -> C.Expr
newtypeConstr nt = foldr tFn fn (C.ntParams nt)
where
-- FIXME? What about the `ntConstraints` for the Newtype...?
paramName = C.asParamName (ntName nt)
recTy = C.TRec $ ntFields nt
fn = C.EAbs paramName recTy (C.EVar paramName) -- EAbs Name Type Expr -- ETAbs TParam Expr
Expand Down

0 comments on commit b488b4c

Please sign in to comment.