@@ -134,20 +134,20 @@ module ExprTranslationImpl =
134134/// The core tree of data produced by converting F# compiler TAST expressions into the form which we make available through the compiler API
135135/// through active patterns.
136136type E =
137- | Value of FSharpMemberFunctionOrValue
137+ | Value of FSharpMemberOrFunctionOrValue
138138 | ThisValue of FSharpType
139139 | BaseValue of FSharpType
140140 | Application of FSharpExpr * FSharpType list * FSharpExpr list
141- | Lambda of FSharpMemberFunctionOrValue * FSharpExpr
141+ | Lambda of FSharpMemberOrFunctionOrValue * FSharpExpr
142142 | TypeLambda of FSharpGenericParameter list * FSharpExpr
143143 | Quote of FSharpExpr
144144 | IfThenElse of FSharpExpr * FSharpExpr * FSharpExpr
145145 | DecisionTree of FSharpExpr * ( FSharpMemberOrFunctionOrValue list * FSharpExpr ) list
146146 | DecisionTreeSuccess of int * FSharpExpr list
147147 | Call of FSharpExpr option * FSharpMemberOrFunctionOrValue * FSharpType list * FSharpType list * FSharpExpr list
148148 | NewObject of FSharpMemberOrFunctionOrValue * FSharpType list * FSharpExpr list
149- | LetRec of ( FSharpMemberFunctionOrValue * FSharpExpr ) list * FSharpExpr
150- | Let of ( FSharpMemberFunctionOrValue * FSharpExpr ) * FSharpExpr
149+ | LetRec of ( FSharpMemberOrFunctionOrValue * FSharpExpr ) list * FSharpExpr
150+ | Let of ( FSharpMemberOrFunctionOrValue * FSharpExpr ) * FSharpExpr
151151 | NewRecord of FSharpType * FSharpExpr list
152152 | ObjectExpr of FSharpType * FSharpExpr * FSharpObjectExprOverride list * ( FSharpType * FSharpObjectExprOverride list ) list
153153 | FSharpFieldGet of FSharpExpr option * FSharpType * FSharpField
@@ -173,14 +173,14 @@ type E =
173173 | FastIntegerForLoop of FSharpExpr * FSharpExpr * FSharpExpr * bool
174174 | WhileLoop of FSharpExpr * FSharpExpr
175175 | TryFinally of FSharpExpr * FSharpExpr
176- | TryWith of FSharpExpr * FSharpMemberFunctionOrValue * FSharpExpr * FSharpMemberFunctionOrValue * FSharpExpr
176+ | TryWith of FSharpExpr * FSharpMemberOrFunctionOrValue * FSharpExpr * FSharpMemberOrFunctionOrValue * FSharpExpr
177177 | NewDelegate of FSharpType * FSharpExpr
178178 | ILFieldGet of FSharpExpr option * FSharpType * string
179179 | ILFieldSet of FSharpExpr option * FSharpType * string * FSharpExpr
180180 | ILAsm of string * FSharpType list * FSharpExpr list
181181
182182/// Used to represent the information at an object expression member
183- and [<Sealed>] FSharpObjectExprOverride ( sgn : FSharpAbstractSignature , gps : FSharpGenericParameter list , args : FSharpMemberFunctionOrValue list list, body : FSharpExpr ) =
183+ and [<Sealed>] FSharpObjectExprOverride ( sgn : FSharpAbstractSignature , gps : FSharpGenericParameter list , args : FSharpMemberOrFunctionOrValue list list, body : FSharpExpr ) =
184184 member __.Signature = sgn
185185 member __.GenericParameters = gps
186186 member __.CurriedParameterGroups = args
@@ -435,7 +435,7 @@ module FSharpExprConvert =
435435 let callArgs = ( objArgs:: untupledCurriedArgs) |> List.concat
436436 let enclTyArgs , methTyArgs = List.splitAfter numEnclTypeArgs tyargs
437437 // tailcall
438- ConvObjectModelCallLinear cenv env ( isNewObj, FSharpMemberFunctionOrValue ( cenv, vref), enclTyArgs, methTyArgs, callArgs) contf2
438+ ConvObjectModelCallLinear cenv env ( isNewObj, FSharpMemberOrFunctionOrValue ( cenv, vref), enclTyArgs, methTyArgs, callArgs) contf2
439439 else
440440 let v = FSharpMemberOrFunctionOrValue( cenv, vref)
441441 // tailcall
@@ -752,7 +752,7 @@ module FSharpExprConvert =
752752 let envinner = env.BindVal v
753753 Some( vR, rhsR), envinner
754754
755- and ConvObjectModelCallLinear cenv env ( isNewObj , v : FSharpMemberFunctionOrValue , enclTyArgs , methTyArgs , callArgs ) contf =
755+ and ConvObjectModelCallLinear cenv env ( isNewObj , v : FSharpMemberOrFunctionOrValue , enclTyArgs , methTyArgs , callArgs ) contf =
756756 let enclTyArgsR = ConvTypes cenv enclTyArgs
757757 let methTyArgsR = ConvTypes cenv methTyArgs
758758 let obj , callArgs =
@@ -802,11 +802,11 @@ module FSharpExprConvert =
802802 elif v.BaseOrThisInfo = BaseVal then
803803 E.BaseValue( ConvType cenv v.Type)
804804 else
805- E.Value( FSharpMemberFunctionOrValue ( cenv, vref))
805+ E.Value( FSharpMemberOrFunctionOrValue ( cenv, vref))
806806
807807 and ConvVal cenv ( v : Val ) =
808808 let vref = mkLocalValRef v
809- FSharpMemberFunctionOrValue ( cenv, vref)
809+ FSharpMemberOrFunctionOrValue ( cenv, vref)
810810
811811 and ConvConst cenv env m c ty =
812812 match TryEliminateDesugaredConstants cenv.g m c with
0 commit comments