Skip to content

Commit

Permalink
Fix cherry pick of module name parse commit
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Feb 24, 2020
1 parent 77be207 commit 4e9ca5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dune/module_name.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module Unique = struct
let of_name_assuming_needs_no_mangling name = String.uncapitalize_ascii name

let to_name t ~loc =
match of_string_opt t with
match parse_string t with
| Some t -> t
| None ->
User_error.raise ~loc
Expand Down

0 comments on commit 4e9ca5d

Please sign in to comment.