Closed ajreynol closed 5 years ago
This ensures we check that the return type of side conditions matches the body of the side condition.
Unfortunately I don't think there a test I can add to exercise this fix (since this would require infrastructure for testing failing LFSC tests).
For reference, here is a file that would previously pass when it should not:
(declare bool type) (declare tt bool) (declare ff bool) (program f1 ((n mpz)) mpz (mp_ifneg n tt ff) )
This ensures we check that the return type of side conditions matches the body of the side condition.
Unfortunately I don't think there a test I can add to exercise this fix (since this would require infrastructure for testing failing LFSC tests).