Dmitriy Novozhilov
5b79279590
[Test] Add test data of raw FIR tests to Test Helper Plugin paths
2022-02-07 16:17:37 +03:00
Ilya Goncharov
77b367fe96
rra/ilgonmic/ic-to-compiler
...
[JS IR] Fix compilation in tests
[JS IR] Fix test after migrating IC to compiler
[JS IR] Fix memory leak
[JS IR] Move js ic to compiler
Merge-request: KT-MR-5673
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
2022-02-07 11:40:16 +00:00
Dmitriy Novozhilov
aadfc59d0f
[FIR] Complete delegated constructor calls without proper constructed type
...
This is needed to definitely complete arguments of such calls
2022-02-07 13:36:38 +03:00
Dmitriy Novozhilov
1591518cf6
[FIR] Support constant unary operators for integer literal operators
...
^KT-38895
2022-02-07 13:36:37 +03:00
Dmitriy Novozhilov
52b72a7dac
[FIR] Implement Int -> Long conversions for literals and operators over them
...
^KT-38895
^KT-50996 Fixed
^KT-51000 Fixed
^KT-51003 Fixed
^KT-51018 Fixed
2022-02-07 13:36:36 +03:00
Dmitriy Novozhilov
cc86ca2a0f
[FIR] Extract common code for converting unaryMinus call on integer literal
2022-02-07 13:36:36 +03:00
Dmitriy Novozhilov
563e649ac3
[FIR] Introduce special ReceiverResolution resolution mode for resolution of receivers of calls
...
This resolution mode is needed to determine do we need approximate
integer operator calls or not
2022-02-07 13:36:35 +03:00
Dmitriy Novozhilov
b980f5ab32
[FIR] Introduce new kind of integer literal types for constant operator calls
2022-02-07 13:36:35 +03:00
Dmitriy Novozhilov
bb5217be72
[FIR] Don't create ILT for integer literal if its value don't fit to Int type
2022-02-07 13:36:34 +03:00
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