@@ -582,7 +582,7 @@ module ExtendFunctionTable = struct
582582 Texp_apply {funct = {exp_desc = Texp_ident (path, {loc}, _)}; args};
583583 }
584584 when kindOpt <> None ->
585- let checkArg ((argLabel : Asttypes.arg_label ), _argOpt ) =
585+ let checkArg ((argLabel : Asttypes.Noloc. arg_label ), _argOpt ) =
586586 match (argLabel, kindOpt) with
587587 | (Labelled l | Optional l ), Some kind ->
588588 kind |> List. for_all (fun {Kind. label} -> label <> l)
@@ -624,7 +624,7 @@ module ExtendFunctionTable = struct
624624 when callee |> FunctionTable. isInFunctionInTable ~function Table ->
625625 let functionName = Path. name callee in
626626 args
627- |> List. iter (fun ((argLabel : Asttypes.arg_label ), argOpt ) ->
627+ |> List. iter (fun ((argLabel : Asttypes.Noloc. arg_label ), argOpt ) ->
628628 match (argLabel, argOpt |> extractLabelledArgument) with
629629 | Labelled label, Some (path, loc)
630630 when path |> FunctionTable. isInFunctionInTable ~function Table
@@ -672,7 +672,7 @@ module CheckExpressionWellFormed = struct
672672 ->
673673 let functionName = Path. name functionPath in
674674 args
675- |> List. iter (fun ((argLabel : Asttypes.arg_label ), argOpt ) ->
675+ |> List. iter (fun ((argLabel : Asttypes.Noloc. arg_label ), argOpt ) ->
676676 match argOpt |> ExtendFunctionTable. extractLabelledArgument with
677677 | Some (path , loc ) -> (
678678 match argLabel with
@@ -761,7 +761,7 @@ module Compile = struct
761761 let argsFromKind =
762762 innerFunctionDefinition.kind
763763 |> List. map (fun (entry : Kind.entry ) ->
764- ( Asttypes. Labelled entry.label,
764+ ( Asttypes.Noloc. Labelled entry.label,
765765 Some
766766 {
767767 expr with
@@ -785,7 +785,7 @@ module Compile = struct
785785 args
786786 |> List. find_opt (fun arg ->
787787 match arg with
788- | Asttypes. Labelled s , Some _ -> s = label
788+ | Asttypes.Noloc. Labelled s , Some _ -> s = label
789789 | _ -> false )
790790 in
791791 let argOpt =
0 commit comments