remove FIXME now that simplify_enums is fixed
This commit is contained in:
parent
edcea1adc3
commit
186488a82e
|
@ -3357,10 +3357,6 @@ circuit check_enum_connect_any:
|
||||||
connect o2, i2 @[module-XXXXXXXXXX.rs 11:1]
|
connect o2, i2 @[module-XXXXXXXXXX.rs 11:1]
|
||||||
",
|
",
|
||||||
};
|
};
|
||||||
// FIXME: simplify_enums is broken when connecting enums that contain
|
|
||||||
// UInt/SInt where their widths don't match. it should recurse into the
|
|
||||||
// enum bodies so it can properly sign/zero-extend or truncate the
|
|
||||||
// contained UInt/SInt fields.
|
|
||||||
let orig_m = m.canonical().intern();
|
let orig_m = m.canonical().intern();
|
||||||
let m = simplify_enums(orig_m, SimplifyEnumsKind::SimplifyToEnumsWithNoBody).unwrap();
|
let m = simplify_enums(orig_m, SimplifyEnumsKind::SimplifyToEnumsWithNoBody).unwrap();
|
||||||
dbg!(m);
|
dbg!(m);
|
||||||
|
|
Loading…
Reference in a new issue