Svyatoslav Kuzmich
e18980b7ad
[Wasm] Clean wasm testdata annotations
2021-10-07 22:36:17 +03:00
Roman Golyshev
9113ccb8fc
[FIR IDE] Properly support loop variables in KtFirSymbolProvider
2021-10-07 18:30:21 +03:00
Ilya Muradyan
58831eacca
[scripting] Make properties from destructing declarations available with reflection
2021-10-07 18:17:21 +03:00
Denis.Zharkov
1c16f2f8c9
Fix ClassCastException at FirUninitializedEnumChecker
2021-10-07 17:26:29 +03:00
Denis.Zharkov
0d072de737
Do not check package validness for ones that we just checked already
2021-10-07 17:26:28 +03:00
Denis.Zharkov
f5da8957b4
FIR2IR: Support not found dependencies classes
...
^KT-49119 Relates
2021-10-07 17:26:27 +03:00
Denis.Zharkov
9230195317
FIR2IR: Prettify some parts at Fir2IrTypeConverter.kt
2021-10-07 17:26:26 +03:00
Denis.Zharkov
9d9f191f51
FIR: Fix exception caused by empty supertypes of java.lang.Object
2021-10-07 17:26:25 +03:00
Roman Artemev
7eb0fd4762
[JS IR] Unmute fixed tests
2021-10-07 16:00:50 +03:00
Roman Artemev
e6de812788
[IR] Implement checker for friendship of modules in fake override builder
...
- pass corresponding information to FO builder
- implement check
- fix KT-47192 and KT-48673
2021-10-07 16:00:49 +03:00
Roman Artemev
ed8e7c754d
[IR] Add test for internal fake overrides from friend module
2021-10-07 16:00:48 +03:00
Roman Artemev
9138425a3d
[JS IR] Pass friend dependencies to compiler in test runner
2021-10-07 16:00:47 +03:00
Yahor Berdnikau
5d2739e6f0
Extract BuildOptions into separate file.
...
^KT-45745 In Progress
2021-10-07 14:55:57 +02:00
Yahor Berdnikau
fc00d0dc18
Introduce GradleProject class.
...
This allows to split concepts of TestProject(whole build and options)
and actual Gradle project, which could be one of the main project
subprojects.
^KT-45745 In Progress
2021-10-07 14:55:57 +02:00
Ilya Goncharov
4925beedc0
[Gradle, JS] Update NPM versions
...
^KT-49124 fixed
2021-10-07 15:48:36 +03:00
Yahor Berdnikau
82d947d3a4
Migrate ConfigurationAvoidanceIT tests into new DSL.
...
^KT-45745 In Progress
2021-10-07 12:41:08 +02:00
Yahor Berdnikau
2f87c28634
Better test setup for Android projects.
...
^KT-45745 In Progress
2021-10-07 12:41:03 +02:00
Ilya Matveev
b07f78cc8b
[K/N][perf] Workaround broken buildSrc compilation
...
benchmarksAnalyzer/buildSrc includes sources from K/N's 'build-tools'
subproject. But now these sources depend on the old Kotlin/Native
Gradle plugin (aka tools/kotlin-native-gradle-plugin) causing
compilation errors when building benchmarksAnalyzer/buildSrc.
This patch works around this problem by ignoring the file that
brings this dependency.
2021-10-07 10:19:33 +00:00
Dmitriy Novozhilov
c32ca7b387
[Test] Add parcelize testdata to test helper config
2021-10-07 13:08:46 +03:00
Dmitriy Novozhilov
df47bffabb
[Test] Migrate Parcelize tests to new test infrastructure
2021-10-07 13:08:45 +03:00
Dmitriy Novozhilov
a68c4ec7be
[Test] Add ability to specify main class in Box tests
...
Also slightly refactor some existing services to make them more idiomatic
2021-10-07 13:08:45 +03:00
Dmitriy Novozhilov
aab8870903
[Test] Migrate AbstractAsmLikeInstructionListingTest to new test infrastructure
2021-10-07 13:08:44 +03:00
Dmitriy Novozhilov
bc7cc6b5a9
Move generated parcelize tests to tests-gen directory
2021-10-07 13:08:43 +03:00
Viacheslav Kormushkin
cd9d74b029
Generate podspec for XCFramework suitable for publishing
...
#KT-47812
#KT-47633
#KT-43815
#KT-42630
#KT-42105
#KT-48808
Merge-request: KT-MR-4483
2021-10-07 08:14:57 +00:00
Svyatoslav Scherbina
7493914a52
kotlin-native/tools/degrade: fix support for cocoapods plugin
...
Don't trigger early task configuration.
Also make the code cleaner and more thread-safe.
2021-10-07 06:35:59 +00:00
Ivan Kochurkin
7bedb6bca8
[FIR] Propagate not-null info into TypeOperatorCall ^KT-44559 Fixed
2021-10-06 21:56:05 +03:00
Ivan Kochurkin
55839aab91
[FIR] Extract non-null info from x?.y!! ^KT-44513 Fixed
2021-10-06 21:56:05 +03:00
Ivan Kochurkin
2e1f455d9c
[FIR] Fix type constraint for type parameter ^KT-45345 Fixed
2021-10-06 21:56:04 +03:00
Ilya Goncharov
a0fb60f201
[JS IR] Use label for continue loop in tailrec
...
^KT-46218 fixed
2021-10-06 18:40:34 +00:00
Tianyu Geng
eb901e4f32
FIR HL API: add helper for shortening ref on EDT thread
2021-10-06 21:30:17 +03:00
Dmitry Savvinov
50050154d3
[gradle, mpp] Change how outputs of associated compilations are handled
2021-10-06 17:10:17 +03:00
Ilya Gorbunov
9c4a2d4431
Leave all deprecated duration API experimental KT-46784
2021-10-06 13:51:23 +00:00
Dmitry Petrov
3d64c91375
PSI2IR KT-49053 skip fake overrides with unresolved types in signature
2021-10-06 16:23:08 +03:00
pyos
1c3a20fab9
JVM_IR: generate $suspendImpl in interfaces as public
...
The visibility was the cause of KT-44533; not generating `$suspendImpl`
at all makes `super` calls impossible.
^KT-49106 Fixed
2021-10-06 15:03:51 +02:00
Yahor Berdnikau
b7cfbf031c
Snapshot compile tasks outputs and restoring them on compilation error.
...
It happens Gradle has low performance on passing 'Array<Byte>' or
'List<Byte>' via properties api. In this change, task outputs approach
was changed to snapshot pre-execution state by coping outputs to the new
directory and coping them back on incremental compilation error.
^KT-46406 Fixed
2021-10-06 11:56:21 +00:00
Yahor Berdnikau
e30b11fc05
Unify build cache debug approach.
...
^KT-45745 In Progress
2021-10-06 13:53:03 +02:00
Yahor Berdnikau
862d46f58b
Enable publishing test build build-scan.
...
^KT-45745 In Progress
2021-10-06 13:53:03 +02:00
Ilmir Usmanov
27081231d9
Use original instead of lowered function to retrieve toString-impl
...
in string concatenation lowering. Otherwise, inliner tries to get
body of already lowered function, failing.
#KT-48284 Fixed
2021-10-06 11:12:26 +00:00
Yahor Berdnikau
dd0f01d93d
Deprecate 'kapt.use.workers.api' property.
...
^KT-48826 Fixed
2021-10-06 10:10:34 +00:00
Svyatoslav Scherbina
bc01676489
Add kotlin-native/tools/degrade -- a helper for K/N Gradle builds
...
Intended to be helpful in minimizing reproducers or investigating
Kotlin/Native-related problems.
It analyses kotlin-multiplatform Gradle plugin events,
and creates shell scripts that run executed Kotlin/Native tools
(compiler, cinterop) without Gradle.
2021-10-06 09:48:16 +00:00
Elena Lepilkina
6bfa710e34
[K/N][tests] Added test for @ character in library name
2021-10-06 09:34:55 +00:00
Elena Lepilkina
416719c216
[KLIB] Removed support of pattern '<library_name>@<version>' (KT-42500 Fixed)
2021-10-06 09:34:55 +00:00
Sergej Jaskiewicz
65d40c2253
[JS IR] Make tests that use directives pass with IR BE
2021-10-06 09:23:50 +00:00
Sergej Jaskiewicz
a359e503fb
[JS tests] Introduce the CHECK_FUNCTION_EXISTS directive
2021-10-06 09:23:50 +00:00
Sergej Jaskiewicz
c84f9cde07
[JS] Check the DECLARES_VARIABLE directive for all matching functions
...
Not just the first one.
2021-10-06 09:23:49 +00:00
Sergej Jaskiewicz
103be8f7bc
[JS] Don't fail the test after the first directive check fails
2021-10-06 09:23:49 +00:00
Sergej Jaskiewicz
09467954bc
[JS] Allow per-backend directives in JS tests
...
This way we can use different directives for the legacy and IR backends.
2021-10-06 09:23:49 +00:00
Sergej Jaskiewicz
b93e0181ca
[JS IR] Enable directives for IR box tests
2021-10-06 09:23:48 +00:00
Sergey Bogolepov
c9a0369805
[K/N] Add StubGenerator tests to sanity
2021-10-06 04:40:07 +00:00
Sergey Bogolepov
742c65a26b
[K/N] Fix StubIr tests
2021-10-06 04:40:06 +00:00