Skip to content

Commit b880750

Browse files
CopilotT-Gro
andcommitted
Fix test expectations to expect only second duplicate method error
Co-authored-by: T-Gro <[email protected]>
1 parent 21a836c commit b880750

File tree

1 file changed

+0
-2
lines changed
  • tests/FSharp.Compiler.ComponentTests/Conformance/BasicGrammarElements/MemberDefinitions/OverloadingMembers

1 file changed

+0
-2
lines changed

tests/FSharp.Compiler.ComponentTests/Conformance/BasicGrammarElements/MemberDefinitions/OverloadingMembers/OverloadingMembers.fs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ module MemberDefinitions_OverloadingMembers =
256256
|> compile
257257
|> shouldFail
258258
|> withDiagnostics [
259-
(Error 438, Line 6, Col 19, Line 6, Col 20, "Duplicate method. The method 'M' has the same name and signature as another method in type 'Q'.")
260259
(Error 438, Line 7, Col 19, Line 7, Col 20, "Duplicate method. The method 'M' has the same name and signature as another method in type 'Q'.")
261260
]
262261

@@ -278,6 +277,5 @@ module MemberDefinitions_OverloadingMembers =
278277
|> compile
279278
|> shouldFail
280279
|> withDiagnostics [
281-
(Error 438, Line 8, Col 19, Line 8, Col 20, "Duplicate method. The method 'H' has the same name and signature as another method in type 'S' once tuples, functions, units of measure and/or provided types are erased.")
282280
(Error 438, Line 9, Col 19, Line 9, Col 20, "Duplicate method. The method 'H' has the same name and signature as another method in type 'S' once tuples, functions, units of measure and/or provided types are erased.")
283281
]

0 commit comments

Comments
 (0)