Skip to content

Commit

Permalink
mark the parser type of set_parser erasable
Browse files Browse the repository at this point in the history
With that, parser extraction SUCCEEDS!
  • Loading branch information
tahina-pro committed Feb 12, 2025
1 parent b857fcd commit 1c2b14f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cddl/pulse/CDDL.Pulse.Bundle.ArrayGroup.fst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let array_bundle_set_parser
([@@@erasable] b: Ghost.erased (array_bundle cbor_array_iterator_match))
(t: Type0)
([@@@erasable] t_eq: squash (t == b.ab_impl_type))
(#t': Type)
(#[@@@erasable] t': Type)
(p: t')
([@@@erasable] p_eq: squash (t' == impl_zero_copy_array_group cbor_array_iterator_match b.ab_spec.ag_parser b.ab_rel))
: Tot (array_bundle cbor_array_iterator_match)
Expand Down
2 changes: 1 addition & 1 deletion src/cddl/pulse/CDDL.Pulse.Bundle.Base.fst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let bundle_set_parser
([@@@erasable] b: Ghost.erased (bundle vmatch))
(t: Type0)
([@@@erasable] t_eq: squash (t == b.b_impl_type))
(#t': Type)
(#[@@@erasable] t': Type)
(p: t')
([@@@erasable] p_eq: squash (t' == impl_zero_copy_parse vmatch b.b_spec.parser b.b_rel))
: Tot (bundle vmatch)
Expand Down

0 comments on commit 1c2b14f

Please sign in to comment.