Dmitriy Novozhilov
dbbb999952
[FIR] Support builder (coroutine) inference
...
#KT-37431 Fixed
2020-06-29 12:19:02 +03:00
Dmitriy Novozhilov
3f5db6b86e
[FIR] Add ConeAttributes to ConeKotlinType
...
(cherry picked from commit f76befa84e )
2020-06-29 12:19:00 +03:00
Dmitriy Novozhilov
e76f3f93f6
[FIR] Move ArrayMap to cones module
...
(cherry picked from commit 407d1365bd )
2020-06-29 12:19:00 +03:00
Denis Zharkov
66e53305bf
FIR: Leave only one composite-like scope implementation
2020-06-26 16:52:10 +03:00
Denis Zharkov
cea38771f1
FIR: Unbound TypeResolver from IterableScope
2020-06-26 16:52:10 +03:00
Denis Zharkov
9668a60151
FIR: Explicitlty separate static and member scopes
...
For Java, they have rather different semantics considering "overrides"
and obtaining functions/properties from supertypes
See the Java statics implementation
2020-06-26 16:52:10 +03:00
Dmitriy Novozhilov
7ea17f0d31
Revert "[FIR] Move ArrayMap to cones module"
...
This reverts commit 407d1365
2020-06-26 11:47:20 +03:00
Dmitriy Novozhilov
0b29a3e5c1
Revert "[FIR] Add ConeAttributes to ConeKotlinType"
...
This reverts commit f76befa8
2020-06-26 11:47:08 +03:00
Dmitriy Novozhilov
f76befa84e
[FIR] Add ConeAttributes to ConeKotlinType
2020-06-26 10:54:51 +03:00
Dmitriy Novozhilov
407d1365bd
[FIR] Move ArrayMap to cones module
2020-06-26 10:54:50 +03:00
Dmitriy Novozhilov
8ce28cb509
[FIR] Add transformBody to FirFunction
2020-06-22 12:29:26 +03:00
Dmitriy Novozhilov
a7675c16d5
[FIR] Fix problems with renaming invocationKind and field in FirAnonymousFunction
2020-06-19 16:28:07 +03:00
Dmitriy Novozhilov
d01817ce14
Rename InvocationKind to EventOccurrencesRange
2020-06-19 15:53:11 +03:00
Dmitriy Novozhilov
05ee436db0
[FIR] Introduce FirControlFlowGraphOwner node
2020-06-19 15:53:06 +03:00
Dmitriy Novozhilov
87859b0faa
[FIR] Introduce new algorithm for building CFG for declarations
2020-06-19 15:53:00 +03:00
Dmitriy Novozhilov
34be9e3569
[FIR] Add controlFlowGraph references to value parameters
2020-06-19 15:52:59 +03:00
Jinseong Jeon
f64f9c2144
FIR: inherit property accessor modifiers from property and vice versa
2020-06-16 19:17:27 +03:00
simon.ogorodnik
1a7b30c13a
[FIR] Fix incorrect name in anonymous object class id
2020-06-16 00:01:06 +03:00
Dmitriy Novozhilov
7c57c4a2fb
[FIR] Add FirErrorProperty node
2020-06-15 15:32:24 +03:00
Alexander Udalov
6e67e1e78d
Replace appendln with appendLine in project
2020-06-11 13:01:30 +02:00
Denis Zharkov
bea37569e6
FIR: Fix processOverriddenFunctions implementations
2020-06-11 11:31:36 +03:00
Denis Zharkov
28627e9754
FIR: Minor. Clarify naming for unwrapping overrides
2020-06-11 11:31:35 +03:00
Denis Zharkov
89cbe9bf93
FIR: Pull down FirScope.processOverriddenFunctions
2020-06-11 11:31:33 +03:00
Denis Zharkov
6178cb7206
FIR: Get rid of last usages of FirScope.processOverriddenFunctions
2020-06-11 11:31:32 +03:00
Denis Zharkov
0bd2a74542
FIR: Add FirTypeScope
...
^KT-35495 Relates
2020-06-11 11:31:29 +03:00
Denis Zharkov
38922a84f1
FIR: Do not create synthetic properties for non-Java accessors
...
^KT-35495 Fixed
2020-06-11 11:01:43 +03:00
Denis Zharkov
6a1f921a5c
FIR: Introduce FirScope.processOverriddenFunctions
...
^KT-35495 In Progress
2020-06-11 11:01:43 +03:00
Jinseong Jeon
ab2a2b3a87
FIR2IR: eager conversion of annotations in Library class and members
2020-06-11 10:57:51 +03:00
Jinseong Jeon
0d2552b0b6
FIR: record and serialize the modifier "fun" for functional interface
2020-06-08 09:42:32 +03:00
Dmitriy Novozhilov
b79d6aced4
[FIR] Add resolve phase for resolving arguments of plugin's annotations
2020-06-05 10:34:00 +03:00
Dmitriy Novozhilov
73b738b7ff
[FIR] Replace resolved flag with resolve status enum for annotation calls
2020-06-05 10:33:59 +03:00
Dmitriy Novozhilov
9fa4ff750b
[FIR] Fix ArrayMapImpl.iterator()
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
eceeacdf61
[FIR] Change nested class generation extension to generate top-level classes also
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
87f0f123a8
[FIR] Add extension for generating new members for existing classes
2020-06-03 13:10:15 +03:00
Denis Zharkov
7a22827af4
FIR: Unify all references to FIR nodes from non-parents
2020-06-03 10:43:37 +03:00
Denis Zharkov
4a4dce1766
FIR: Use more refined names instead of "safe"
...
^KT-38444 Fixed
2020-06-03 10:43:37 +03:00
Denis Zharkov
6507656496
FIR: Remove FirQualifiedAccessWithoutCallee.safe from generated code
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
291afd8448
FIR: Remove FirQualifiedAcces.safe in non-generated code
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
755b846877
FIR: Support safe-calls in renderers
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
cb1c3f87f0
FIR: Prepare tree structure for safe-call refactoring
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
simon.ogorodnik
99b2a4745a
[FIR2IR] Fix superQualifier in case of composed super type ref
2020-05-29 21:10:56 +03:00
Dmitriy Novozhilov
b4ce736814
[FIR] Move registration components out of initializers of FirSession
2020-05-29 10:24:26 +03:00
Dmitriy Novozhilov
fec3e4faf1
[FIR] Move initialization of common services to FirSessionBase
2020-05-29 10:22:04 +03:00
Dmitriy Novozhilov
6d37776267
[FIR] Rename FirClassImpl to FirRegularClassImpl
...
Also rename `buildClassImpl` to `buildRegularClass` and get rid
of intermediate `AbstractFirRegularClassBuilder`
2020-05-29 10:22:03 +03:00
Dmitriy Novozhilov
60fd505a9c
[FIR] Get rid of FirSealedClass node
...
Now list of inheritors is hold in attributes of `FirRegularClass`
2020-05-29 10:22:00 +03:00
Jinseong Jeon
18953c4717
FIR: transform resolved arrayOf call inside annotation to FirArrayOfCall
2020-05-27 11:38:34 +03:00
Juan Chen
adba0a03a6
[FIR] Create builtin primitive array types for properties
...
If the primary constructor has a vararg parameter, the corresponding
property has an array type. This commit creates the builtin array
types for such properties if the vararg element type is primitive,
e.g., CharArray instead of Array.
2020-05-26 14:08:47 +03:00
simon.ogorodnik
dbc564e74e
[FIR2IR] Approximate types for lambdas before passing to serialization
2020-05-25 21:24:39 +03:00
simon.ogorodnik
b92194229c
[FIR] Add fir copy function generation
2020-05-25 21:24:38 +03:00
Dmitriy Novozhilov
96da6d35c5
[FIR] Add processor for transforming statuses with plugins
2020-05-24 18:04:47 +03:00