-
Notifications
You must be signed in to change notification settings - Fork 789
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
142 additions
and
74 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
3 changes: 3 additions & 0 deletions
3
tests/service/data/SyntaxTree/Expression/DotLambda - _ Recovery - Casts.fsx
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 @@ | ||
let a = ( upcast _ ) : obj | ||
let b = ( _ :> _ ) : obj | ||
let c = ( _ :> obj) |
70 changes: 70 additions & 0 deletions
70
tests/service/data/SyntaxTree/Expression/DotLambda - _ Recovery - Casts.fsx.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,70 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/DotLambda - _ Recovery - Casts.fsx", true, | ||
QualifiedNameOfFile DotLambda - _ Recovery - Casts$fsx, [], [], | ||
[SynModuleOrNamespace | ||
([DotLambda - _ Recovery - Casts], false, AnonModule, | ||
[Let | ||
(false, | ||
[SynBinding | ||
(None, Normal, false, false, [], | ||
PreXmlDoc ((1,0), FSharp.Compiler.Xml.XmlDocCollector), | ||
SynValData | ||
(None, SynValInfo ([], SynArgInfo ([], false, None)), None, | ||
None), Named (SynIdent (a, None), false, None, (1,4--1,5)), | ||
None, | ||
Typed | ||
(Paren | ||
(InferredUpcast | ||
(FromParseError (Ident _, (1,17--1,18)), (1,10--1,18)), | ||
(1,8--1,9), Some (1,19--1,20), (1,8--1,20)), | ||
LongIdent (SynLongIdent ([obj], [], [None])), (1,8--1,26)), | ||
(1,4--1,5), Yes (1,0--1,26), { LeadingKeyword = Let (1,0--1,3) | ||
InlineKeyword = None | ||
EqualsRange = Some (1,6--1,7) })], | ||
(1,0--1,26)); | ||
Let | ||
(false, | ||
[SynBinding | ||
(None, Normal, false, false, [], | ||
PreXmlDoc ((2,0), FSharp.Compiler.Xml.XmlDocCollector), | ||
SynValData | ||
(None, SynValInfo ([], SynArgInfo ([], false, None)), None, | ||
None), Named (SynIdent (b, None), false, None, (2,4--2,5)), | ||
None, | ||
Typed | ||
(Paren | ||
(Upcast | ||
(FromParseError (Ident _, (2,10--2,11)), | ||
Anon (2,15--2,16), (2,10--2,16)), (2,8--2,9), | ||
Some (2,17--2,18), (2,8--2,18)), | ||
LongIdent (SynLongIdent ([obj], [], [None])), (2,8--2,24)), | ||
(2,4--2,5), Yes (2,0--2,24), { LeadingKeyword = Let (2,0--2,3) | ||
InlineKeyword = None | ||
EqualsRange = Some (2,6--2,7) })], | ||
(2,0--2,24)); | ||
Let | ||
(false, | ||
[SynBinding | ||
(None, Normal, false, false, [], | ||
PreXmlDoc ((3,0), FSharp.Compiler.Xml.XmlDocCollector), | ||
SynValData | ||
(None, SynValInfo ([], SynArgInfo ([], false, None)), None, | ||
None), Named (SynIdent (c, None), false, None, (3,4--3,5)), | ||
None, | ||
Paren | ||
(Upcast | ||
(FromParseError (Ident _, (3,10--3,11)), | ||
LongIdent (SynLongIdent ([obj], [], [None])), | ||
(3,10--3,18)), (3,8--3,9), Some (3,18--3,19), | ||
(3,8--3,19)), (3,4--3,5), Yes (3,0--3,19), | ||
{ LeadingKeyword = Let (3,0--3,3) | ||
InlineKeyword = None | ||
EqualsRange = Some (3,6--3,7) })], (3,0--3,19))], | ||
PreXmlDocEmpty, [], None, (1,0--4,0), { LeadingKeyword = None })], | ||
(true, true), { ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(1,19)-(1,20) parse error Unexpected symbol ')' in expression. Expected '.' or other token. | ||
(2,12)-(2,14) parse error Unexpected symbol ':>' in expression. Expected '.' or other token. | ||
(3,12)-(3,14) parse error Unexpected symbol ':>' in expression. Expected '.' or other token. |
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
tests/service/data/SyntaxTree/Expression/DotLambda - _ Recovery - Eof.fsx.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/DotLambda - _ Recovery - Eof.fsx", true, | ||
QualifiedNameOfFile DotLambda - _ Recovery - Eof$fsx, [], [], | ||
[SynModuleOrNamespace | ||
([DotLambda - _ Recovery - Eof], false, AnonModule, | ||
[Expr | ||
(App | ||
(NonAtomic, false, | ||
App | ||
(NonAtomic, true, | ||
LongIdent | ||
(false, | ||
SynLongIdent | ||
([op_PipeRight], [], [Some (OriginalNotation "|>")]), | ||
None, (1,2--1,4)), Const (Int32 1, (1,0--1,1)), | ||
(1,0--1,4)), FromParseError (Ident _, (1,5--1,6)), | ||
(1,0--1,6)), (1,0--1,6))], PreXmlDocEmpty, [], None, (1,0--1,6), | ||
{ LeadingKeyword = None })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(1,5)-(1,6) parse error Unexpected end of input in expression |
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
tests/service/data/SyntaxTree/Expression/DotLambda - _ Recovery.fsx.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,15 @@ | ||
ImplFile | ||
(ParsedImplFileInput | ||
("/root/Expression/DotLambda - _ Recovery.fsx", true, | ||
QualifiedNameOfFile DotLambda - _ Recovery$fsx, [], [], | ||
[SynModuleOrNamespace | ||
([DotLambda - _ Recovery], false, AnonModule, | ||
[Expr | ||
(Paren | ||
(FromParseError (Ident _, (1,1--1,2)), (1,0--1,1), | ||
Some (1,2--1,3), (1,0--1,3)), (1,0--1,3))], PreXmlDocEmpty, [], | ||
None, (1,0--1,3), { LeadingKeyword = None })], (true, true), | ||
{ ConditionalDirectives = [] | ||
CodeComments = [] }, set [])) | ||
|
||
(1,2)-(1,3) parse error Unexpected symbol ')' in expression. Expected '.' or other token. |
File renamed without changes.
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
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...SyntaxTree/Expression/_. Recovery.fsx.bsl → ...xpression/DotLambda - _. Recovery.fsx.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
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
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
26 changes: 0 additions & 26 deletions
26
tests/service/data/SyntaxTree/Expression/_ Recovery - Eof.fsx.bsl
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
tests/service/data/SyntaxTree/Expression/_ Recovery.fsx.bsl
This file was deleted.
Oops, something went wrong.