Skip to content

Commit

Permalink
Remove unnecessary AssociationRole variants
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneider-bensch committed Mar 13, 2024
1 parent 81f8b2f commit 1aa667c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions engine/lib/attr_payloads.ml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ module AssocRole = struct
| ProcessWrite
| ProcessInit
| ProtocolMessages
| PVConstructor
| PVHandwritten
[@@deriving show, yojson, compare, sexp, eq]
end

Expand All @@ -79,8 +77,6 @@ module AssocRole = struct
| ProcessWrite -> ProcessWrite
| ProcessInit -> ProcessInit
| ProtocolMessages -> ProtocolMessages
| PVConstructor -> PVConstructor
| PVHandwritten -> PVHandwritten
end

module MakeBase (Error : Phase_utils.ERROR) = struct
Expand Down
2 changes: 0 additions & 2 deletions hax-lib-macros/types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ pub enum AssociationRole {
ProcessWrite,
ProcessInit,
ProtocolMessages,
PVConstructor,
PVHandwritten,
}

/// Hax only understands one attribute: `#[hax::json(PAYLOAD)]` where
Expand Down

0 comments on commit 1aa667c

Please sign in to comment.