diff --git a/src/Compiler/Service/ServiceInterfaceStubGenerator.fs b/src/Compiler/Service/ServiceInterfaceStubGenerator.fs index fce448d27d0..2d48b46fa00 100644 --- a/src/Compiler/Service/ServiceInterfaceStubGenerator.fs +++ b/src/Compiler/Service/ServiceInterfaceStubGenerator.fs @@ -352,10 +352,11 @@ module InterfaceStubGenerator = | _, true, _, name -> name + parArgs // Ordinary functions or values | false, _, _, name when - v.ApparentEnclosingEntity - |> Option.map _.HasAttribute() - |> Option.defaultValue false - |> not -> + v.ApparentEnclosingEntity + |> Option.map _.HasAttribute() + |> Option.defaultValue false + |> not + -> name + " " + parArgs // Ordinary static members or things (?) that require fully qualified access | _, _, _, name -> name + parArgs