Vyacheslav Gerasimov
|
bc2f0936bd
|
Build: Rename commonDep -> commonDependency
|
2021-12-16 21:48:19 +03:00 |
|
Anastasiya Shadrina
|
4d3035e2f7
|
[Parser] Do not support local contextual declarations
|
2021-12-03 20:22:17 +03:00 |
|
Anastasiya Shadrina
|
7ab9b68ad5
|
[FE] Move type-related checks to TypeResolver
|
2021-12-02 20:24:41 +03:00 |
|
Anastasiya Shadrina
|
9896cbd2b8
|
[FE] Add visitContextReceiverList to KtVisitorVoid
|
2021-12-02 20:24:40 +03:00 |
|
Anastasiya Shadrina
|
f75571b97a
|
[FE] Minor: do not try to check stub is not null
|
2021-12-02 20:24:38 +03:00 |
|
Anastasiya Shadrina
|
910660a083
|
[FE] Add language feature for context receivers
|
2021-12-02 20:24:16 +03:00 |
|
Anastasiya Shadrina
|
e3f987459c
|
[PSI, FE] Support functional types
|
2021-12-02 20:24:11 +03:00 |
|
Anastasiya Shadrina
|
af78ec7371
|
[PSI, FE] Review fixes
|
2021-12-02 20:24:04 +03:00 |
|
Anastasiya Shadrina
|
875f4ea31c
|
[FE] Support local contextual declarations
|
2021-12-02 20:23:54 +03:00 |
|
Anastasiya Shadrina
|
1a0aab4a44
|
[FE] Inline classes cannot have context receivers
|
2021-12-02 20:23:52 +03:00 |
|
Anastasiya Shadrina
|
5e426d5c16
|
[Parser] Continue parsing if context receiver is not parsed correctly
|
2021-12-02 20:23:48 +03:00 |
|
Anastasiya Shadrina
|
08e68e1887
|
[PSI] Fix parse tree node
|
2021-12-02 20:23:42 +03:00 |
|
Anastasiya Shadrina
|
1bcaeabd84
|
[PSI, FE, PSI2IR] Use labels for referencing specific receiver
|
2021-12-02 20:23:40 +03:00 |
|
Anastasiya Shadrina
|
f4ddf66ac4
|
[FE] Support context receivers on classes
|
2021-12-02 20:23:25 +03:00 |
|
Anastasiya Shadrina
|
7de8380ddf
|
[FE] Add context receivers getter to KtCallableDeclaration interface
|
2021-12-02 20:23:16 +03:00 |
|
Anastasiya Shadrina
|
d1fdc4d787
|
[PSI] Introduce "context" soft keyword and parse context receivers
|
2021-12-02 20:23:11 +03:00 |
|
Mikhail Glukhikh
|
cebe25ff39
|
FE: don't create KtFile stubs on virtual files without ids
This commit is kinda revert of the change in platform 203:
https://github.com/JetBrains/intellij-community/commit/5d91f7bf2e5718d715c0d90ed1a212ea845fb2a3
#KT-49833 Fixed
|
2021-11-29 18:42:23 +03:00 |
|
Victor Petukhov
|
42805db989
|
[FE 1.0] Take into account import aliases during hidden member resolution
|
2021-11-22 10:43:43 +03:00 |
|
Roman Golyshev
|
79f9bd9c29
|
Add javadoc to KtAnnotation
|
2021-11-16 21:34:57 +03:00 |
|
Dmitry Gridin
|
5ecd2aa191
|
[psi] KtNamedDeclarationStub: fix useScope for private class
The `return` was missed, so the private class did not optimize scope
^KTIJ-20069
|
2021-11-08 02:30:54 +00:00 |
|
Victor Petukhov
|
4118f3146b
|
Use proper isPlaceholder check for psi type references
|
2021-11-01 13:03:41 +03:00 |
|
Victor Petukhov
|
248c9550cd
|
Support type annotations resolution on an underscored type argument
|
2021-11-01 12:25:10 +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 |
|
Ilya Chernikov
|
1ce4075112
|
Prepare CLI reporting infrastructure for non-PSI diagnostics
|
2021-10-27 22:17:40 +02:00 |
|
Dmitriy Novozhilov
|
94664694df
|
[FIR] Prohibit confusing syntax inside when branches
^KT-48385
|
2021-10-21 19:39:46 +03:00 |
|
Yan Zhulanow
|
516dd825c2
|
[FIR IDE] Initial descriptor-based implementation of the Analysis API
|
2021-10-20 19:41:24 +03:00 |
|
Mikhail Zarechenskiy
|
8e0e2fe52c
|
Increase stub versions for the major version 1.6.0
^KT-49190 Fixed
|
2021-10-18 14:48:35 +03:00 |
|
Mikhail Zarechenskiy
|
472eceb13c
|
Mark KtDestructuringDeclarationReference as multi reference entity
This change fixes tests related to components:
- org.jetbrains.kotlin.idea.codeInsight.InsertImportOnPasteTestGenerated$Copy.testMultiDeclaration
- org.jetbrains.kotlin.idea.codeInsight.InsertImportOnPasteTestGenerated$Cut.testMultiDeclaration
Initially, it was marked as multi reference in https://github.com/JetBrains/intellij-community/blob/388ff78e61a7e0599c85b07766a03d956d7583da/plugins/kotlin/frontend-independent/src/org/jetbrains/kotlin/idea/references/KtDestructuringDeclarationReference.kt#L14
But then this change was lost during commonization of this
implementation with FIR
^KTIJ-19815 Fixed
|
2021-10-04 18:17:18 +03:00 |
|
Ilya Kirillov
|
c8c1ee2b5a
|
Fix usage of readWriteAccess without resolve
^KTIJ-19777 fixed
|
2021-10-01 16:48:35 +02:00 |
|
Victor Petukhov
|
ee728b6902
|
Use the new type inference for top-level callable reference resolution
^KT-47797 Fixed
^KT-47987 Fixed
^KT-45034 Fixed
^KT-48446 Fixed
^KT-13934 Fixed
|
2021-09-27 16:12:27 +03:00 |
|
Vyacheslav Gerasimov
|
ab146bd6d4
|
Build: Fix deprecated Gradle configurations usages
for migration to Gradle 7+ #KTI-559
|
2021-09-26 18:28:44 +03:00 |
|
Roman Golyshev
|
57608d7eeb
|
Use correct elementType in KotlinBackingFieldStubImpl constructor
|
2021-09-13 21:58:00 +03:00 |
|
Nikolay Lunyak
|
6b532ccd0d
|
[FIR] Allow lateinit FirBackingField's
|
2021-09-11 22:05:41 +03:00 |
|
Nikolay Lunyak
|
56b2a984ce
|
[FIR] Quick fix FirModifierChecker
|
2021-09-11 22:05:35 +03:00 |
|
Nikolay Lunyak
|
37f832bc2f
|
[FIR] Add KtBackingField (see: KT-CR-4119, KT-14663)
|
2021-09-11 22:05:26 +03:00 |
|
Dmitriy Novozhilov
|
00c60bf569
|
[FE] Remove dependecy on :core:descriptors from :compiler:psi
|
2021-09-09 17:20:24 +03:00 |
|
Jinseong Jeon
|
8e242655f9
|
FIR IDE: resolve call to property accessors
|
2021-09-09 16:07:09 +02:00 |
|
Jinseong Jeon
|
cd4a08cb18
|
Migrate ReadWriteAccess and checker logic (from frontend-independent)
|
2021-09-09 16:07:09 +02:00 |
|
Denis.Zharkov
|
c1b5d5551f
|
Drop support for T!! syntactic structure
^KT-26245 In Progress
|
2021-08-31 15:41:13 +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 |
|
Denis.Zharkov
|
cdd8d1c163
|
Add AND (&) token
|
2021-08-31 15:41:09 +03:00 |
|
Ivan Kochurkin
|
301f446433
|
Restore KtModifierKeywordToken instead of String in modifier diagnostics
Remove KeywordType
|
2021-08-18 00:45:57 +03:00 |
|
Ilya Kirillov
|
2e3b576342
|
FIR IDE: change destructing declaration reference behaviour to match FE1.0 plugin behaviour
|
2021-08-11 18:09:05 +02:00 |
|
Tianyu Geng
|
684ef871ee
|
FIR: unify common special names scattered around the code base
|
2021-08-06 22:57:17 +03:00 |
|
Igor Yakovlev
|
a0418c3146
|
[STUBS] Fix invalid classId calculation for KtObjectLiteralExpression
|
2021-07-26 23:08:53 +02:00 |
|
Nikolay Krasko
|
1b3046a61b
|
Cleanup 202 bunch files
Leave 202 in .bunch file to give some time for updating build server
|
2021-07-23 16:58:26 +03:00 |
|
Dmitriy Novozhilov
|
2c1ada131d
|
[FIR] Don't generate implicit primary constructor for expect classes
|
2021-07-20 10:33:42 +03:00 |
|
Jinseong Jeon
|
9ec4d19a3f
|
FIR IDE: avoid finding symbol for function type parameter
|
2021-07-15 18:29:33 +02:00 |
|
Dmitriy Novozhilov
|
785e2f862c
|
[PSI] Ignore when failed to get file text
This is change from 36ff952 which was forgotten when applying 203 bunch
|
2021-07-13 10:34:59 +03:00 |
|
Dmitriy Novozhilov
|
ddc3ef1121
|
Fix all illegal usages of safeAs function
Call of `safeAs` without specifying explicit type argument is hardly
readable and may leads to hardly detectable errors
|
2021-07-12 10:11:36 +03:00 |
|