Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0dcfa9b

Browse files
committed
fix test
1 parent2c43744 commit0dcfa9b

File tree

7 files changed

+33
-33
lines changed

7 files changed

+33
-33
lines changed

‎tests/fsharp/core/printing/z.output.test.1000.stderr.bsl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ stdin(624,17): warning FS0864: This new member hides the abstract member 'System
272272
member this.M()="string"
273273
----------------^
274274

275-
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodinthistype.
275+
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodin type 'ExpectDupMethod'.
276276

277277

278278
member this.P="string"
279279
----------------^
280280

281-
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodinthistype.
281+
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodin type 'ExpectDupProperty'.
282282

283283

284284
type public IBPublic= interface inherit IAPrivate abstract Q : int end

‎tests/fsharp/core/printing/z.output.test.200.stderr.bsl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ stdin(624,17): warning FS0864: This new member hides the abstract member 'System
272272
member this.M()="string"
273273
----------------^
274274

275-
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodinthistype.
275+
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodin type 'ExpectDupMethod'.
276276

277277

278278
member this.P="string"
279279
----------------^
280280

281-
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodinthistype.
281+
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodin type 'ExpectDupProperty'.
282282

283283

284284
type public IBPublic= interface inherit IAPrivate abstract Q : int end

‎tests/fsharp/core/printing/z.output.test.default.stderr.bsl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ stdin(624,17): warning FS0864: This new member hides the abstract member 'System
272272
member this.M()="string"
273273
----------------^
274274

275-
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodinthistype.
275+
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodin type 'ExpectDupMethod'.
276276

277277

278278
member this.P="string"
279279
----------------^
280280

281-
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodinthistype.
281+
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodin type 'ExpectDupProperty'.
282282

283283

284284
type public IBPublic= interface inherit IAPrivate abstract Q : int end

‎tests/fsharp/core/printing/z.output.test.off.stderr.bsl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ stdin(624,17): warning FS0864: This new member hides the abstract member 'System
272272
member this.M()="string"
273273
----------------^
274274

275-
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodinthistype.
275+
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodin type 'ExpectDupMethod'.
276276

277277

278278
member this.P="string"
279279
----------------^
280280

281-
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodinthistype.
281+
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodin type 'ExpectDupProperty'.
282282

283283

284284
type public IBPublic= interface inherit IAPrivate abstract Q : int end

‎tests/fsharp/core/printing/z.output.test.quiet.stderr.bsl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,13 @@ stdin(624,17): warning FS0864: This new member hides the abstract member 'System
272272
member this.M()="string"
273273
----------------^
274274

275-
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodinthistype.
275+
stdin(765,17): error FS0438: Duplicate method. The method 'M' has the same nameand signature as another methodin type 'ExpectDupMethod'.
276276

277277

278278
member this.P="string"
279279
----------------^
280280

281-
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodinthistype.
281+
stdin(772,17): error FS0438: Duplicate method. The method 'get_P' has the same nameand signature as another methodin type 'ExpectDupProperty'.
282282

283283

284284
type public IBPublic= interface inherit IAPrivate abstract Q : int end

‎tests/fsharp/typecheck/sigs/neg23.bsl‎

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11

2-
neg23.fs(9,21,9,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
2+
neg23.fs(9,21,9,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure1.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
33

4-
neg23.fs(7,21,7,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
4+
neg23.fs(7,21,7,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure1.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
55

6-
neg23.fs(19,21,19,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
6+
neg23.fs(19,21,19,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure2.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
77

8-
neg23.fs(17,21,17,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
8+
neg23.fs(17,21,17,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure2.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
99

10-
neg23.fs(28,21,28,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
10+
neg23.fs(28,21,28,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure3.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
1111

12-
neg23.fs(26,21,26,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
12+
neg23.fs(26,21,26,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure3.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
1313

14-
neg23.fs(55,21,55,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
14+
neg23.fs(55,21,55,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure6.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
1515

16-
neg23.fs(53,21,53,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
16+
neg23.fs(53,21,53,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure6.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
1717

18-
neg23.fs(64,21,64,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
18+
neg23.fs(64,21,64,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure7.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
1919

20-
neg23.fs(62,21,62,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
20+
neg23.fs(62,21,62,24): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'DuplicateOverloadUpToErasure7.SomeClass' once tuples, functions, units of measureand/or provided types are erased.
2121

2222
neg23.fs(76,9,76,11): typecheck error FS0410: The type 'IA' is less accessible than the value, memberor type 'IB' it is used in.
2323

24-
neg23.fs(83,18,83,20): typecheck error FS0439: The method 'X0' has curried arguments but has the same name as another methodinthistype. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
24+
neg23.fs(83,18,83,20): typecheck error FS0439: The method 'X0' has curried arguments but has the same name as another methodin type 'TestCurriedMemberRestricitons.C'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
2525

26-
neg23.fs(82,18,82,20): typecheck error FS0439: The method 'X0' has curried arguments but has the same name as another methodinthistype. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
26+
neg23.fs(82,18,82,20): typecheck error FS0439: The method 'X0' has curried arguments but has the same name as another methodin type 'TestCurriedMemberRestricitons.C'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
2727

28-
neg23.fs(85,18,85,21): typecheck error FS0439: The method 'X01' has curried arguments but has the same name as another methodinthistype. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
28+
neg23.fs(85,18,85,21): typecheck error FS0439: The method 'X01' has curried arguments but has the same name as another methodin type 'TestCurriedMemberRestricitons.C'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
2929

3030
neg23.fs(88,18,88,21): typecheck error FS0440: Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition', 'byref', 'CallerLineNumber', 'CallerMemberName',or 'CallerFilePath' arguments
3131

3232
neg23.fs(90,18,90,21): typecheck error FS0440: Methods with curried arguments cannot declare 'out', 'ParamArray', 'optional', 'ReflectedDefinition', 'byref', 'CallerLineNumber', 'CallerMemberName',or 'CallerFilePath' arguments
3333

34-
neg23.fs(93,18,93,21): typecheck error FS0439: The method 'X04' has curried arguments but has the same name as another methodinthistype. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
34+
neg23.fs(93,18,93,21): typecheck error FS0439: The method 'X04' has curried arguments but has the same name as another methodin type 'TestCurriedMemberRestricitons.C'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
3535

36-
neg23.fs(92,18,92,21): typecheck error FS0439: The method 'X04' has curried arguments but has the same name as another methodinthistype. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
36+
neg23.fs(92,18,92,21): typecheck error FS0439: The method 'X04' has curried arguments but has the same name as another methodin type 'TestCurriedMemberRestricitons.C'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
3737

38-
neg23.fs(110,21,110,22): typecheck error FS0439: The method 'F' has curried arguments but has the same name as another methodinthistype. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
38+
neg23.fs(110,21,110,22): typecheck error FS0439: The method 'F' has curried arguments but has the same name as another methodin type 'TestCurriedMemberRestricitons.T1'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
3939

40-
neg23.fs(113,21,113,22): typecheck error FS0439: The method 'F' has curried arguments but has the same name as another methodinthistype. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
40+
neg23.fs(113,21,113,22): typecheck error FS0439: The method 'F' has curried arguments but has the same name as another methodin type 'TestCurriedMemberRestricitons.T2'. Methods with curried arguments cannot be overloaded. Consider using a method taking tupled arguments.
4141

4242
neg23.fs(164,18,164,29): typecheck error FS0037: Two members called 'GroupRowsBy' have the same signature
4343

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

2-
neg52.fs(21,15,21,18): typecheck error FS0438: Duplicate method. The method 'Bar' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
2+
neg52.fs(21,15,21,18): typecheck error FS0438: Duplicate method. The method 'Bar' has the same nameand signature as another methodin type 'T' once tuples, functions, units of measureand/or provided types are erased.
33

4-
neg52.fs(20,15,20,18): typecheck error FS0438: Duplicate method. The method 'Bar' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
4+
neg52.fs(20,15,20,18): typecheck error FS0438: Duplicate method. The method 'Bar' has the same nameand signature as another methodin type 'T' once tuples, functions, units of measureand/or provided types are erased.
55

6-
neg52.fs(18,15,18,19): typecheck error FS0438: Duplicate method. The method 'Bazz' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
6+
neg52.fs(18,15,18,19): typecheck error FS0438: Duplicate method. The method 'Bazz' has the same nameand signature as another methodin type 'T' once tuples, functions, units of measureand/or provided types are erased.
77

8-
neg52.fs(17,15,17,19): typecheck error FS0438: Duplicate method. The method 'Bazz' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
8+
neg52.fs(17,15,17,19): typecheck error FS0438: Duplicate method. The method 'Bazz' has the same nameand signature as another methodin type 'T' once tuples, functions, units of measureand/or provided types are erased.
99

10-
neg52.fs(15,15,15,18): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
10+
neg52.fs(15,15,15,18): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'T' once tuples, functions, units of measureand/or provided types are erased.
1111

12-
neg52.fs(14,15,14,18): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodinthistype once tuples, functions, units of measureand/or provided types are erased.
12+
neg52.fs(14,15,14,18): typecheck error FS0438: Duplicate method. The method 'Foo' has the same nameand signature as another methodin type 'T' once tuples, functions, units of measureand/or provided types are erased.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp