Repro steps
Provide the steps required to reproduce the problem:
gh repo clone dotnet/fsharp
cd fsharp
for a in 1 2; do diff -u tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuards0$a.fs tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuardss0$a.fs; done|wc -l
Expected behavior
Some output which signifies why whenGuardss files exist -- they appear to be identical to whenGuards files.
Actual behavior
0
Known workarounds
Delete the whenGuardss files (whenGuardss01.fs and whenGuardss02.fs) and references to them.
This is a whenGuards reference:
|
// This test was automatically generated (moved from FSharpQA suite - Conformance/PatternMatching/Expression) |
|
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"whenGuards01.fs"|])>] |
|
let ``Expression - whenGuards01_fs - --test:ErrorRanges`` compilation = |
|
compilation |
|
|> asFs |
|
|> withOptions ["--test:ErrorRanges"] |
|
|> typecheck |
|
|> shouldSucceed |
This is a whenGuardss reference:
|
// This test was automatically generated (moved from FSharpQA suite - Conformance/PatternMatching/Expression) |
|
[<Theory; Directory(__SOURCE_DIRECTORY__, Includes=[|"whenGuardss01.fs"|])>] |
|
let ``Expression - whenGuardss01_fs - --test:ErrorRanges`` compilation = |
|
compilation |
|
|> asFs |
|
|> withOptions ["--test:ErrorRanges"] |
|
|> typecheck |
|
|> shouldSucceed |
Related information
The files appear to be part of the original commit in this repository, so there isn't any history to explain the reasons they exist
https://github.com/dotnet/fsharp/commits/fb01e0a4858b3f0b24ee115664b4b3255485f268/tests/fsharpqa/Source/Conformance/PatternMatching/Expression/whenGuardss01.fs?browsing_rename_history=true&new_path=tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuardss01.fs&original_branch=main
Repro steps
Provide the steps required to reproduce the problem:
gh repo clone dotnet/fsharpcd fsharpfor a in 1 2; do diff -u tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuards0$a.fs tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuardss0$a.fs; done|wc -lExpected behavior
Some output which signifies why
whenGuardssfiles exist -- they appear to be identical towhenGuardsfiles.Actual behavior
0Known workarounds
Delete the
whenGuardssfiles (whenGuardss01.fsandwhenGuardss02.fs) and references to them.This is a
whenGuardsreference:fsharp/tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/Expression.fs
Lines 98 to 105 in be6352d
This is a
whenGuardssreference:fsharp/tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/Expression.fs
Lines 116 to 123 in be6352d
Related information
The files appear to be part of the original commit in this repository, so there isn't any history to explain the reasons they exist
https://github.com/dotnet/fsharp/commits/fb01e0a4858b3f0b24ee115664b4b3255485f268/tests/fsharpqa/Source/Conformance/PatternMatching/Expression/whenGuardss01.fs?browsing_rename_history=true&new_path=tests/FSharp.Compiler.ComponentTests/Conformance/PatternMatching/Expression/whenGuardss01.fs&original_branch=main