Denis.Zharkov
f4a3ab877f
Add test for parsing issue KT-53719
...
^KT-53719 Related
2022-08-30 11:21:51 +00:00
Denis.Zharkov
3d7969ec8f
Revert "KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing"
...
This reverts commit 2053363def .
^KT-35811 Open
2022-08-30 11:21:50 +00:00
Denis.Zharkov
211d662708
Revert "KT-8263: Conditional operators are not parsed correctly"
...
This reverts commit ec8da2033c .
For the reason for the revert see KT-53719
^KT-8263 Open
^KT-53719 Fixed
2022-08-30 11:21:50 +00:00
Iven Krall
ec8da2033c
KT-8263: Conditional operators are not parsed correctly
2022-08-16 10:00:54 +00:00
Iven Krall
2053363def
KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing
2022-08-16 10:00:53 +00:00
Denis.Zharkov
11a26e540e
Revert "KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing"
...
This reverts commit a2077f9063 .
2022-08-04 17:50:00 +02:00
Denis.Zharkov
2ae2a7e442
Revert "KT-8263: Conditional operators are not parsed correctly"
...
This reverts commit 85800b4f9f .
2022-08-04 17:49:42 +02:00
Iven Krall
85800b4f9f
KT-8263: Conditional operators are not parsed correctly
2022-08-04 11:24:09 +00:00
Iven Krall
a2077f9063
KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing
2022-08-04 11:24:08 +00:00
Denis.Zharkov
3ba11711d2
Adjust test data after reverting fix for KT-35811
...
(see previous commit)
^KT-52684 Fixed
2022-06-09 15:44:36 +00:00
Denis.Zharkov
9caa60d389
Revert "KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing"
...
This reverts commit ba5c85d6
^KT-52684 Related
2022-06-09 15:44:36 +00:00
Denis.Zharkov
67f9025f9e
Add test data for parsing of complicated <..> and <..>= combinations
...
^KT-52684 Related
^KT-8263 Related
2022-06-09 15:44:35 +00:00
Victor Petukhov
de9d1dc536
[Parser] Add additional parsing tests
2022-05-31 08:42:56 +00:00
Victor Petukhov
19136019e4
[Parser] Support of parsing until operator
...
^KT-52419 Fixed
2022-05-31 08:42:54 +00:00
Iven Krall
ba5c85d6f2
KT-35811: Type parameter angle brackets followed by equal sign are parsed incorrectly if whitespace is missing
2022-05-18 17:23:40 +00:00
Denis.Zharkov
b8ea48fdc2
Fix exception happening while parsing an incorrect file
...
^KTIJ-21546 Fixed
2022-04-15 09:10:09 +00:00
Denis.Zharkov
4379460177
Fix AST/PSI structure for context receivers in function types
...
Having CONTEXT_RECEIVER_LIST inside FUNCTION_TYPE_RECEIVER looks a bit hacky
2022-04-06 16:05:24 +00:00
Anastasiya Shadrina
d980136593
[Tests] Add parsing tests
2021-12-02 20:24:21 +03:00
Victor Petukhov
b69fb6779f
Basic support of partially specified type arguments though a new underscore operator for type arguments
...
^KT-13394
2021-11-01 12:25:07 +03:00
Nikolay Lunyak
f6ae6af741
[FIR] Add test data
2021-09-11 22:05:43 +03:00
Nikolay Lunyak
a0982341ee
[FIR] Update parser test data
2021-09-11 22:05:28 +03:00
Denis.Zharkov
302eacbf59
Support new form of definitely non-nullable types: T & Any
...
^KT-26245 In Progress
2021-08-31 15:41:11 +03:00
Dmitriy Novozhilov
c9cd49d34f
[Test] Temporary remove test for KT-22379
...
This is needed because this test breaks IDE when whit file is indexed.
This test will be returned after release of new kotlin plugins for IDEA
2021-05-11 19:45:43 +03:00
Dmitriy Novozhilov
3532ce7fbc
[Parser] Fix OOM in parsing of incorrect string literals
...
^KT-46455 Fixed
KT-34410
KT-46564
2021-05-11 16:43:29 +03:00
Denis.Zharkov
16ca8ddbbd
Do not parse !! as part of annotation type
...
^KT-26245 Related
2021-04-09 13:06:38 +03:00
Denis.Zharkov
b9d2a1842a
Support definitely-not-null generic T!! types in Parsing and FE1.0
...
^KT-26245 In Progress
2021-04-09 13:06:28 +03:00
Denis.Zharkov
cbb8459e4e
Fix AE: No receiver found on incomplete code with $-signs
...
^KT-24158 Fixed
2020-12-24 14:06:20 +03:00
Ilmir Usmanov
11b2a07a59
Value classes: Support 'value' modifier in parser
2020-11-27 23:52:04 +01:00
Arsen Nagdalian
86e07cd626
Parser tests: move the contract description blocks tests to a separate folder and add a test for property accessors' contracts
2020-08-25 12:58:38 +03:00
Arsen Nagdalian
32a64b888e
[Parser] Add parsing of function's contract either before or after type constraints
2020-08-25 12:58:34 +03:00
Arsen Nagdalian
1b57889773
Clean the code
2020-08-25 12:58:34 +03:00
Arsen Nagdalian
f781a9993b
Parser tests: add tests for contract description blocks
2020-08-25 12:58:34 +03:00
Ilya Kirillov
1535873c07
Do not try to lazy parse a block without opening bracket
...
It can consume the whole file in such case
which will result PsiBuilder going crazy
#KT-36191 fixed
2020-04-16 15:40:21 +03:00
Victor Petukhov
cec747349e
Fix PSI tests for correct parsing them by the ANTLR grammar
2020-04-02 19:02:31 +03:00
Mikhail Zarechenskiy
4aa195e912
FIC: Parse fun keyword in front of interface as a modifier
2020-01-17 19:35:05 +03:00
Ilya Chernikov
7bb9f97b11
Allow to separate top-level script declarations and statements with semicolon
...
This fix allows to write one-liner scripts like "val x = 3; println(x)", which
were previously rejected by the parser.
2019-12-02 16:46:54 +01:00
victor.petukhov
62d204f4d6
Support trailing comma
...
^KT-34743 Fixed
2019-11-01 19:40:20 +03:00
victor.petukhov
6a679d86ab
Support non-parenthesized annotations on functional types without receiver
...
^KT-31734 Fixed
2019-07-17 16:18:15 +03:00
Igor Yakovlev
da4d8a8c90
Parser invalid error advancing for postfix type parameters list #KT-30835 Fixed
2019-04-05 19:50:42 +03:00
Yaroslav Russkih
028a311949
Use https everywhere - tests and test data
2019-02-19 21:35:36 +01:00
Denis Zharkov
82537cdc8b
Add recovery for missing comma between arguments
...
^KT-13497 Fixed
2019-01-17 14:58:01 +03:00
Denis Zharkov
db53c4bea4
Add test for obsolete recovery case (semi-finished extension)
...
^KT-7405 Obsolete
2019-01-17 14:56:42 +03:00
Denis Zharkov
65e6e21d0f
Add recovery for import lists in the middle of the file
...
Note, that it only works for top-level declarations
^KT-7185 Fixed
2019-01-17 14:56:42 +03:00
Denis Zharkov
e6710b6fa2
Add recovery for value parameter without type or name
...
The case for KT-7237 belongs to /NoGTInTypeArguments test
It was fixed implicitly: before it recovery was working but the name for
the next parameter was attached to type argument list.
After that change, parameter without name gets parsed correctly (with an
error of course)
^KT-13731 Fixed
^KT-7237 Fixed
2019-01-17 14:56:42 +03:00
Denis Zharkov
5437a0e478
Add recovery for enum declaration without 'class' keyword
...
^KT-13703 Fixed
2019-01-17 14:56:42 +03:00
Denis Zharkov
3707812fc2
Revert "Temporary remove some tests after a fix for KT-24937"
...
This reverts commit ddb4e8b128 .
2019-01-15 12:35:12 +03:00
Denis Zharkov
ddb4e8b128
Temporary remove some tests after a fix for KT-24937
...
Otherwise, our project is failed to be indexed
2018-12-11 09:45:39 +03:00
Denis Zharkov
5992896d76
Relax assertion in parser for a recovery case with annotations
...
^KT-24937 Fixed
2018-12-11 09:45:14 +03:00
Nikolay Krasko
449069b1b7
Attach preceding line comments to property accessors (KT-25417)
...
#KT-25417 Fixed
2018-08-02 14:38:25 +03:00
Mikhail Zarechenskiy
a765ee41d7
Introduce uL/UL suffix to represent numbers of unsigned long type
...
#KT-24663 Fixed
2018-06-27 14:21:12 +03:00