Commit Graph

17 Commits

Author SHA1 Message Date
Rintaro Ishizaki
9e99707e7f [SyntaxParse] Don't discard 'typealias' without identifier
Fixes round trip issue
2019-10-17 13:18:56 -07:00
Rintaro Ishizaki
570ed9361f Revert "Merge pull request #26883 from rintaro/revert-revert-26478-gsoc-2019-parser-types"
This reverts commit faaa3a859d, reversing
changes made to 62f947d6ba.
2019-10-14 15:18:05 -07:00
Rintaro Ishizaki
71aa44d07a Revert "Merge pull request #26914 from rintaro/syntaxparse-genericargsyntax"
This reverts commit 0899eb6978, reversing
changes made to b8f42d6165.
2019-10-14 13:50:53 -07:00
Rintaro Ishizaki
149c8751a1 Revert "Merge pull request #26933 from rintaro/syntaxparse-roundtrip1"
This reverts commit 6fcbb40462, reversing
changes made to 3a78945b15.
2019-10-14 13:46:40 -07:00
Rintaro Ishizaki
8df497dab6 Revert "Merge pull request #26974 from rintaro/syntaxparse-roundtrip2"
This reverts commit 27ded648cf, reversing
changes made to 42fdacc079.
2019-10-14 13:45:48 -07:00
Rintaro Ishizaki
97a6fbc332 Revert "Merge pull request #27000 from rintaro/syntaxparse-roundtrip3"
This reverts commit 0d84e7613a, reversing
changes made to f262601bb3.
2019-10-14 13:43:43 -07:00
Rintaro Ishizaki
fbc7c6c1c5 Revert "Merge pull request #27416 from rintaro/syntaxparse-declassociatedtype"
This reverts commit 5726179da9, reversing
changes made to d5adbe2c55.
2019-10-14 12:19:53 -07:00
Rintaro Ishizaki
c56421c5be [SyntaxParse] Ignore token in consecutive ID diagnostics 2019-09-27 23:52:39 -07:00
Rintaro Ishizaki
e888a4008e [SyntaxParse] Fix round-trip issue in protocol composition parsing 2019-09-03 12:31:18 -07:00
Rintaro Ishizaki
992cc032a7 [SyntaxParse] Don't discard 'typealias' without identifier
Fixes round trip issue
2019-08-30 16:59:40 -07:00
Rintaro Ishizaki
974c9d130f [SyntaxParse] Fix round-trip issue in function types 2019-08-29 10:58:41 -07:00
Rintaro Ishizaki
41eebd2072 [SyntaxParse] Fix round-trip issue in tuple type parsing 2019-08-28 17:04:43 -07:00
Rintaro Ishizaki
bdda81cdf5 [SyntaxParse] use parseGenericArgumentClauseSyntax() 2019-08-28 16:42:51 -07:00
Rintaro Ishizaki
807e3f342c [SyntaxParse] Fix round-trip issue in generic argument parsing
When type parsing inside generic argument fails, '<' must be before
other parsed arguments.
2019-08-27 14:57:59 -07:00
Rintaro Ishizaki
223de71ad3 [Syntax] Create UnknownDecl node for orphan #else, et al. and SIL nodes 2019-08-16 00:59:20 +00:00
Alex Hoppen
53dfecd5fc [libSyntax] Fix a crash that happened when parsing an invalid type 2018-07-18 13:10:35 -07:00
Rintaro Ishizaki
002cfe5136 [Syntax] Add test cases for fixed round trip failures. 2017-12-27 17:49:33 +09:00