Jinseong Jeon
aef3df0336
AA: introduce AA session and builder
2022-06-09 10:35:16 +02:00
Jinseong Jeon
5585d84808
AA: make utils in StandaloneProjectFactory more general
2022-06-09 10:35:16 +02:00
Jinseong Jeon
72bf702309
AA: utilize file lookup utils (to reuse in facade)
2022-06-09 10:35:16 +02:00
Jinseong Jeon
4cfefbd921
AA: introduce ProjectStructureProvider builder
2022-06-09 10:35:16 +02:00
Jinseong Jeon
8528f6244d
AA: introduce KtModule builders
2022-06-09 10:35:15 +02:00
Jinseong Jeon
d592dab4b6
AA: rename util file to match module/pcakge name
2022-06-09 10:35:15 +02:00
Jinseong Jeon
355fd48782
AA: remove test prefix at non-test module
2022-06-09 10:35:15 +02:00
Mikhail Zarechenskiy
372879b8e7
[FE 1.0] Don't fail with exception on unresolved type with type argument
...
^KT-50223 Fixed
2022-06-09 08:03:35 +00:00
pyos
87dc1f7fde
JVM_IR: remove ExpressionCodegen.inlinedInto
2022-06-08 23:59:58 +02:00
pyos
27c51f5f88
JVM_IR: skip SAM lambdas when computing enclosing method of objects
...
This is what Java 15+ does, and it permits accessing captured type
parameters via reflection. The alternative is to emit generic signatures
on the lambda methods, but that was disabled and I have no clue why.
^KT-52417 Fixed
2022-06-08 23:59:58 +02:00
Pavel Mikhailovskii
f81d47bad6
KT-46797 Generate generic signatures for suspendImpl
2022-06-08 16:15:08 +02:00
Sergej Jaskiewicz
eae89da540
Factor out stepping test utility functions
...
We will need them for JS stepping tests as well.
2022-06-08 13:42:07 +00:00
Steven Schäfer
dbb6144ab0
JVM IR: Avoid boxing in generic floating point equality (KT-48635)
2022-06-08 15:38:06 +02:00
Dmitriy Novozhilov
36a154507e
[Parcelize] Remove dependency from backend module to k2 module
...
This is needed to avoid dependencies on FIR classes inside Parcelize IDE
plugin
2022-06-08 11:33:37 +00:00
Yahor Berdnikau
021e251143
Fix Gradle plugin inputs validation issue
...
Also add '@Internal' annotation in interface, so it propagated to all
inheritors.
^KT-52448 Fixed
2022-06-08 12:45:56 +02:00
Jinseong Jeon
4700ad3e9e
Docs: fix links to sources in FIR plugins
2022-06-08 11:28:56 +02:00
Roman Golyshev
8fca9f41eb
[FIR IDE] Correctly check declarations' modalities in SamResolver
...
Modality might be null before the declaration itself is resolved to
`STATUS`
^KT-52667 Fixed
2022-06-07 21:14:24 +00:00
Igor Yakovlev
3abcd84802
[WASM] Fix Kotlin.Test box tests
2022-06-07 20:59:03 +00:00
Igor Yakovlev
f996278171
[WASM] Support for mjs universal launcher
2022-06-07 20:59:03 +00:00
Igor Yakovlev
c8806763fa
[WASM] Kotlin gradle plugin tests for Wasm nodejs and d8 support
2022-06-07 20:59:02 +00:00
Igor Yakovlev
4943d5d683
[WASM] Support wasm backend DSL for d8
2022-06-07 20:59:02 +00:00
Igor Yakovlev
ee8a90f668
[JS] Fix implement MonotonicTimeSource for d8
2022-06-07 20:59:01 +00:00
Igor Yakovlev
dec2426a54
[WASM] Add OptIn to declaration with JsExport
2022-06-07 20:59:01 +00:00
Igor Yakovlev
83ecafe8d1
[WASM] Add toString implementation to Throwable
2022-06-07 20:59:01 +00:00
Sergey.Shanshin
facde26371
Added serialization support for the kotlin.time.Duration class as built-in
2022-06-07 20:37:05 +00:00
Dmitriy Novozhilov
cdbfa7fbbc
[Plugins] Fix bundling sources of NoArg, AllOpen and Lombok for maven plugins
2022-06-07 14:12:27 +00:00
Dmitriy Novozhilov
d527b00dfc
[FIR] Create generated declared scope only for classes from sources and plugins
2022-06-07 14:12:27 +00:00
Dmitriy Novozhilov
f5637e5077
[FIR] Look for jar with plugin annotations in system property and by direct path in tests
...
This is needed to make those tests work in JPS, because corresponding
system property is set only by gradle
2022-06-07 14:12:27 +00:00
Dmitriy Novozhilov
a85d25d7a6
[FIR] Rename UnderAnnotatedWith predicate to AncestorAnnotatedWith
2022-06-07 14:12:26 +00:00
Dmitriy Novozhilov
66c2679673
[Plugins] Extract parts of cli modules which were used from IDE into common modules
...
This is needed to avoid IDE dependencies on cli modules, because they
include FIR classes, which are inaccessible in regular Kotlin IDE plugin
2022-06-07 14:12:26 +00:00
Dmitriy Novozhilov
9b56a01d74
[Plugins] Include backend parts of noarg and parcelize into jars for IDE
2022-06-07 14:12:25 +00:00
Dmitriy Novozhilov
83d0a3e7a3
[FIR] Extract FirPluginKey into :core:compiler.common and rename it to GeneratedDeclarationKey
...
This is needed to avoid dependency on :compiler:fir:fir2ir module in
backend parts of compiler plugins. It will allow to publish those
parts into jars for IDE, where they are needed for working of debugger
and bytecode toolwindow
2022-06-07 14:12:25 +00:00
Dmitriy Novozhilov
a84ece7233
[Lombok] Add implementation of plugin for FIR
2022-06-07 14:12:25 +00:00
Dmitriy Novozhilov
e58e86932c
[FIR] Pass declared member scope to methods of declaration generation extension
2022-06-07 14:12:24 +00:00
Dmitriy Novozhilov
ae0bc1c078
[FIR] Generate copy builder for FirTypeParameter
2022-06-07 14:12:24 +00:00
Dmitriy Novozhilov
430ea414a9
[Lombok] Convert tests with compilation errors to diagnostic tests
2022-06-07 14:12:23 +00:00
Dmitriy Novozhilov
fb57e1ecd5
[FIR] Add two kinds of Java origin to distinguish source and library declarations
2022-06-07 14:12:23 +00:00
Dmitriy Novozhilov
26df9d74e8
[FE] Add flag to java model to distinguish source java classes from binaries
2022-06-07 14:12:23 +00:00
Dmitriy Novozhilov
09ff6303cc
Reformat TreeBasedAnnotation.kt
2022-06-07 14:12:22 +00:00
Dmitriy Novozhilov
23c69f8d17
[FIR] Add to new types of annotation predicates
...
- `ParentAnnotatedWith` matches declarations, which parent is annotated
- `HasAnnotatedWith` matches declarations, which have at least one
direct child with annotation
Also, `DeclarationPredicate.Any` is removed, because there is no
intention to support lookup for all declarations in module
^KT-52486 Fixed
2022-06-07 14:12:22 +00:00
Dmitriy Novozhilov
c62257bbab
[Build] Use -Xuse-k2 flag instead of -Xuse-fir
2022-06-07 14:12:22 +00:00
Dmitriy Novozhilov
7c19f3b1ca
[Lombok] Migrate tests to new test infrastructure
2022-06-07 14:12:21 +00:00
Dmitriy Novozhilov
c9c24d27d7
[Lombok] Fix style of FILE directive in testdata
2022-06-07 14:12:21 +00:00
Dmitriy Novozhilov
dcd96932aa
[Lombok] Adapt format of codegen tests to standard box() style
2022-06-07 14:12:20 +00:00
Dmitriy Novozhilov
bc8051ce9b
[Test] Allow to create source files different from .kt and .java in SourceFileProvider
2022-06-07 14:12:20 +00:00
Dmitriy Novozhilov
f34061acc1
[FIR] Fix resolution of plugin annotations annotated with meta annotations
...
There was a problem, that after founding of new annotation with meta
annotation we did not come back to previous files, which may contain
declarations with this new annotation
2022-06-07 14:12:19 +00:00
Dmitriy Novozhilov
055865a2a1
[FIR-IDE] Register checkers from plugins in IDE session
2022-06-07 14:12:19 +00:00
Dmitriy Novozhilov
c2bf68c9d3
[Lombok] Reorganize module structure of Lombok compiler plugin
...
Also rename its jar to `kotlin-lombok-compiler-plugin`
^KT-52468 Fixed
2022-06-07 14:12:19 +00:00
Dmitriy Novozhilov
bfb908dcd9
[Build] Publish only K1 related parts of Parcelize, AllOpen and NoArg for IDE
2022-06-07 14:12:18 +00:00
Dmitriy Novozhilov
5d0655247f
[NoArg] Add implementation of plugin for FIR
2022-06-07 14:12:18 +00:00