Skip to content

Commit 943537f

Browse files
committed
Revert "silence warnings during compilation"
This reverts commit 7dc69fe.
1 parent 7dc69fe commit 943537f

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

tests/FSharp.ApiDocs.Tests/files/AttributesTestLib/Attributes.fs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ type TestAttribute(?int: int, ?string: string, ?array: string array) =
99
member val Int = defaultArg int 0 with get, set
1010
member val Array = defaultArg array [||] with get, set
1111

12-
type IntTestAttribute(_int: int) =
12+
type IntTestAttribute(int: int) =
1313
inherit Attribute()
1414

15-
type BoolTestAttribute(_bool: bool) =
15+
type BoolTestAttribute(bool: bool) =
1616
inherit Attribute()
1717

18-
type StringTestAttribute(_string: string) =
18+
type StringTestAttribute(string: string) =
1919
inherit Attribute()
2020

21-
type ArrayTestAttribute(_array: string array) =
21+
type ArrayTestAttribute(array: string array) =
2222
inherit Attribute()
2323

24-
type MultipleTestAttribute(_string: string, _int: int, _array: int array) =
24+
type MultipleTestAttribute(string: string, int: int, array: int array) =
2525
inherit Attribute()
2626

2727
[<Obsolete>]
@@ -50,7 +50,7 @@ type AttributeInterface =
5050
[<TestAttribute>]
5151
type AttributeClass() =
5252
[<TestAttribute(String = "ctor")>]
53-
new(_i: int) = AttributeClass()
53+
new(i: int) = AttributeClass()
5454

5555
[<TestAttribute>]
5656
member _.TestMember = 1

tests/FSharp.ApiDocs.Tests/files/FsLib2/Library2.fs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type Test_Issue287() =
6767
/// Function Foo!
6868
abstract member Foo: int -> unit
6969
/// Empty function for signature
70-
default x.Foo _a = ()
70+
default x.Foo a = ()
7171

7272
[<RequireQualifiedAccess>]
7373
module Test_Issue472_R =
@@ -88,11 +88,11 @@ module Test_Issue472 =
8888

8989
type Test_Issue472_T() =
9090
/// Function MultPartial!
91-
member x.MultPartial (_arg1: int) (_arg2: int) = ()
91+
member x.MultPartial (arg1: int) (arg2: int) = ()
9292
/// Function MultArg!
93-
member x.MultArg(_arg1: int, _arg2: int) = ()
93+
member x.MultArg(arg1: int, arg2: int) = ()
9494
/// Function MultArgTupled!
95-
member x.MultArgTupled(_arg: (int * int)) = ()
95+
member x.MultArgTupled(arg: (int * int)) = ()
9696

9797
(*
9898
type ITestInterface =
@@ -117,16 +117,16 @@ module Test_Issue201Extensions =
117117
/// [omit]
118118
type Test_Omit() =
119119
/// This Should not be displayed
120-
member x.Foo _a = ()
120+
member x.Foo a = ()
121121

122122
/// Test ` ` test
123123
type Test_Empty_Code_Block() =
124-
let _empty = ()
124+
let empty = ()
125125

126126
module ``Space-Missing`` =
127127

128128
/// Implicit cast operator test
129-
type ``Implicit-Cast``(_value: int) =
129+
type ``Implicit-Cast``(value: int) =
130130
class
131131
end
132132

0 commit comments

Comments
 (0)