Mikhael Bogdanov
e1d00c3d6e
KAPT+IR: support nullability for error types
...
#KT-49682
2022-06-20 11:42:54 +00:00
Mikhael Bogdanov
162ca4ac2b
KAPT+IR: support IR error types
...
#KT-49682
2022-06-20 11:42:53 +00:00
Mikhael Bogdanov
41d6f0dca4
Remove ir.tree.impl from build
2022-06-20 11:42:52 +00:00
Mikhael Bogdanov
328160894b
Move ir.tree.impl into ir.tree
2022-06-20 11:42:51 +00:00
Mikhail Glukhikh
065e852199
FIR: support more precise diagnostics about parameter names
...
#KT-52762 Fixed
2022-06-20 11:28:55 +00:00
Mikhail Glukhikh
9fbafc3eb9
Add test for KT-52762
2022-06-20 11:28:55 +00:00
Simon Ogorodnik
b7a215334e
KT-52409 Report error when using K2 with multi-platform
2022-06-20 10:39:25 +00:00
Simon Ogorodnik
e3c7929fee
KT-52284 Clarify message in Kapt with K2 error
2022-06-20 10:39:25 +00:00
sebastian.sellmair
339b604e09
[kotlin-tooling-core] closure.kt: Implement fast paths for empty closures
2022-06-20 10:33:37 +00:00
Alexander Shabalin
66c6e4e16f
[K/N] Fix compdb usage for CLion
...
Merge-request: KT-MR-6483
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-06-20 10:31:40 +00:00
Sergey Bogolepov
29b6039f37
[K/N] Fix red code in native backend
...
Current way of `kotlin-native-shared` inclusion
into `kotlin-native` blows IDE mind. If we choose
a bit more straightforward way, then IDE will be happy.
2022-06-20 08:50:55 +00:00
Dmitriy Dolovov
d60c93c1f8
[Native][tests] Temporarily mute klibABI/remove[Property|Function] tests
2022-06-20 12:30:01 +04:00
Dmitriy Dolovov
f98778e331
Add IDEA run configurations for KLIB ABI tests
2022-06-20 12:30:01 +04:00
Dmitriy Dolovov
c0cbd2e3ed
[Native][tests] Fail tests on unexpected non-syntax/semantic warnings
2022-06-20 12:30:01 +04:00
Dmitriy Dolovov
adf98770f3
[Native][tests] Fix description of test parameters
2022-06-20 12:30:01 +04:00
Vladimir Sukharev
c9f0eeea3b
Use not an alias, but a wrapper for nonvirtual function C adapters.
...
^KT-45468 Fixed
Merge-request: KT-MR-6467
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2022-06-19 12:45:27 +00:00
Igor Yakovlev
ea0dfb50df
[WASM] Fix invalid path for test runner
...
Windows path has backslash separator that reads as escape character in js
2022-06-18 19:12:22 +02:00
Igor Yakovlev
27bb9a087a
[WASM] Mark wasm dsl as experimental
2022-06-18 19:12:22 +02:00
Igor Yakovlev
93574d49ef
[WASM] Add binaryen dsl
2022-06-18 19:12:22 +02:00
Igor Yakovlev
952b846a5c
[WASM] Implement gradle plugin binaryen support
2022-06-18 19:12:22 +02:00
Igor Yakovlev
177177ee8c
[WASM] Implement gradle plugin run tasks for wasm
2022-06-18 19:12:22 +02:00
Igor Yakovlev
1b6b3ec3b5
[WASM] Ignore reference proposal spec test
2022-06-18 19:12:21 +02:00
Igor Yakovlev
270a41a2db
[WASM] Remove deprecated usage of externref
2022-06-18 19:12:21 +02:00
Igor Yakovlev
bf575f73a2
[WASM] Fix invalid fields name section emit
2022-06-18 19:12:21 +02:00
Victor Petukhov
eb19d39cbf
[FE 1.0] Build captured type's supertypes in an alternative way: use own projection type as a first supertype, then supertypes from the corresponding type parameter's upper bounds
...
The original case provoked forking a constraint system which isn't supported in K1 (K2 only). If the captured type is recursive, then type parameter's upper bounds may break subtyping due to substitution the current captured type again, into a recursive type parameter.
Note that we already have special logic for recursive captured types. See `isTypeVariableAgainstStarProjectionForSelfType`.
^KT-52782 Fixed
2022-06-18 14:04:40 +02:00
Ivan Kochurkin
37ccd85e59
[FIR] Use coneType instead of coneTypeSafe<ConeKotlinType> in checkers and fir2ir
2022-06-17 23:26:21 +00:00
Ivan Kochurkin
02ac6110bd
[FIR] Handle more cases of implicit types in FirNoImplicitTypesHandler
2022-06-17 23:26:21 +00:00
Ivan Kochurkin
157eedca43
[FIR2IR] Create IrConst instead of IrGetField for default value param in annotation class, ^KT-52676 Fixed
2022-06-17 23:26:20 +00:00
Ivan Kochurkin
ca222b9c31
[FIR] Create error type for FirErrorLoop during initialization
2022-06-17 23:26:20 +00:00
Ivan Kochurkin
1a398e89ec
[FIR] Add attributes to ConeErrorType for correct annotations resolving
2022-06-17 23:26:19 +00:00
Ivan Kochurkin
9c67a4bc27
[FIR] Remove not used ConeArgumentTypeMismatchCandidateError
2022-06-17 23:26:19 +00:00
Ivan Kochurkin
c3638d2219
[FIR] Remove not used ConeUnsupportedDynamicType
2022-06-17 23:26:19 +00:00
Ivan Kochurkin
ffbb23661d
[FIR] Report UNSUPPORTED for default value in function type
2022-06-17 23:26:18 +00:00
Ivan Kochurkin
a3647bb4ff
[FIR] FirRenderer: render annotations for block and resolvedQualifier
2022-06-17 23:26:18 +00:00
Ivan Kochurkin
fd2b4fd497
[FIR] Fix false positive USELESS_CAST on stub types, ^KT-50293 Fixed
2022-06-17 23:26:18 +00:00
Ivan Kochurkin
856d14e5f7
[FIR] Don't create unwanted "Should have initializer" elements
2022-06-17 23:26:17 +00:00
Ivan Kochurkin
9d6f88469a
[FIR] Use @file:Suppress("DuplicatedCode") for generated fir impl nodes
...
Get rid of unwanted warnings in IntelliJ
2022-06-17 23:26:17 +00:00
Ivan Kochurkin
0c543d65f3
[FIR] Remove not used FirRedundantLabelChecker
2022-06-17 23:26:17 +00:00
Ivan Kochurkin
9f69ea1786
[FIR] Add TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM diagnostics, ^KT-52327 Fixed
2022-06-17 23:26:16 +00:00
Ivan Kochurkin
c5648fd449
[FIR] Pass annotations to buildResolvedQualifierForClass
2022-06-17 23:26:16 +00:00
Ivan Kochurkin
1ac4d68433
[FIR] Initialize annotations for block for LightTree
2022-06-17 23:26:16 +00:00
Ivan Kochurkin
34b5ce21a1
[FIR] Fix WRONG_ANNOTATION_TARGET for annotation for block, ^KT-52175 Fixed
2022-06-17 23:26:15 +00:00
Ivan Kochurkin
b573532d8c
Introduce COMPONENT_FUNCTION_NAME_PREFIX constant
2022-06-17 23:26:15 +00:00
sebastian.sellmair
600b0d7b81
[kpm] kgp-idea-proto: Remove protobuf types from public API surface
...
^KT-52568 Verification Pending
2022-06-17 22:27:15 +00:00
sebastian.sellmair
443faec30d
[kpm] kgp-idea-proto: Create special binaryValidationApiElements configuration
...
This will be a 'lean' jar file (un-shadowed), which can later
be used by the binary-compatibility-validator to test the
API surface against.
^KT-52568 Verification Pending
2022-06-17 22:27:14 +00:00
sebastian.sellmair
514ea01175
[kpm] Embed protobuf runtime into kgp-idea-proto runtime jar
...
^KT-52568 Verification Pending
2022-06-17 22:27:13 +00:00
sebastian.sellmair
0eb4551e94
[kpm] kgp-idea: Update testedVersion to "1.7.20-dev-2127"
...
^KT-52568 Verification Pending
2022-06-17 22:27:12 +00:00
sebastian.sellmair
5caa5c5ab2
[kpm] kgp-idea: Skip unpublishable variants for testFixtures publication
...
^KT-52568 Verification Pending
2022-06-17 22:27:11 +00:00
sebastian.sellmair
d8ac6357a6
[kpm] IdeaKpmProtoSchema: Include message severity for future messages
...
^KT-52568 Verification Pending
2022-06-17 22:27:11 +00:00
sebastian.sellmair
12b6d32e73
[kpm] kotlin-tooling-core: Move Type into Extras.Type
...
^KT-52568 Verification Pending
2022-06-17 22:27:10 +00:00