This commit is contained in:
Folkert 2020-07-30 13:30:46 +02:00
parent eb793b2b44
commit d784f62cd3
5 changed files with 661 additions and 532 deletions

View file

@ -346,8 +346,8 @@ fn layout_from_flat_type<'a>(
Ok(layout_from_tag_union(arena, tags, subs, pointer_size))
}
RecursiveTagUnion(_, _, _) => {
panic!("TODO make Layout for non-empty Tag Union");
RecursiveTagUnion(_rec_var, _tags, _ext_var) => {
panic!("TODO make Layout for empty RecursiveTagUnion");
}
EmptyTagUnion => {
panic!("TODO make Layout for empty Tag Union");