-
Notifications
You must be signed in to change notification settings - Fork 794
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 #15246 from dotnet/merges/main-to-release/dev17.7
Merge main to release/dev17.7
- Loading branch information
Showing
16 changed files
with
206 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Module | ||
|
||
if true then () |
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/If 01.fs", false, QualifiedNameOfFile Module, [], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(IfThenElse | ||
(Const (Bool true, (3,3--3,7)), Const (Unit, (3,13--3,15)), None, | ||
Yes (3,0--3,12), false, (3,0--3,15), | ||
{ IfKeyword = (3,0--3,2) | ||
IsElif = false | ||
ThenKeyword = (3,8--3,12) | ||
ElseKeyword = None | ||
IfToThenRange = (3,0--3,12) }), (3,0--3,15))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,15), { 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 | ||
|
||
if true then () else () |
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/If 02.fs", false, QualifiedNameOfFile Module, [], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(IfThenElse | ||
(Const (Bool true, (3,3--3,7)), Const (Unit, (3,13--3,15)), | ||
Some (Const (Unit, (3,21--3,23))), Yes (3,0--3,12), false, | ||
(3,0--3,23), { IfKeyword = (3,0--3,2) | ||
IsElif = false | ||
ThenKeyword = (3,8--3,12) | ||
ElseKeyword = Some (3,16--3,20) | ||
IfToThenRange = (3,0--3,12) }), (3,0--3,23))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,23), { 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 | ||
|
||
if true | ||
|
||
() |
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,22 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/If 03.fs", false, QualifiedNameOfFile Module, [], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(IfThenElse | ||
(Const (Bool true, (3,3--3,7)), | ||
ArbitraryAfterError ("if1", (3,7--3,7)), None, Yes (3,0--3,7), | ||
true, (3,0--3,7), { IfKeyword = (3,0--3,2) | ||
IsElif = false | ||
ThenKeyword = (3,7--3,7) | ||
ElseKeyword = None | ||
IfToThenRange = (3,0--3,7) }), (3,0--3,7)); | ||
Expr (Const (Unit, (5,0--5,2)), (5,0--5,2))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--5,2), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(3,8)-(5,0) parse error Incomplete structured construct at or before this point in expression | ||
(3,0)-(3,2) parse error Incomplete conditional. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <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 | ||
|
||
if | ||
|
||
() |
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,22 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/If 04.fs", false, QualifiedNameOfFile Module, [], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(IfThenElse | ||
(ArbitraryAfterError ("if2", (3,2--3,2)), | ||
ArbitraryAfterError ("if3", (3,2--3,2)), None, Yes (3,2--3,2), | ||
true, (3,0--3,2), { IfKeyword = (3,0--3,2) | ||
IsElif = false | ||
ThenKeyword = (3,0--3,2) | ||
ElseKeyword = None | ||
IfToThenRange = (3,0--3,2) }), (3,0--3,2)); | ||
Expr (Const (Unit, (5,0--5,2)), (5,0--5,2))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--5,2), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(3,3)-(5,0) parse error Incomplete structured construct at or before this point in expression | ||
(3,0)-(3,2) parse error Incomplete conditional. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <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 | ||
|
||
if true then | ||
|
||
() |
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,21 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/If 05.fs", false, QualifiedNameOfFile Module, [], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(IfThenElse | ||
(Const (Bool true, (3,3--3,7)), Const (Unit, (5,0--5,2)), None, | ||
Yes (3,0--3,12), false, (3,0--5,2), | ||
{ IfKeyword = (3,0--3,2) | ||
IsElif = false | ||
ThenKeyword = (3,8--3,12) | ||
ElseKeyword = None | ||
IfToThenRange = (3,0--3,12) }), (3,0--5,2))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--5,2), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(5,0)-(5,1) parse warning Possible incorrect indentation: this token is offside of context started at position (3:1). Try indenting this token further or using standard formatting conventions. | ||
(5,0)-(5,1) parse warning Possible incorrect indentation: this token is offside of context started at position (3:1). Try indenting this token further or using standard formatting conventions. |
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,6 @@ | ||
module Module | ||
|
||
do | ||
if true then | ||
|
||
open global |
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,26 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/If 06.fs", false, QualifiedNameOfFile Module, [], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(Do | ||
(IfThenElse | ||
(Const (Bool true, (4,7--4,11)), | ||
ArbitraryAfterError ("ifThen3", (4,16--4,16)), None, | ||
Yes (4,4--4,16), false, (4,4--4,16), | ||
{ IfKeyword = (4,4--4,6) | ||
IsElif = false | ||
ThenKeyword = (4,12--4,16) | ||
ElseKeyword = None | ||
IfToThenRange = (4,4--4,16) }), (3,0--4,16)), (3,0--4,16))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--4,16), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(6,0)-(6,4) parse warning Possible incorrect indentation: this token is offside of context started at position (4:5). Try indenting this token further or using standard formatting conventions. | ||
(6,0)-(6,4) parse warning Possible incorrect indentation: this token is offside of context started at position (4:5). Try indenting this token further or using standard formatting conventions. | ||
(6,0)-(6,4) parse error Unexpected keyword 'open' in if/then/else expression | ||
(7,0)-(7,0) parse error Incomplete structured construct at or before this point in definition. Expected incomplete structured construct at or before this point or other token. | ||
(7,0)-(7,0) parse error Incomplete structured construct at or before this point in implementation file |
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 | ||
|
||
if |
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,21 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/If 07.fs", false, QualifiedNameOfFile Module, [], [], | ||
[SynModuleOrNamespace | ||
([Module], false, NamedModule, | ||
[Expr | ||
(IfThenElse | ||
(ArbitraryAfterError ("if2", (3,2--3,2)), | ||
ArbitraryAfterError ("if3", (3,2--3,2)), None, Yes (3,2--3,2), | ||
true, (3,0--3,2), { IfKeyword = (3,0--3,2) | ||
IsElif = false | ||
ThenKeyword = (3,0--3,2) | ||
ElseKeyword = None | ||
IfToThenRange = (3,0--3,2) }), (3,0--3,2))], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), [], None, | ||
(1,0--3,2), { LeadingKeyword = Module (1,0--1,6) })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(4,0)-(4,0) parse error Incomplete structured construct at or before this point in expression | ||
(3,0)-(3,2) parse error Incomplete conditional. Expected 'if <expr> then <expr>' or 'if <expr> then <expr> else <expr>'. |