Sergey Bogolepov
ddc2eb79c3
[K/N] Convert StubGenerator build script to Kotlin
...
Besides usual pros of kts, it simplifies potential reuse
of code from other build.gradle.kts (namely, Interop:Indexer).
Also, this commit fixes red code in IDE by adding proper dependencies.
2022-09-16 04:53:41 +00:00
Alexander Udalov
0569f429dd
Report error on -Xuse-old-backend, remove Gradle option useOldBackend
...
Allow using old JVM backend only to compile kts.
#KT-48532 Fixed
2022-09-16 00:16:31 +02:00
Alexander Udalov
d50cf81e42
Remove tests on incremental compilation with old JVM backend
...
#KT-48532 Fixed
2022-09-16 00:16:31 +02:00
Alexander Udalov
97f63d539c
Remove tests on jvm-abi-gen with old JVM backend
...
#KT-48532 Fixed
2022-09-16 00:16:31 +02:00
Vladimir Dolzhenko
da86e536ad
Do not swallow exception throwing IOOBE
...
#KTIJ-22746
2022-09-15 21:30:34 +00:00
Ilya Chernikov
0814c0da57
Fix lowering of receiver access in IR scripting
...
#KT-53947 fixed
without the fix, in the presence of the implicit receiver of the same
type as the processed receive, the lowering was incorrectly substituting
the correct receiver with the accessor to the implicit one
2022-09-15 22:05:00 +02:00
Jinseong Jeon
5721b3b73c
AA: one representative lib module from compiler configuration
...
Split lib modules, which will be useful for reusable lib modules (if
there are multiple source modules that depend on same lib modules), are
not quite necessary for a project structure built from compiler
configuration. Those rather trigger OOM if lib modules' scopes are not
disjoint.
2022-09-15 21:27:13 +02:00
Jinseong Jeon
e5b75dcd72
AA: cache PackagePartProvider per scope
2022-09-15 20:06:41 +02:00
Jinseong Jeon
2580a5c233
AA: migrate PackagePartProviderFactory to general API providers
2022-09-15 20:06:40 +02:00
Igor Yakovlev
e2d758213f
[WASM] Bump wasm gradle tests and ignore binaryen tests
2022-09-15 16:27:46 +00:00
Igor Yakovlev
38dd68f1f4
[WASM] Enable passing tests
2022-09-15 16:27:46 +00:00
Igor Yakovlev
dbfd20ec4e
[WASM] Add null-checks for external functions with String return type
2022-09-15 16:27:45 +00:00
Igor Yakovlev
a7ed496a04
[WASM] Use wasm bottom types for Nothing?
2022-09-15 16:27:45 +00:00
Igor Yakovlev
3e6f153fe5
[WASM] Fix dce type removal for local variables
2022-09-15 16:27:44 +00:00
Igor Yakovlev
98f3c7c94e
[WASM] Temporary disable stdlib tests
2022-09-15 16:27:44 +00:00
Igor Yakovlev
21328fea9d
[WASM] Bump v8 version to 10.7.157
2022-09-15 16:27:43 +00:00
Igor Yakovlev
c94a051c19
[WASM] Renew to Milestone 6 instructions set
2022-09-15 16:27:42 +00:00
Igor Yakovlev
780fdd44b3
Revert "[WASM] Remove deprecated usage of externref"
...
This reverts commit 270a41a2db .
2022-09-15 16:27:42 +00:00
Igor Yakovlev
61d6f69bca
[WASM] Native support of returnable blocks
2022-09-15 16:27:41 +00:00
Igor Yakovlev
03c500d9e9
[WASM] Remove unreachable code from compiled wasm
2022-09-15 16:27:41 +00:00
Igor Yakovlev
c2d4a2cfb5
[WASM] Small refactoring of box test runner
2022-09-15 16:27:40 +00:00
Igor Yakovlev
5169d96acd
[WASM] Function call codegen refactoring
2022-09-15 16:27:40 +00:00
Igor Yakovlev
95396eb61a
[WASM] When expressions optimisations for String and Int constant cases
2022-09-15 16:27:39 +00:00
Igor Yakovlev
fff6b16483
[WASM] Wasm string.plus optimisations
2022-09-15 16:27:39 +00:00
Ilya Gorbunov
fe187b609f
Temporary ignore dependencies test
...
KT-51907
2022-09-15 17:39:30 +02:00
Ilya Gorbunov
18e4d9e16c
Deprecate modules of the empty artifacts to discourage their usage
...
#KT-51907
2022-09-15 15:38:33 +00:00
Ilya Gorbunov
e51d25fb60
Fix test data: use also stdlib where stdlib-jdk8 was required
...
#KT-51907
2022-09-15 15:38:32 +00:00
Ilya Gorbunov
1b6a462057
Move contents of stdlib-jdk7/8 into stdlib
...
#KT-51907
2022-09-15 15:38:32 +00:00
Dmitriy Novozhilov
06f3c0567b
[LC Test] Fix IDE testdata
2022-09-15 17:27:23 +03:00
Dmitriy Novozhilov
c5916e1d1f
[AA LC] Fix computation of const initializers of fields
2022-09-15 17:27:23 +03:00
Dmitriy Novozhilov
573b292cbc
[AA LC] Make top-level functions static final
2022-09-15 17:27:23 +03:00
Dmitriy Novozhilov
7e24ddeb40
[AA LC] Properly compute retention for @java.lang.annotation.Retention
2022-09-15 17:27:22 +03:00
Dmitriy Novozhilov
77546e5e06
[AA LC] Compute nullability annotation for parameter for extension receiver
2022-09-15 17:27:22 +03:00
Dmitriy Novozhilov
c67ded2d3b
[AA LC] Properly set type mapping mode for bounds of type parameters
2022-09-15 17:27:22 +03:00
Dmitriy Novozhilov
a3884e35e2
[AA LC] Fix type parameters for getters of generic extension properties
2022-09-15 17:27:22 +03:00
Dmitriy Novozhilov
3b87a9f354
[AA LC] Map kotlin collections to java in bounds of type parameters
2022-09-15 17:27:22 +03:00
Dmitriy Novozhilov
e6092e2dff
[AA LC] Generate nullability annotations for properties in enums
2022-09-15 17:27:22 +03:00
Dmitriy Novozhilov
b7712a35f0
[AA LC] Generate backing field for inline classes
2022-09-15 17:27:21 +03:00
Dmitriy Novozhilov
8e80c5830e
[AA LC] Fix annotations on fields for enum entries
2022-09-15 17:27:21 +03:00
Dmitriy Novozhilov
a88fdd5eb7
[AA LC] Implement default values for methods of annotations
2022-09-15 17:27:21 +03:00
Dmitriy Novozhilov
3a51a8a655
[AA LC] Fix computing visibility for classes
2022-09-15 17:27:21 +03:00
Dmitriy Novozhilov
1fd2816755
[AA LC Test] Cleanup resulting java dump
...
- Remove redundant spaces
- Add empty line at the end
2022-09-15 17:27:21 +03:00
Dmitriy Novozhilov
ab2aa3117b
[AA LC] Add @java.lang.Override on override functions
2022-09-15 17:27:21 +03:00
Dmitriy Novozhilov
d60f3980b1
[AA LC] Correctly determine override status for accessor methods
2022-09-15 17:27:20 +03:00
Dmitriy Novozhilov
258e3f9225
[AA LC] Fix visibility of fields for const vals
2022-09-15 17:27:20 +03:00
Dmitriy Novozhilov
1ff51356b9
[AA LC] Fix visibility of fields from companion objects
...
^KTIJ-22541
2022-09-15 17:27:20 +03:00
Dmitriy Novozhilov
c34f952126
[Test] Render annotations on enum entries in PSI class renderer
2022-09-15 17:27:20 +03:00
Dmitriy Novozhilov
7ef81c27df
[AA] Make KotlinReferenceProvidersService and KotlinReferenceProviderContributor a project services
...
There is no need to have those services on application level
2022-09-15 17:27:20 +03:00
Dmitriy Novozhilov
0909cad886
Reformat FirAnnotationValueConverter.kt
2022-09-15 17:27:20 +03:00
Dmitriy Novozhilov
669e7e071c
[AA] Register library and builtins session factories in Standalone AA Builder
2022-09-15 17:27:19 +03:00