Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zekun Wang committed Feb 27, 2024
1 parent 3f373e6 commit d3fced6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions third_party/move/move-model/src/builder/model_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,7 @@ impl<'env> ModelBuilder<'env> {
Type::Vector(ty) => {
self.check_recusive_struct_with_parents(ty, loc, path, checking, loc_checking)
},
Type::Primitive(..) | Type::TypeParameter(..) => true,
_ => panic!("ICE: invalid type in struct"),
_ => true,
}
}

Expand Down

0 comments on commit d3fced6

Please sign in to comment.