Skip to content

Commit 654ce91

Browse files
committed
Fantomas
1 parent 5c475ea commit 654ce91

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Diff for: src/Compiler/Service/ServiceInterfaceStubGenerator.fs

+5-4
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,11 @@ module InterfaceStubGenerator =
352352
| _, true, _, name -> name + parArgs
353353
// Ordinary functions or values
354354
| false, _, _, name when
355-
v.ApparentEnclosingEntity
356-
|> Option.map _.HasAttribute<RequireQualifiedAccessAttribute>()
357-
|> Option.defaultValue false
358-
|> not ->
355+
v.ApparentEnclosingEntity
356+
|> Option.map _.HasAttribute<RequireQualifiedAccessAttribute>()
357+
|> Option.defaultValue false
358+
|> not
359+
->
359360
name + " " + parArgs
360361
// Ordinary static members or things (?) that require fully qualified access
361362
| _, _, _, name -> name + parArgs

Diff for: src/Compiler/Symbols/Symbols.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1702,7 +1702,7 @@ type FSharpMemberOrFunctionOrValue(cenv, d:FSharpMemberOrValData, item) =
17021702
| Some v -> v
17031703
| None -> failwith "DeclarationLocation property not available"
17041704

1705-
member _.DeclaringEntity: FSharpEntity option =
1705+
member _.DeclaringEntity: FSharpEntity option =
17061706
checkIsResolved()
17071707
match d with
17081708
| E e -> FSharpEntity(cenv, e.DeclaringTyconRef) |> Some

0 commit comments

Comments
 (0)