-
Notifications
You must be signed in to change notification settings - Fork 790
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16000 from dotnet/merges/main-to-release/dev17.8
- Loading branch information
Showing
43 changed files
with
551 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
tests/service/data/SyntaxTree/Expression/Record - Anon - Field 01.fs
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
tests/service/data/SyntaxTree/Expression/Record - Anon - Field 01.fs.bsl
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/service/data/SyntaxTree/Expression/Record - Anon - Field 02.fs
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
tests/service/data/SyntaxTree/Expression/Record - Anon - Field 02.fs.bsl
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Module | ||
|
||
{| F = 1 |} |
16 changes: 16 additions & 0 deletions
16
tests/service/data/SyntaxTree/Expression/Record - Anon 01.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 01.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, None, | ||
[(SynLongIdent ([F], [], [None]), Some (3,5--3,6), | ||
Const (Int32 1, (3,7--3,8)))], (3,0--3,11), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,11))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,11), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Module | ||
|
||
{| F = |} |
18 changes: 18 additions & 0 deletions
18
tests/service/data/SyntaxTree/Expression/Record - Anon 02.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 02.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, None, | ||
[(SynLongIdent ([F], [], [None]), Some (3,5--3,6), | ||
ArbitraryAfterError ("anonField", (3,3--3,4)))], (3,0--3,9), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,9))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,9), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(3,7)-(3,9) parse error Unexpected symbol '|}' in definition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Module | ||
|
||
{| F |} |
16 changes: 16 additions & 0 deletions
16
tests/service/data/SyntaxTree/Expression/Record - Anon 03.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 03.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, Some (Ident F, ((3,4--3,4), None)), [], (3,0--3,7), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,7))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,7), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(3,3)-(3,4) parse error Field bindings must have the form 'id = expr;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Module | ||
|
||
{| f() |} |
20 changes: 20 additions & 0 deletions
20
tests/service/data/SyntaxTree/Expression/Record - Anon 04.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 04.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, | ||
Some | ||
(App | ||
(Atomic, false, Ident f, Const (Unit, (3,4--3,6)), | ||
(3,3--3,6)), ((3,6--3,6), None)), [], (3,0--3,9), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,9))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,9), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(3,3)-(3,6) parse error Field bindings must have the form 'id = expr;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Module | ||
|
||
{| f(). |} |
23 changes: 23 additions & 0 deletions
23
tests/service/data/SyntaxTree/Expression/Record - Anon 05.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 05.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, | ||
Some | ||
(DiscardAfterMissingQualificationAfterDot | ||
(App | ||
(Atomic, false, Ident f, Const (Unit, (3,4--3,6)), | ||
(3,3--3,6)), (3,6--3,7), (3,3--3,7)), | ||
((3,10--3,10), None)), [], (3,0--3,10), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,10))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,10), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(3,6)-(3,7) parse error Missing qualification after '.' | ||
(3,3)-(3,10) parse error Field bindings must have the form 'id = expr;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Module | ||
|
||
{| f().F |} |
23 changes: 23 additions & 0 deletions
23
tests/service/data/SyntaxTree/Expression/Record - Anon 06.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 06.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, | ||
Some | ||
(DotGet | ||
(App | ||
(Atomic, false, Ident f, Const (Unit, (3,4--3,6)), | ||
(3,3--3,6)), (3,6--3,7), | ||
SynLongIdent ([F], [], [None]), (3,3--3,8)), | ||
((3,8--3,8), None)), [], (3,0--3,11), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--3,11))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,11), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(3,3)-(3,8) parse error Field bindings must have the form 'id = expr;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module Module | ||
|
||
{| F1 = 1 | ||
F2 = |} |
20 changes: 20 additions & 0 deletions
20
tests/service/data/SyntaxTree/Expression/Record - Anon 07.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 07.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, None, | ||
[(SynLongIdent ([F1], [], [None]), Some (3,6--3,7), | ||
Const (Int32 1, (3,8--3,9))); | ||
(SynLongIdent ([F2], [], [None]), Some (4,6--4,7), | ||
ArbitraryAfterError ("anonField", (4,3--4,5)))], (3,0--4,10), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--4,10))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--4,10), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(4,3)-(4,5) parse error Field bindings must have the form 'id = expr;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module Module | ||
|
||
{| F1 = 1 | ||
F2 |} |
20 changes: 20 additions & 0 deletions
20
tests/service/data/SyntaxTree/Expression/Record - Anon 08.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 08.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, None, | ||
[(SynLongIdent ([F1], [], [None]), Some (3,6--3,7), | ||
Const (Int32 1, (3,8--3,9))); | ||
(SynLongIdent ([F2], [], [None]), None, | ||
ArbitraryAfterError ("anonField", (4,3--4,5)))], (3,0--4,8), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--4,8))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--4,8), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(4,3)-(4,5) parse error Field bindings must have the form 'id = expr;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Module | ||
|
||
{| F1 = 1 | ||
F2 = | ||
F3 = 3 |} |
27 changes: 27 additions & 0 deletions
27
tests/service/data/SyntaxTree/Expression/Record - Anon 09.fs.bsl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/Record - Anon 09.fs", false, QualifiedNameOfFile Module, | ||
[], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(AnonRecd | ||
(false, None, | ||
[(SynLongIdent ([F1], [], [None]), Some (3,6--3,7), | ||
Const (Int32 1, (3,8--3,9))); | ||
(SynLongIdent ([F2], [], [None]), Some (4,6--4,7), | ||
App | ||
(NonAtomic, false, | ||
App | ||
(NonAtomic, true, | ||
LongIdent | ||
(false, | ||
SynLongIdent | ||
([op_Equality], [], [Some (OriginalNotation "=")]), | ||
None, (5,6--5,7)), Ident F3, (5,3--5,7)), | ||
Const (Int32 3, (5,8--5,9)), (5,3--5,9)))], (3,0--5,12), | ||
{ OpeningBraceRange = (3,0--3,2) }), (3,0--5,12))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--5,12), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module Module | ||
|
||
{| F1 = 1 | ||
F2 | ||
F3 = 3 |} |
Oops, something went wrong.