Skip to content

Commit

Permalink
Fix a minor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sonmarcho committed Nov 22, 2023
1 parent 5fa5de9 commit ace7c87
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions charon-ml/src/NameMatcher.ml
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,7 @@ and path_elem_with_generic_args_to_pattern (ctx : ctx) (c : to_pat_config)
match generics with
| None -> PIdent (s, [])
| Some args -> PIdent (s, args))
| PeImpl impl ->
assert (generics = None);
impl_elem_to_pattern ctx c impl
| PeImpl impl -> impl_elem_to_pattern ctx c impl

and impl_elem_to_pattern (ctx : ctx) (c : to_pat_config) (impl : T.impl_elem) :
pattern_elem =
Expand Down

0 comments on commit ace7c87

Please sign in to comment.