Nikolay Lunyak
afd8895e51
[FIR] Introduce the PluginGenerated source kind
...
Make parcelize work consistently with
`FirOverrideChecker`.
Actually, there is a philosophical question about
what to do when a plugin generates a class
in a new package, and this class is red code
(for instance, doesn't implement an abstract
member from a supertype). There's no source
to report such an error, but we probably do
want to run checkers to avoid trying to
compile red code to binaries (because it may
crash in backend, or it may silently work).
2024-02-15 16:10:13 +00:00
Dmitrii Gridin
f124ba627d
[FIR] implicit type: avoid redundant property and function transformations
...
This is a contract violation – we can touch only bodies during this phase
^KT-56551
2023-10-06 14:13:37 +00:00
Bogdan Mukvich
7b00323b89
[Build] Update guava
...
Fix some reports from "Show Vulnerable Dependencies"
^KTI-1342
2023-08-25 14:10:37 +00:00
Kirill Rakhman
8d7c5b375e
[FIR] Replace usages of FirExpression.typeRef with coneTypeOrNull
...
#KT-59855 Fixed
2023-08-24 07:54:57 +00:00
Mikhail Glukhikh
d5a02960d8
K2 plugins: set proper 'expect' flag for all member declarations
...
Related to KT-59299
2023-06-16 17:55:46 +00:00
Mikhail Glukhikh
8e882ea797
K2 plugins: create companions with same expect/actual as their owners
...
#KT-59299 Fixed
2023-06-16 17:55:45 +00:00
Dmitrii Gridin
5b3f617378
[FIR] add memberRequiredPhase to declaredMemberScope
...
^KT-56551
2023-05-19 12:43:45 +00:00
Dmitrii Gridin
add47aa041
[FIR] provide correct origin and source to default backing field
...
Now it is aligned with default accessors
Covered by
analysis/analysis-api/testData/symbols/symbolByReference/accessorField.kt
test
^KT-57648
^KT-55723
2023-05-11 10:31:52 +00:00
Dmitrii Gridin
866e8a26c7
[FIR] set correct resolve phase for default getter, setter and backing field
...
^KT-58163 Fixed
2023-04-21 17:21:17 +00:00
Leonid Startsev
8953b25c5b
Improve documentation for FIR builders
2023-02-16 15:36:18 +00:00
Dmitriy Novozhilov
a967a242c7
[FIR] Allows use DSL for building FIR declarations from any FirExtension
2023-02-08 08:44:50 +00:00
Dmitriy Novozhilov
125b773205
[FIR] Introduce utility for creating ConeClassLikeLookupTagImpl from ClassId
...
`classId.toLookupTag()` looks much cleaner than `ConeClassLikeLookupTagImpl(classId)`
2023-02-02 08:24:48 +00:00
Dmitriy Novozhilov
42db0b14f0
[FIR] Move all type construction utilities into one file
2023-01-12 17:45:40 +00:00
Dmitriy Novozhilov
ce8489a8a5
[FIR] Add ability to create accessor to declaration attribute on symbol
2023-01-12 17:45:40 +00:00
Dmitriy Novozhilov
185e57e601
[FIR] Introduce builders API for generating declarations in compiler plugins
...
^KT-53096 Fixed
2023-01-12 17:45:39 +00:00