Mikhael Bogdanov
4de6fd8be2
Prepare NewMultiplatformIT tests for compiler migration to 1.6
2021-07-19 12:15:26 +00:00
Dmitriy Novozhilov
c304363aea
[FE 1.0] Report WRONG_ANNOTATION_TARGET on annotations on type arguments
...
^KT-47772 Fixed
2021-07-19 14:00:24 +03:00
Andrey Zinovyev
046d886850
[FIR] Fix Nothing returning expressions when checking for not null
2021-07-19 13:40:32 +03:00
Andrey Zinovyev
7e9f27436a
[FIR] Fix cfg for safe call inside elvis
2021-07-19 13:40:31 +03:00
Andrey Zinovyev
c160511244
[FIR] Basic support for break inside try-finally blocks
...
Support single try expression only
2021-07-19 13:40:30 +03:00
Andrey Zinovyev
a6984c5198
[FIR] Add NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY diagnostic
2021-07-19 13:40:28 +03:00
Ilmir Usmanov
151478aa27
Raise deprecations of suspend calls with dangling lambda to error
...
#KT-22562
2021-07-19 08:36:36 +00:00
Dmitry Petrov
d41fc0b599
PSI2IR fix suspend conversion tests
...
- support chained suspend conversion + SAM conversion
- support suspend conversion in vararg elements
2021-07-17 09:10:19 +03:00
Victor Petukhov
0cc6fbbc6e
Add tests for converting expressions of function types to suspending functional types
2021-07-17 09:10:17 +03:00
Viacheslav Kormushkin
780b9a032b
Link CocoaPods frameworks with iosTest binary
...
#KT-44857 #KT-37513
2021-07-16 19:42:24 +00:00
Mads Ager
b51ff799cb
Fix IteratorNext intrinsic to cast its dispatch receiver to
...
the expected type.
^KT-47741 Fixed.
2021-07-16 21:07:11 +02:00
Ilya Kirillov
f83cc69379
HL API: hacky fix garbage collected diagnostic in call
2021-07-16 21:06:05 +03:00
Ilya Kirillov
d7f1353d3d
HL API: update resolve call tests
2021-07-16 21:06:04 +03:00
Ilya Kirillov
44812ae45a
HL API: update symbols testdata after adding hasStableParameterNames to function symbol
2021-07-16 21:06:03 +03:00
Mark Punzalan
cb85fd26f5
FIR IDE: Expand KtCall API to include annotation calls and delegated
...
constructor calls.
2021-07-16 21:06:02 +03:00
Mark Punzalan
d30d8037cf
FIR IDE: Add KtFunctionLikeSymbol.hasStableParameterNames.
2021-07-16 21:06:00 +03:00
Mark Punzalan
5c111f8979
FIR IDE: Add argument mapping to KtFunctionCall.
2021-07-16 21:05:59 +03:00
Alexander Likhachev
6fe730a12e
[Gradle, JS] Add IT that no tasks configured on help task execution
...
#KT-47559 Fixed
2021-07-16 20:14:51 +03:00
Alexander Likhachev
0740d11378
[Gradle, JS] Configure run tasks lazily
...
#KT-47559 In Progress
2021-07-16 20:14:49 +03:00
Victor Petukhov
6a1ec92d39
Introduce specific error for calls which could be resolved only with unrestricted builder inference
...
^KT-47747 Fixed
2021-07-16 19:32:36 +03:00
Victor Petukhov
357fda2efa
Initialize builder inference lambda anyway, even a call is inapplicable
...
^KT-47744 Fixed
2021-07-16 19:32:35 +03:00
Alexander Likhachev
2b0ba6fa40
[Gradle, MPP] Add test for KT-47611, KT-47612
...
#KT-47611 Fixed
#KT-47612 Fixed
2021-07-16 18:33:45 +03:00
Alexander Likhachev
8109b66a79
[Gradle, MPP] Make publishing compatible with configuration cache
...
Capture artifact coordinates more accurately to conform with configuration cache
#KT-47611 In Progress
2021-07-16 18:33:45 +03:00
Alexander Likhachev
77471c0cd8
[Gradle, MPP] Make kotlin tooling metadata task compatible w/ conf cache
...
The value should be memoized in task, so it can be serialized in a way to not use project in execution time
#KT-47612 In Progress
2021-07-16 18:33:43 +03:00
Mikhael Bogdanov
5f53a2071d
Update test affected by ProperTypeInferenceConstraintsProcessing feature
2021-07-16 13:26:37 +00:00
Mikhael Bogdanov
392dce9a40
Update test affected by PrivateInFileEffectiveVisibility feature
2021-07-16 13:26:36 +00:00
Mikhael Bogdanov
c519003e13
Update test affected by ProhibitSimplificationOfNonTrivialConstBooleanExpressions feature
2021-07-16 13:26:36 +00:00
Mikhael Bogdanov
a657e63dbb
Update test affected by ForbidUsingExtensionPropertyTypeParameterInDelegate feature
2021-07-16 13:26:35 +00:00
Mikhael Bogdanov
70df4f10c5
Update test affected by AbstractClassMemberNotImplementedWithIntermediateAbstractClass feature
2021-07-16 13:26:34 +00:00
Mikhael Bogdanov
f05d470f6a
Update test affected by 'ProhibitJvmFieldOnOverrideFromInterfaceInPrimaryConstructor' feature
2021-07-16 13:26:33 +00:00
pyos
f5dd5ead1f
JVM: produce a better error on @JvmStatic external in interface
...
Java does not permit `static native` methods in interfaces, so this
never worked on any existing JRE.
#KT-43696 Fixed
2021-07-16 15:24:09 +02:00
pyos
ad7ed483f3
JVM_IR: copy correspondingProperty of static external functions
...
Required for correctly mapping their names.
#KT-47715 Fixed
2021-07-16 15:24:05 +02:00
Ilya Goncharov
adeb2f527b
[Gradle, JS] Fail incremental test if there is source maps warning
...
^KT-47751 fixed
2021-07-16 15:39:52 +03:00
Ilya Goncharov
f73726c330
[Gradle, JS] Ignore source maps arguments in cache building
...
^KT-47751 fixed
2021-07-16 15:39:50 +03:00
Yahor Berdnikau
d82681889b
Ignore empty directories on input properties hash calculation.
...
Annotate all '@InputFiles' and '@InputDirectory' input properties
with '@IgnoreEmptyDirectories' annotation, so empty directories
will be excluded from input hash calculation.
^KT-27687 Fixed
2021-07-16 12:35:15 +00:00
Dmitriy Novozhilov
22f57220c1
[FE 1.0] Report INTEGER_OPERATOR_RESOLVE_WILL_CHANGE on rhs of assign
...
^KT-47729 Fixed
2021-07-16 15:18:46 +03:00
Dmitriy Novozhilov
afb7625d0c
[FE 1.0] Fix false positive INTEGER_OPERATOR_RESOLVE_WILL_CHANGE
...
^KT-47729 In progress
2021-07-16 15:18:44 +03:00
Dmitriy Novozhilov
2fb5f776d8
[FE 1.0] Report INTEGER_OPERATOR_RESOLVE_WILL_CHANGE on calls in parenthesis
...
^KT-47729 In progress
2021-07-16 15:18:38 +03:00
Victor Petukhov
ea4ab46765
Report implicit inferred Nothing only for own type parameters and in delegation resolve
...
^KT-47724 Fixed
2021-07-16 11:21:51 +03:00
Alexander Likhachev
7bb4612149
[Gradle] Add IT that useExperimentalAnnotation produces deprecation warn
...
#KT-38111 Fixed
2021-07-16 11:01:15 +03:00
Alexander Likhachev
68ced78d89
[Gradle] Rename experimental annotations to opt-in in test data
...
#KT-38111 In Progress
2021-07-16 11:01:14 +03:00
Alexander Likhachev
fa68dbc736
[Gradle] Rename experimental annotations to opt-in annotations in DSL
...
Methods and accessors with old names are preserved in public API and marked as deprecated now
#KT-38111 In Progress
2021-07-16 11:01:12 +03:00
Aleksei.Cherepanov
d9701d57bb
Fix JPS tests after 2d65383a
2021-07-16 05:35:05 +03:00
Ilya Chernikov
c83614386e
[minor] FIR: (temporarily) fix testdata due to different builtins behavior
2021-07-16 02:24:45 +03:00
Ilya Chernikov
02bf745eef
IR: Remove some unused IrBuiltIns methods
2021-07-16 02:24:44 +03:00
Ilya Chernikov
51dc829aae
IR: Move unsigned classes loading from builtins back to symbols
...
see #KT-47540 for the motivation
2021-07-16 02:24:43 +03:00
Ilya Chernikov
808f5148f3
IR: implemented generic knownBuiltIns property
2021-07-16 02:24:42 +03:00
Ilya Chernikov
a7d494480c
[minor] FIR: minor fixes in FIR-based IrBuiltIns
2021-07-16 02:24:41 +03:00
Ilya Chernikov
56805dded8
[minor] IR: minor builtins infrastructure fixes
2021-07-16 02:24:40 +03:00
Ilya Chernikov
19f52d9aae
[minor] FIR: fix irbuiltins implementation after rebase
2021-07-16 02:24:38 +03:00