Remove debug assert

This commit is contained in:
Ayaz Hafiz 2022-09-21 12:28:59 -05:00
parent f2c9fd2b48
commit e50f8d4888
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -380,8 +380,6 @@ fn jit_to_ast_help<'a, A: ReplApp<'a>>(
Ok(struct_to_ast(env, mem, addr, RecordFields::empty()))
}
Content::Structure(FlatType::TagUnion(tags, _)) => {
debug_assert_eq!(tags.len(), 1);
let (tag_name, payload_vars) = unpack_single_element_tag_union(env.subs, *tags);
Ok(single_tag_union_to_ast(