Mikhail Glukhikh
a70c4f15d6
K2: make not implemented checker more close to K1 logic
...
#KT-54049 Fixed
2022-09-16 07:15:43 +00:00
Mikhail Glukhikh
fe38089205
FE: add test reproducing KT-54049
2022-09-16 07:15:43 +00:00
Mikhail Glukhikh
b86722c523
FE: delay ForbidSuperDelegationToAbstractFakeOverride to 1.9
...
Related to KT-53953, KT-49017
2022-09-16 07:15:43 +00:00
Mikhail Glukhikh
c4a48927d2
K1: report ABSTRACT_SUPER_CALL(_WARNING) also for 2+ steps to intersection
...
#KT-53953 Fixed
2022-09-16 07:15:43 +00:00
Mikhail Glukhikh
3e5d5bcaa7
FE: add test reproducing KT-53953
2022-09-16 07:15:42 +00:00
Dmitriy Novozhilov
ed1a1c067c
[Assign plugin] Add experimentality warning
2022-09-16 10:12:41 +03:00
Anže Sodja
17cd0d7dbc
[Assign plugin] Add Gradle plugin and IDE dependencies for Assignment compiler plugin
2022-09-16 10:12:41 +03:00
Anže Sodja
09d6dfc8bf
[Assign plugin] Add a compiler plugin for overloading assign ('=') operator
2022-09-16 10:12:41 +03:00
Anže Sodja
6052962f50
Register AssignResolutionAltererExtension in KotlinCoreEnvironment
2022-09-16 10:12:41 +03:00
Dmitriy Novozhilov
09429ff432
[FIR] Fix reporting of UNINITIALIZED_ENUM_COMPANION in all places
2022-09-16 07:12:20 +00:00
Dmitriy Novozhilov
a2c12aa711
[FE] Always report UNINITIALIZED_ENUM_COMPANION_WARNING
...
^KT-54055
2022-09-16 07:12:19 +00:00
Dmitriy Novozhilov
3a5a6e5587
[FE] Add test for KT-54055
2022-09-16 07:12:19 +00:00
Dmitriy Novozhilov
b86d5cf21a
[FE] Postpone ProhibitAccessToEnumCompanionMembersInEnumConstructorCall till 1.9
...
^KT-49110
2022-09-16 07:12:19 +00:00
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