From 186488a82e7ff45e638b87bcd8c1510043b5cbbf Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 30 Sep 2024 23:31:45 -0700 Subject: [PATCH] remove FIXME now that simplify_enums is fixed --- crates/fayalite/tests/module.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/fayalite/tests/module.rs b/crates/fayalite/tests/module.rs index 4dfeca5..9927d69 100644 --- a/crates/fayalite/tests/module.rs +++ b/crates/fayalite/tests/module.rs @@ -3357,10 +3357,6 @@ circuit check_enum_connect_any: 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 m = simplify_enums(orig_m, SimplifyEnumsKind::SimplifyToEnumsWithNoBody).unwrap(); dbg!(m);