@@ -2428,7 +2428,7 @@ module BindingNormalization =
24282428 // of available items, to the point that you can't even define a function with the same name as an existing union case.
24292429 match pat with
24302430 | SynPat.FromParseError(p, _) -> normPattern p
2431- | SynPat.LongIdent (LongIdentWithDots(longId, _), toolId, tyargs, SynArgPats.Pats args, vis, m) ->
2431+ | SynPat.LongIdent (longDotId= LongIdentWithDots(longId, _); extraId= toolId; typarDecls= tyargs; argPats= SynArgPats.Pats args; accessibility= vis; range= m) ->
24322432 let typars = match tyargs with None -> inferredTyparDecls | Some typars -> typars
24332433 match memberFlagsOpt with
24342434 | None ->
@@ -4962,7 +4962,7 @@ and TcPat warnOnUpper cenv env topValInfo vFlags (tpenv, names, takenNames) ty p
49624962 let pats', acc = TcPatterns warnOnUpper cenv env vFlags (tpenv, names, takenNames) (List.map (fun _ -> ty) pats) pats
49634963 (fun values -> TPat_conjs(List.map (fun f -> f values) pats', m)), acc
49644964
4965- | SynPat.LongIdent (LongIdentWithDots(longId, _), _, tyargs, args, vis, m) ->
4965+ | SynPat.LongIdent (longDotId= LongIdentWithDots(longId, _); typarDecls= tyargs; argPats= args; accessibility= vis; range= m) ->
49664966 if Option.isSome tyargs then errorR(Error(FSComp.SR.tcInvalidTypeArgumentUsage(), m))
49674967 let warnOnUpperForId =
49684968 match args with
@@ -4994,7 +4994,7 @@ and TcPat warnOnUpper cenv env topValInfo vFlags (tpenv, names, takenNames) ty p
49944994 | SynPat.Const (c, m) -> SynExpr.Const (c, m)
49954995 | SynPat.Named (id, _, None, _) -> SynExpr.Ident id
49964996 | SynPat.Typed (p, cty, m) -> SynExpr.Typed (convSynPatToSynExpr p, cty, m)
4997- | SynPat.LongIdent (LongIdentWithDots(longId, dotms) as lidwd, _, _tyargs, args, None, m) ->
4997+ | SynPat.LongIdent (longDotId= LongIdentWithDots(longId, dotms) as lidwd; argPats= args; accessibility= None; range= m) ->
49984998 let args = match args with SynArgPats.Pats args -> args | _ -> failwith "impossible: active patterns can be used only with SynConstructorArgs.Pats"
49994999 let e =
50005000 if dotms.Length = longId.Length then
@@ -9620,7 +9620,7 @@ and CheckRecursiveBindingIds binds =
96209620 match b with
96219621 | SynPat.Named(id, _, _, _)
96229622 | SynPat.As(_, SynPat.Named(id, _, _, _), _)
9623- | SynPat.LongIdent(LongIdentWithDots([id], _), _, _, _, _, _ ) -> id.idText
9623+ | SynPat.LongIdent(longDotId= LongIdentWithDots([id], _)) -> id.idText
96249624 | _ -> ""
96259625 if nm <> "" && not (hashOfBinds.Add nm) then
96269626 error(Duplicate("value", nm, m))
0 commit comments