You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/FSharp.Compiler.ComponentTests/Conformance/DeclarationElements/MemberDefinitions/MethodsAndProperties/MethodsAndProperties.fs
+35-35Lines changed: 35 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -431,11 +431,11 @@ type I =
431
431
|> compile
432
432
|> shouldFail
433
433
|> withDiagnostics [
434
-
(Error 3549, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
435
-
(Error 3549, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
436
-
(Error 3549, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
437
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
438
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
434
+
(Error 3550, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
435
+
(Error 3550, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
436
+
(Error 3550, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
437
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
438
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
439
439
]
440
440
441
441
[<Fact>]
@@ -457,11 +457,11 @@ type I =
457
457
|> verifyCompile
458
458
|> shouldFail
459
459
|> withDiagnostics [
460
-
(Error 3549, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
461
-
(Error 3549, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
462
-
(Error 3549, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
463
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
464
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
460
+
(Error 3550, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
461
+
(Error 3550, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
462
+
(Error 3550, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
463
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
464
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
465
465
(Error 240, Line 2, Col 1, Line 11, Col 54,"The signature file 'Test' does not have a corresponding implementation file. If an implementation file exists then check the 'module' and 'namespace' declarations in the signature and implementation files match.")
466
466
]
467
467
@@ -484,11 +484,11 @@ type I =
484
484
|> verifyCompile
485
485
|> shouldFail
486
486
|> withDiagnostics [
487
-
(Error 3549, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
488
-
(Error 3549, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
489
-
(Error 3549, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
490
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
491
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
487
+
(Error 3550, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
488
+
(Error 3550, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
489
+
(Error 3550, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
490
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
491
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
492
492
(Error 240, Line 2, Col 1, Line 11, Col 54,"The signature file 'Test' does not have a corresponding implementation file. If an implementation file exists then check the 'module' and 'namespace' declarations in the signature and implementation files match.")
493
493
]
494
494
@@ -521,16 +521,16 @@ type I =
521
521
|> compile
522
522
|> shouldFail
523
523
|> withDiagnostics [
524
-
(Error 3549, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
525
-
(Error 3549, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
526
-
(Error 3549, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
527
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
528
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
529
-
(Error 3549, Line 4, Col 5, Line 4, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
530
-
(Error 3549, Line 5, Col 5, Line 5, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
531
-
(Error 3549, Line 6, Col 5, Line 6, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
532
-
(Error 3549, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
533
-
(Error 3549, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
524
+
(Error 3550, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
525
+
(Error 3550, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
526
+
(Error 3550, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
527
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
528
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
529
+
(Error 3550, Line 4, Col 5, Line 4, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
530
+
(Error 3550, Line 5, Col 5, Line 5, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
531
+
(Error 3550, Line 6, Col 5, Line 6, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
532
+
(Error 3550, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
533
+
(Error 3550, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
534
534
]
535
535
536
536
[<Fact>]
@@ -562,15 +562,15 @@ type I =
562
562
|> compile
563
563
|> shouldFail
564
564
|> withDiagnostics [
565
-
(Error 3549, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
566
-
(Error 3549, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
567
-
(Error 3549, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
568
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
569
-
(Error 3549, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
570
-
(Error 3549, Line 4, Col 5, Line 4, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
571
-
(Error 3549, Line 5, Col 5, Line 5, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
572
-
(Error 3549, Line 6, Col 5, Line 6, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
573
-
(Error 3549, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
574
-
(Error 3549, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
565
+
(Error 3550, Line 5, Col 5, Line 5, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
566
+
(Error 3550, Line 7, Col 5, Line 7, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
567
+
(Error 3550, Line 9, Col 5, Line 9, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
568
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
569
+
(Error 3550, Line 11, Col 5, Line 11, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
570
+
(Error 3550, Line 4, Col 5, Line 4, Col 38,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
571
+
(Error 3550, Line 5, Col 5, Line 5, Col 39,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
572
+
(Error 3550, Line 6, Col 5, Line 6, Col 47,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
573
+
(Error 3550, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'i' has been used more that once in this method.")
574
+
(Error 3550, Line 7, Col 5, Line 7, Col 54,"Duplicate parameter. The parameter 'j' has been used more that once in this method.")
0 commit comments