Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion graphql_parser.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ depends: [
"dune" {build}
"menhir" {build}
"alcotest" {with-test & >= "0.8.1"}
"fmt" {< "0.8.7"}
"fmt"
"re" {>= "1.5.0"}
]

Expand Down
4 changes: 2 additions & 2 deletions graphql_parser/src/ast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ type document =
definition list

module Pp = struct
let comma = Fmt.(const string ",")
let colon = Fmt.(const string ":")
let comma : unit Fmt.t = Fmt.(const string ",")
let colon : unit Fmt.t = Fmt.(const string ":")

let quote_string s =
let open Re in
Expand Down