Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing updates #12072

Merged
merged 27 commits into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
Don Syme committed Sep 2, 2021
commit 9686228df4624f533d8fd7bb34e40839cd00f71b
Binary file modified tests/fsharp/tools/fsharp41/net45/providerDesigner.dll
Binary file not shown.
Binary file modified tests/fsharp/tools/fsharp41/net461/providerDesigner.dll
Binary file not shown.
Binary file not shown.
Binary file modified tests/fsharp/typeProviders/fsharp41/net45/providerDesigner.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//<Expects status="warning" id="FS0067">This type test or downcast will always hold</Expects>
//<Expects status="success"> match paintObject with</Expects>
//<Expects status="success"> ---------------------\^\^\^\^\^\^\^\^\^\^\^</Expects>
//<Expects status="warning" id="FS0025">Incomplete pattern matches on this expression\. For example, the value '\( some-other-subtype \)' may indicate a case not covered by the pattern\(s\)</Expects>
//<Expects status="warning" id="FS0025">Incomplete pattern matches on this expression\. For example, the value '``some-other-subtype``' may indicate a case not covered by the pattern\(s\)</Expects>
//<Expects status="success"> match lastTimeOption with</Expects>
//<Expects status="success"> --------------\^\^\^\^\^\^\^\^\^\^\^\^\^\^</Expects>
//<Expects status="warning" id="FS0025">Incomplete pattern matches on this expression\. For example, the value 'None' may indicate a case not covered by the pattern\(s\)</Expects>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
//<Expects status="success">val A0 : bool = true</Expects>
//<Expects status="success">val ``A-B`` : bool = true</Expects>
//<Expects status="success">val ``A B`` : bool = true</Expects>
//<Expects status="success">val ``base`` : bool = true</Expects>
//<Expects status="success">val ``or`` : bool = true</Expects>

let ``A.B`` = true;;
let ``+`` = true;;
Expand All @@ -33,6 +35,8 @@ let ``0A`` = true;;
let ``A0`` = true;;
let ``A-B`` = true;;
let ``A B`` = true;;
let ``base`` = true;;
let ``or`` = true;;

exit 0;;

4 changes: 2 additions & 2 deletions tests/service/ProjectAnalysisTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -4113,8 +4113,8 @@ let ``Test project30 Format attributes`` () =
|> set
|> shouldEqual
(set
[("[<CompilationRepresentationAttribute (enum<CompilationRepresentationFlags> (4))>]",
"[<Microsoft.FSharp.Core.CompilationRepresentationAttribute (enum<Microsoft.FSharp.Core.CompilationRepresentationFlags> (4))>]")])
[("[<CompilationRepresentation (enum<CompilationRepresentationFlags> (4))>]",
"[<Microsoft.FSharp.Core.CompilationRepresentation (enum<Microsoft.FSharp.Core.CompilationRepresentationFlags> (4))>]")])

let memberSymbol = wholeProjectResults.GetAllUsesOfAllSymbols() |> Array.find (fun su -> su.Symbol.DisplayName = "Member")
let memberEntity = memberSymbol.Symbol :?> FSharpMemberOrFunctionOrValue
Expand Down