Commit Graph

63023 Commits

Author SHA1 Message Date
Denis Zharkov a2e7b6d20e FIR: Do not add "field" to accessor of a property with receiver 2020-03-18 10:22:10 +03:00
Dmitry Petrov ade18d144a KT-36810 Implement javaPrimitiveType intrinsic in JVM_IR 2020-03-17 22:56:45 +03:00
Dmitry Petrov 2851fab281 KT-36809 Implement javaObjectType intrinsic in JVM_IR 2020-03-17 22:56:45 +03:00
Mikhail Bogdanov aecd12fa12 Minor. Regenerate tests 2020-03-17 19:05:12 +01:00
pyos 2e542da91d JVM_IR: fix accesses from crossinline lambdas in other packages again 2020-03-17 16:38:32 +01:00
Denis Zharkov 7a1eb9214d FIR: Fix resolution for lambda returning resolved qualifier 2020-03-17 16:33:48 +03:00
Denis Zharkov e1312a752a FIR: Allow a field override another field with the same name 2020-03-17 16:33:48 +03:00
Denis Zharkov 7203499b7a FIR: Fix visibility check for protected within a companion 2020-03-17 16:33:48 +03:00
Denis Zharkov 170978a4f1 FIR: Move fixed tests from problems directory to common 2020-03-17 16:33:48 +03:00
Denis Zharkov a1b0b15521 FIR: Add test for KT-37478
^KT-37478 Fixed
2020-03-17 16:33:48 +03:00
Jinseong Jeon b71b0fa32c Update stepping tests to inspect source name, instead of method info. 2020-03-17 13:39:35 +01:00
Jinseong Jeon 5dc1651a44 JVM: missed line number for return expression. 2020-03-17 13:39:35 +01:00
Vladimir Dolzhenko c29f76580c Don't show modal progress dialog on calculate method parameter hint info
#KT-37537 Fixed
Relates to #EA-216268
2020-03-17 11:06:36 +01:00
Dmitry Petrov 6809f4439c Fix range-based 'for' loop with 'continue' in range bounds
1. Search for increment function in range element type, not in inferred
induction variable type
(which can be inappropriate, e.g., 'Nothing' in case of 'continue').

2. Handle nested loops with shared exit labels
(generated by JVM_IR for KT-37370 case).

KT-37370 KT-37373
2020-03-17 12:18:48 +03:00
Dmitry Petrov d5b65abc5d KT-37505 Add box test 2020-03-17 12:18:48 +03:00
Igor Yakovlev 3dc898b8ca Fix for change signature refactoring type resolve
Fixed #KT-37451
2020-03-17 12:06:59 +03:00
Igor Yakovlev 64bcc6d54f KotlinChangeSignature refactoring remove deprecated usage + refactoring 2020-03-17 12:06:59 +03:00
Dmitry Gridin 309ceef49a i18n: remove template name from bundle
#KT-37483
2020-03-17 15:26:35 +07:00
Vyacheslav Karpukhin eb68a0de47 Android import: simplify the check for android plugin version 2020-03-16 23:46:38 +01:00
Nikolay Krasko 45cba7b408 Update to 201.6251.22-EAP-SNAPSHOT 2020-03-16 23:46:06 +03:00
simon.ogorodnik f226d855e1 Fix NI flag in modularized test for old frontend 2020-03-16 21:42:05 +03:00
simon.ogorodnik 4844a90788 [FIR] KT-37453: Type argument mapping
#KT-37453 Fixed
2020-03-16 21:41:59 +03:00
Steven Schäfer 6a1e35389c JVM IR: Mangle interface implementation methods in inline classes 2020-03-16 18:48:16 +01:00
Vladimir Dolzhenko d21be3b665 Revert back fetchAnalysisResultsForElement
Relates to #KT-37467
#KT-37515 Fixed
2020-03-16 17:19:01 +01:00
Igor Yakovlev af1e3fb10d UL properties supports JvmSynthetic annotation for get: and set: modifiers
(+small refactoring)
Fixed #KT-34973
2020-03-16 18:42:17 +03:00
anastasiia.spaseeva 0e26194a27 [FIR] Test for KT-37431 2020-03-16 17:24:01 +03:00
Dmitriy Novozhilov 1b479c49a8 [FIR] Fix exhaustiveness checking for conditions with equals to object
#KT-37488 Fixed
2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov 3765a1efaf [FIR] Add values and valueOf to deserialized enums 2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov caec5fe352 [FIR-TEST] Add test for KT-37478 2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov 37aa234bb7 [FIR] Fix transform of subject of when expressions with subject variable 2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov 820da6edaa [FIR] Don't set up expected type for function body 2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov 813003e12e [FIR] Approximate statements with ILT without expected type 2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov 698f78570d [FIR] Add ability to pass data=null to transformInplace with data producer 2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov fe95e37c88 [FIR] Add equality to Unit constraint for lambda without return expressions 2020-03-16 17:04:27 +03:00
Dmitriy Novozhilov fc2e7da2a9 [FIR] Don't pass flow from inplace lambdas while resolve delegates
#KT-36248
2020-03-16 17:04:27 +03:00
Dmitriy Novozhilov e90d86e1b4 [FIR] Add cfg for delegating constructor calls 2020-03-16 17:04:27 +03:00
Dmitriy Novozhilov 83257d00b9 [FIR] Pass flow from postponed lambdas to closest completed call
#KT-36248
2020-03-16 17:04:27 +03:00
Dmitriy Novozhilov 3a5c30a581 [FIR] Remove ortho splines mode from CFG dump 2020-03-16 17:04:27 +03:00
Dmitriy Novozhilov f83cedd244 [FIR] Don't render call arguments in cfg dump 2020-03-16 17:04:27 +03:00
Roman Artemev 8e295de593 [KLIB] Make sure float/double bits have fixed representation for NaN.
- Store float and double constants as fixed32/64 proto value
 and encode/decode them in our side.
2020-03-16 16:49:39 +03:00
Dmitriy Dolovov 5fb46e05da K/N in IDE: Remove empty argument in run task in the default K/N template in IDEA
Issue #KT-37452
2020-03-16 19:52:35 +07:00
Dmitriy Dolovov 94df78aea0 K/N in IDE: Drop support of "konan.native" package 2020-03-16 19:52:28 +07:00
Dmitriy Dolovov f3f971005d [Commonizer] GC obsolete & unused commonized libraries to free disk space 2020-03-16 19:52:21 +07:00
Dmitry Gridin 75f1fb0237 EqualsOrHashCodeInspection: update bundle for 201
#KT-37483
2020-03-16 18:40:52 +07:00
Dmitry Gridin d30844310a i18n: remove html wrap from .properties
#KT-37483
2020-03-16 18:40:52 +07:00
Dmitry Gridin f12ed33a70 AbstractKotlinBundle: introduce withHtml
#KT-37483
2020-03-16 18:40:52 +07:00
Dmitry Gridin c7a21a094f i18n: fix findUsages for 201
#KT-37483
2020-03-16 18:40:52 +07:00
Dmitry Gridin 49cdea7fdb i18n: fix findUsages dialogs
#KT-37483
2020-03-16 18:40:52 +07:00
Dmitry Gridin 3c8ea8c08d i18n: fix compilation for 191 2020-03-16 18:40:52 +07:00
Dmitry Gridin 3c812c1ad1 i18n: update bundle for IdeErrorMessages 2020-03-16 18:40:52 +07:00