Ivan Kochurkin
f751f13c4d
[FIR] Fix incompatible KClass<Any> and callable reference Collection::class, ^KT-51272 Fixed
2022-02-23 14:21:59 +03:00
Ivan Kochurkin
31d9313c51
[FIR] Fix "Expected some types" exception, ^KT-51274 Fixed
2022-02-23 14:21:59 +03:00
Ivan Kochurkin
6a3b7a9f91
[FIR] Ignore fake functions in FirExposedVisibilityDeclarationChecker ^KT-51229 Fixed
2022-02-23 14:21:58 +03:00
Ivan Kochurkin
73b45a1254
[FIR] Report UNSUPPORTED on array literals not from annotation classes ^KT-50750 Fixed
2022-02-23 14:21:57 +03:00
Ivan Kochurkin
19285d0569
[FIR] Fix false positive EXPOSED_PARAMETER_TYPE on internal val in constructor of sealed class ^KT-51200 Fixed
2022-02-23 14:21:57 +03:00
Artem Kobzar
9c5c31bdcb
build: change the logic for building ts files before js tests run.
2022-02-23 10:28:02 +00:00
Dmitry Gridin
261cac7514
[light classes] avoid resolve in equals
...
^KTIJ-21209
2022-02-23 11:13:44 +07:00
Ilmir Usmanov
8811f62300
Fix mapping of nullable generic underlying types of inline classes
...
#KT-32162 Fixed
2022-02-23 01:23:07 +03:00
Mikhail Glukhikh
981f8b1871
FIR: implement resolve of unqualified enum references in when
...
See KT-16768
2022-02-22 22:13:06 +03:00
Nikolay Krasko
f35b4b7515
Update junit to 4.13.1 in kotlin-maven-plugin-test
2022-02-22 21:43:29 +03:00
dependabot[bot]
ba45f29959
Bump junit in kotlin-maven-plugin-test
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.9 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.9...r4.13.1 )
---
updated-dependencies:
- dependency-name: junit:junit
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-22 21:43:29 +03:00
Nikolay Krasko
82e3ec2eaa
Update junit 4.12 -> 4.13.1 in js archetype
2022-02-22 21:43:28 +03:00
dependabot[bot]
b5e258b3cf
Bump junit 4.12 -> 4.13.1 in maven jvm archetype
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1 )
---
updated-dependencies:
- dependency-name: junit:junit
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-22 21:43:27 +03:00
Nikolay Krasko
a2cef5c930
Update shadow plugin to 7.1.2
...
^KTI-728 Fixed
2022-02-22 21:43:27 +03:00
Nikolay Krasko
40482229bd
Minor: add md5 signatures
2022-02-22 21:43:26 +03:00
Nikolay Krasko
cd08b26518
Drop KannotatorJpsTest.java
2022-02-22 21:43:25 +03:00
Yahor Berdnikau
d0ee0d8c38
Migrate KotlinJsLibraryGradlePluginIT tests to new dsl
...
^KT-45745 In Progress
2022-02-22 18:59:19 +01:00
Ilya Goncharov
637d45c539
[IR] Disable rename of inline symbols
...
Merge-request: KT-MR-5801
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
2022-02-22 15:59:02 +00:00
Sergey Bogolepov
f010c33958
[K/N] Fix compilation of static libraries for Android
...
^KT-49145 fixed
2022-02-22 15:37:41 +00:00
Yahor Berdnikau
bd6480e7e5
Removed plugin api dependency from 'android-test-fixes' plugin
...
^KT-49227 In progress
2022-02-22 12:35:06 +00:00
Yahor Berdnikau
b87075c344
Add separate test project for warn on different classloaders test
...
After this update to have different classpath hash in subprojects,
they should have different sets of plugins applied. But KGP could be
in all of them.
^KT-49227 In Progress
2022-02-22 12:35:06 +00:00
Yahor Berdnikau
9f0df8f6b5
Migrate sam-with-receiver plugin configuration
...
This change should also trigger proper publishing of this plugin to
Gradle plugin portal.
^KT-49227 In Progress
2022-02-22 12:35:05 +00:00
Yahor Berdnikau
d7122bc52a
Move kotlinGradleFragmentConsistencyChecker to be a part of class
...
Fixes 'NoSuchMethodException' on running
'KpmCompilerPluginIT.testTransientPluginOptions' test.
^KT-49227 In Progress
2022-02-22 12:35:05 +00:00
Yahor Berdnikau
d0790bb2cb
Gradle plugin will publish shadowed jar.
...
^KT-49227 In Progress
2022-02-22 12:35:05 +00:00
Yahor Berdnikau
ab564d371e
Remove old code used to configure Gradle plugin publication.
...
^KT-49227 In Progress
2022-02-22 12:35:04 +00:00
Yahor Berdnikau
4c2434ecf0
Migrate kotlin-lombok configuration
...
^KT-49227 In Progress
2022-02-22 12:35:04 +00:00
Yahor Berdnikau
f8ec91f549
Migrate atomicfu plugin configuration
...
^KT-49227 In Progress
2022-02-22 12:35:03 +00:00
Yahor Berdnikau
572285cb3b
Migrate kotlin-allopen configuration
...
^KT-49227 In Progress
2022-02-22 12:35:03 +00:00
Yahor Berdnikau
0488924edb
Migrate kotlin-noarg configuration
...
^KT-49227 In Progress
2022-02-22 12:35:02 +00:00
Yahor Berdnikau
539826e611
Migrate kotlin-serialization configuration
...
^KT-49227 In Progress
2022-02-22 12:35:02 +00:00
Yahor Berdnikau
0af5b34921
Move some Gradle libraries to use common-dependency configuration
...
^KT-49227 In Progress
2022-02-22 12:35:02 +00:00
Yahor Berdnikau
1d2796d491
Update Gradle plugins publishing setup
...
Simplifies and make it aligned with official documentation, which
removes some old workarounds. Additionally, it enables publication of
Gradle metadata file, which is required for plugin variants feature
support.
Instead of using 'gradleApi()' as Gradle API dependency, which provides
build current Gradle version api, now setup is using
"dev.gradleplugins:gradle-api" artifacts with specific Gradle version.
This allows to have more fine-grained Gradle support for removed apis.
^KT-49227 In Progress
2022-02-22 12:35:01 +00:00
Yahor Berdnikau
e4610d9df6
Update Gradle plugin publish plugin to 0.20.0 version.
...
^KT-49227 In Progress
2022-02-22 12:35:01 +00:00
Yahor Berdnikau
764dd84803
Update dokka plugin to 1.6.10 version
...
Move it into 'buildSrc' dependency, so it will be available to
precompiled script plugins.
^KT-49227 In Progress
2022-02-22 12:35:00 +00:00
Svyatoslav Scherbina
0c24f67c21
Native: fix location offsets in SuspendFunctionN implementations
...
When generating synthetic Function{N+1}.invoke implementations for
SuspendFunction{N} subclasses, use SYNTHETIC_OFFSET instead of
suspend invoke function location offsets.
This location is more suitable for generated synthetic functions.
Additionally, this fixes the case when suspend invoke is fake override:
fake overrides use UNDEFINED_OFFSET, so the generated function was
getting UNDEFINED_OFFSET as well, leading to incorrect debug
information.
Fix suspendFunctionAsSupertype.kt and suspendFunctionAsSupertypeCall.kt
2022-02-22 11:34:28 +00:00
Alexander Shabalin
964edbaf91
[K/N] Reuse mark queue ^KT-51436
...
Merge-request: KT-MR-5819
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-02-22 11:01:15 +00:00
Yahor Berdnikau
14dc20186d
Migrate IncrementalCompilationMultiProjectIT test to new dsl
...
^KT-45745 In Progress
2022-02-21 23:49:12 +03:00
Yahor Berdnikau
a5c1febf88
Convert IncrementalJavaChangeIT test to new tests dsl
...
^KT-45745 In Progress
2022-02-21 23:49:11 +03:00
Yahor Berdnikau
f8a3b8bf1f
Add helper to get paths related to the project dir
...
^KT-45745 In Progress
2022-02-21 23:49:11 +03:00
Yahor Berdnikau
01d5b92b33
Add additional build options required for incremental tests
...
^KT-45745 In Progress
2022-02-21 23:49:10 +03:00
Mikhail Glukhikh
8274c43ee6
Make useExperimental non-CLI argument
2022-02-21 22:32:53 +03:00
Alexander Udalov
96ba4bb201
Add test to check that KT-30172 is fixed
2022-02-21 20:31:05 +01:00
tdn120
8d1fb7bb5e
Check analysis error before checking compiler args
...
ExperimentalUsageChecker.checkCompilerArguments() will crash if there was an error running analyze().
This checks for the error first so it can be properly reported.
2022-02-21 20:31:05 +01:00
Alexander Udalov
8ccd4a40d2
IR: rename IrElementVisitorVoid.visitVariableAccess -> visitValueAccess
...
For consistency with IrElementVisitor.
Co-authored-by: mcpiroman <mcpiroman@gmail.com >
2022-02-21 19:56:45 +01:00
Alexander Udalov
b00cd30e93
IR: minor, move accept from IrConstantObjectImpl to IrConstantObject
2022-02-21 19:56:45 +01:00
Alexander Udalov
0b6972edf0
IR: add default implementations for acceptChildren/transformChildren
...
To simplify migration to auto-generated IR.
2022-02-21 19:56:45 +01:00
Alexander Udalov
4bec1b08f9
IR: move IrElement.transform implementation to IrElementBase
...
To avoid extra indirection via `IrElement$DefaultImpls` for elements
whose `transform` uses the default implementation. And also, to simplify
migration to auto-generated IR tree.
2022-02-21 19:56:44 +01:00
Alexander Udalov
2ce91853ec
IR: minor, extract declarations from IrElement.kt
2022-02-21 19:56:44 +01:00
Alexander Udalov
1303ac4848
IR: make IrGetValue.copyWithOffsets an extension function
2022-02-21 19:56:44 +01:00
Alexander Udalov
bb77078362
Do not use embeddable compiler for K/N in testMppBuildWithCompilerPlugins
2022-02-21 19:56:22 +01:00