Skip to content

Commit

Permalink
Fix bug in pretty printer for Direction.t
Browse files Browse the repository at this point in the history
  • Loading branch information
jnfoster committed Apr 30, 2019
1 parent f0578fa commit 1c85a09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/pretty.ml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ end = struct
let format_t fmt e =
match snd e with
| In -> Format.fprintf fmt "in"
| Out -> Format.fprintf fmt "in"
| Out -> Format.fprintf fmt "out"
| InOut -> Format.fprintf fmt "inout"
end

Expand Down
4 changes: 2 additions & 2 deletions lib/types.mli
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,8 @@ and Parser : sig

type case = pre_case info [@@deriving sexp,yojson]

type pre_transition =
Direct of
type pre_transition =
Direct of
{ next: P4String.t }
| Select of
{ exprs: Expression.t list;
Expand Down

0 comments on commit 1c85a09

Please sign in to comment.