Skip to content

Commit

Permalink
Remove outdated assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jfecher committed May 22, 2024
1 parent bf999d9 commit 7be1561
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/noirc_frontend/src/node_interner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1381,8 +1381,6 @@ impl NodeInterner {
impl_generics: Generics,
trait_impl: Shared<TraitImpl>,
) -> Result<(), (Span, FileId)> {
assert_eq!(impl_id.0, self.trait_implementations.len(), "trait impl defined out of order");

self.trait_implementations.insert(impl_id, trait_impl.clone());

// Replace each generic with a fresh type variable
Expand Down

0 comments on commit 7be1561

Please sign in to comment.