Skip to content

Commit

Permalink
Remove undefined_gen for if-else type
Browse files Browse the repository at this point in the history
* Remove the TODO workaround as fixed.

Signed-off-by: Pan Li <[email protected]>
  • Loading branch information
Incarnation-p-lee committed May 3, 2024
1 parent a0dadc7 commit 2dac639
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/float/common.sail
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ type fp_bits = { 'n, 'n in {16, 32, 64}. bits('n) } /* Floating-point in bits. *
let fp_eflag_invalid : fp_exception_flags = 0b00001

/* Floating point struct */
$[undefined_gen forbid] /* Todo: temporarlly workaround a type check error. */
struct float_bits('n : Int) = {
sign : bits(1),
exp : bits(if 'n == 16
Expand Down

0 comments on commit 2dac639

Please sign in to comment.