Commit Graph

91038 Commits

Author SHA1 Message Date
Dmitriy Novozhilov 10c38ba47c [FIR] Reorganize cone type utilities
Make some overrides of members of Cone types final
2022-02-07 13:36:34 +03:00
Dmitriy Novozhilov 0bd3e8f418 [FIR] Rename ConeClassErrorType to ConeErrorType, drop ConeKotlinErrorType alias 2022-02-07 13:36:33 +03:00
Dmitriy Novozhilov 9c6292db6f [FIR] Split cone types declarations into multiple files 2022-02-07 13:36:33 +03:00
Dmitriy Novozhilov 84913772ec [FIR] Drop redundant FirIntegerOperatorCall and number of fir copy methods 2022-02-07 13:36:32 +03:00
Dmitriy Novozhilov 27901a55c4 [FP] Show number of failed modules in report of FullPipeline test 2022-02-07 13:36:31 +03:00
nataliya.valtman 56207abc27 KT-34862: Add kotlin build dir as output
build history files are non cacheable outputs
#KT-34862
2022-02-07 10:09:36 +00:00
Roman Golyshev 7c9000b8ac [FIR IDE] Consider FirFileSymbol in KtSymbolByFirBuilder.buildSymbol 2022-02-06 15:29:54 +03:00
Roman Golyshev 793758a822 [FIR] Remove factory methods from abstract providers 2022-02-06 15:29:53 +03:00
Roman Golyshev 57c30ee2d1 [FIR] Add some kdocs to FirRegisteredPluginAnnotations 2022-02-06 15:29:53 +03:00
Roman Golyshev aabd5d98bb [FIR] Fix confused metaUnder and metaHas 2022-02-06 15:29:52 +03:00
Ilya Gorbunov 771eff503b stdlib-docs: Use local ext link to stdlib instead of default
When building kotlin.test docs, do not query kotlinlang.org
for stdlib package list, but use the one built locally beside.
This avoids build failures when the site is not available.
2022-02-05 06:21:49 +00:00
Alexander Udalov 6fb11686c9 Psi2ir: further reduce used stack for binary expressions 2022-02-05 06:21:13 +00:00
Dmitry Petrov e111c60458 PSI2IR fix SOE in testKt47450 (again) 2022-02-05 06:21:13 +00:00
Steven Schäfer 78d80181e2 inlineClassUtils: Fix handling of inline classes without constructors
Fixes KT-50992

DeclarationDescriptor.isInlineClass misidentifies inline classes without
constructors. This can happen for the ABI of inline classes with private
constructors.
2022-02-04 23:30:24 +01:00
Mads Ager aa6ba18c39 Remove references to annotation-based-compiler-support 2022-02-04 19:03:33 +01:00
Sergej Jaskiewicz 28c0ff8e99 [TestData Helper Plugin] Add related files search paths 2022-02-04 19:15:11 +03:00
Artem Kobzar 33918156e1 feat(JsCode): inline usage of js code which captures kotlin variables. 2022-02-04 15:08:22 +00:00
Vyacheslav Gerasimov 96cee0f917 Use internal docker repo for space dev environment image 2022-02-04 17:32:42 +03:00
Pavel Kirpichenkov 4eb2c2f6f1 Minor: reformat 2022-02-04 16:57:22 +03:00
Pavel Kirpichenkov 0362d4ac9f [MPP] workaround inc/dec operator checks in expect classes
Implicit receiver type inside expect class is inconsistent with the
type resolved from an explicit reference inside that class. The former
one is a default class type, i.e. expect; the latter one resolves to
an actual type when either expect and actual are in the same module, or
when the sources are compiled for a particular platform.

The workaround is to manually actualize implicit receiver type for one
particular check affected by the broken subtyping.

KT-49714
2022-02-04 16:57:22 +03:00
Pavel Kirpichenkov 90abbb4a9f [MPP] Add test for inc/dec check in expect class
KT-49714
2022-02-04 16:57:21 +03:00
Pavel Punegov 1ce7286c86 [Gradle][K/N] Don't use Gradle daemon <= 6.9 on macOS arm64
Native Apple Silicon support was added in 6.9. Older versions suffer
from inability to set environment variables in the daemon process
2022-02-04 13:21:47 +00:00
Pavel Punegov da3f81c5da [Gradle][test] Fix test to run it on macos arm64 hosts
Ignore tests with old ktor and coroutines on this target
Add test with newer versions that support arm64
2022-02-04 13:21:47 +00:00
Pavel Punegov ecf1eef8db [Gradle][test] Run IR linker test only on macos x64
Arm64 is supported in newer versions of Ktor and coroutines that
don't reproduce linkage failure
2022-02-04 13:21:46 +00:00
Pavel Punegov da6409d0ca [Gradle][test] CocoaPods test: force gem output to stdout 2022-02-04 13:21:46 +00:00
Pavel Punegov 74ac51a4cb [Gradle][test] Ignore test that fails due to the ^KT-50925 2022-02-04 13:21:46 +00:00
Pavel Punegov a4e4ffdf29 [Gradle][native] Generate run tasks for macos_arm64
^KT-48649 Fixed
2022-02-04 13:21:45 +00:00
Pavel Punegov a8f2e9ced7 [Gradle][test] Correct iOS simulator targets for both x64 and arm64 2022-02-04 13:21:45 +00:00
Pavel Punegov 219d5e3ecf [Gradle][test] Filter out connection message from stdout 2022-02-04 13:21:44 +00:00
Pavel Punegov 9b55ec43e7 [Gradle][test] Don't use daemon when testing environment variables 2022-02-04 13:21:44 +00:00
Vyacheslav Gerasimov 63153a0beb Schedule space dev env warmup job at 5 am GMT +3 2022-02-04 15:24:47 +03:00
Vyacheslav Gerasimov 260e6fc369 Enable kotlin-native in space dev environment 2022-02-04 15:24:47 +03:00
Dmitriy Novozhilov b1255d78a2 Fix link to test helper plugin in Readme 2022-02-04 15:03:06 +03:00
Mikhail Glukhikh 974736809e Fix test data inconsistency caused by commit clash 2022-02-04 14:33:33 +03:00
Artem Kobzar 5223efd3f1 fix(Kotlin/JS IR): nested comments in implicit export. 2022-02-04 10:55:52 +00:00
Aleksei.Cherepanov a80d01265a Use possible incompatible metadata as a fallback for incremental analysis
If LeverVersion is set to greater than 1 of the current compiler version, metadata became null here org.jetbrains.kotlin.load.kotlin.header.ReadKotlinClassHeaderAnnotationVisitor.createHeader, which leads to NPE during incremental analysis. Using the same incompatible data as fallback prevent it

#KTIJ-20954 Fixed

Merge-request: KT-MR-5680
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com>
2022-02-04 09:42:05 +00:00
Alexander Udalov 6601b8b62c Write snapshot by chunks in ProfilingCompilerPerformanceManager.dumpProfile
To prevent OutOfMemoryError from converting the whole string to byte
array, in case the snapshot is very big (see KT-51058).

Also, remove 'framebuf' option from -Xprofile help, since async-profiler
2.0+ has unlimited frame buffer.
2022-02-03 22:09:44 +01:00
Igor Yakovlev 392ab75bee [WASM] BasicWasmBoxTest refactoring 2022-02-03 21:25:59 +01:00
Igor Yakovlev eb8c3aa54e [WASM] Remove WasmImport annotation 2022-02-03 21:25:59 +01:00
Igor Yakovlev d30a4fa4d5 [WASM/Native] Split AllCodePointsTest into two separate tests 2022-02-03 21:25:59 +01:00
Igor Yakovlev 8eec1743fb [WASM] Remove TODO with UOE for std readln actuals 2022-02-03 21:25:59 +01:00
Igor Yakovlev 81c688b207 [WASM] Unmute passing test 2022-02-03 21:25:58 +01:00
Igor Yakovlev 0fe7ad8157 [WASM] Enable std tests 2022-02-03 21:25:58 +01:00
Igor Yakovlev 32fbf69738 [WASM] Std code clean up 2022-02-03 21:25:58 +01:00
Igor Yakovlev 195513d4f2 [WASM] Workaround about call toTypedArray on AbstractCollection 2022-02-03 21:25:58 +01:00
Igor Yakovlev c3a6d0b499 [WASM] Fix invalid constructors call flow for exceptions 2022-02-03 21:25:58 +01:00
Igor Yakovlev e30b449454 [WASM] Replace non-performance way of building String from CharArray 2022-02-03 21:25:58 +01:00
Igor Yakovlev a44b103da9 [WASM] Fix invalid equals/hashCode for Double.NaN and Float.NaN 2022-02-03 21:25:58 +01:00
Igor Yakovlev ea76501f9e [WASM] Implement ConstrainedOnceSequence 2022-02-03 21:25:58 +01:00
Igor Yakovlev d0370bd145 [WASM] Fix invalid Array.fill methods implementations 2022-02-03 21:25:58 +01:00