Skip to content

ignored-partial-application warning #187

@jamesjer

Description

@jamesjer

When building git HEAD with OCaml 5.0, I see this:

File "utils.ml", line 70, characters 23-73:
70 |            try let _ = List.find (fun n -> Filesystem.exists (n p)) names in true
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 5 [ignored-partial-application]: this function application is partial,
maybe some arguments are missing.

Perhaps the (n p) on line 70 should be (p </> n)? And on line 73, perhaps (fun n -> n (List.hd paths)) should be (fun n -> (List.hd paths) </> n)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions