Dmitry Petrov
ec8bdff5c7
Working infrastructure for external dependencies testing
...
(not really, but at least something)
2018-09-21 09:50:21 +03:00
Dmitry Petrov
6022fb4ec3
Fix default impl for suspend fun
...
We have an extra parameter in the mapped signature, and don't care about
Kotlin types there (so far). Might be a better idea to obtain the actual
descriptor for a suspend function (with extra parameter), and pass
arguments accordingly.
2018-09-21 09:48:11 +03:00
Dmitry Petrov
0f898dc6dc
Fix default interface generic extension fun call with inline class type
...
When we've determined that we are going to invoke an erased inline class
method ('static foo-impl(this, ...)' in inline class), keep track of it
so that the remaining type mapping logic proceeds correctly.
#KT-26998 Fixed Target versions 1.3.20
2018-09-21 09:48:11 +03:00
Dmitry Petrov
95010de32e
Minor: renaming
2018-09-21 09:48:11 +03:00
Dmitry Petrov
8d2b1950e6
Fix Kotlin default interface methods calls for inline classes
...
When mapping callable method signature for erased inline class methods,
use original function descriptor instead of super declaration
(otherwise it would map to a default interface method with mismatching
signature).
When generating delegates to Kotlin default interface methods, keep
track of the original Kotlin types for delegating method arguments and
interface method arguments.
'original' for value parameters of fake overrides points to the
overridden function value parameters instead of the value parameter of
the unsubstituted function. This causes inconsistent type mapping for
inline classes implementing generic interfaces with default methods.
#KT-25295 Fixed Target versions 1.3.20
#KT-26931 Fixed Target versions 1.3.20
2018-09-21 09:48:11 +03:00
Dmitry Petrov
8536ef5b43
Minor: reformat
2018-09-21 09:48:11 +03:00
Dmitry Petrov
947ea88d5e
Refactor: pull up and extract method
2018-09-21 09:48:11 +03:00
Dmitry Petrov
d9593c7a34
Add tests for inline class variables captured in closure
2018-09-21 09:48:11 +03:00
aleksZubakov
7e49005bab
Add LazyTopDownAnalyzer in LazyResolve container
2018-09-20 22:24:07 +03:00
Ilya Gorbunov
0ca59b3a40
Use modern API of Kotlin 1.3 in JS canvas examples
2018-09-20 22:08:56 +03:00
Roman Artemev
24e7bafa7d
Port test from K/N
2018-09-20 19:59:12 +03:00
Ilya Matveev
a6f2af03e7
Pass absolute library paths to native compiler
2018-09-20 19:10:27 +03:00
Mikhail Zarechenskiy
09cd038e4b
Fix test about version requirement
...
We began to write version requirement on declarations with `Result` and
now (after bootstrap) we are getting error in this test because of that
version requirement.
see 908be10bf4
2018-09-20 17:58:56 +03:00
Mikhail Zarechenskiy
a4f5cced47
Support coroutine inference under version <= 1.2
...
Follow-up #KT-26958
2018-09-20 17:42:24 +03:00
Mikhail Glukhikh
de36d919aa
Fix testJvmStaticUsagesRuntime from PSI checker, messages updated to 1.3
2018-09-20 17:28:07 +03:00
Mikhail Glukhikh
83faba6424
MPP wizard: add skeleton for shared JVM/JS/iOS project
...
Part of KT-26786
2018-09-20 16:21:43 +03:00
Mikhail Glukhikh
47baaf10c6
MPP wizard: add skeleton for JVM/JS project
...
Part of KT-26786
2018-09-20 16:21:26 +03:00
Mikhail Glukhikh
625ff00f62
Fix testEnableCoroutinesFacet from update configuration group
2018-09-20 16:19:10 +03:00
Mikhail Glukhikh
6850d7be0c
Enable feature: add test for JPS case
2018-09-20 16:19:03 +03:00
Mikhail Glukhikh
c5a81c4e8b
Extract shouldConfigureInProject to AbstractChangeFeatureSupportLevelFix
2018-09-20 16:18:06 +03:00
Mikhail Glukhikh
7030a485be
Enable / disable feature: update Gradle build script bunch for 173
2018-09-20 16:18:05 +03:00
Mikhail Glukhikh
f6b805a973
Add enable / disable feature in JPS
...
#KT-26775 Fixed
#KT-26774 Fixed
2018-09-20 15:56:37 +03:00
Mikhail Glukhikh
8a7ff4cd24
Add enable / disable feature in Maven project
...
Part of KT-26775
2018-09-20 15:56:32 +03:00
Mikhail Glukhikh
106db57975
Add enable / disable feature in Gradle (Kotlin DSL) project
...
Part of KT-26775
2018-09-20 15:56:31 +03:00
Mikhail Glukhikh
43e4616fdf
Add enable / disable feature in Gradle (Groovy) project, forTests option
...
Part of KT-26775
2018-09-20 15:56:29 +03:00
Mikhail Glukhikh
b194be7665
Introduce skeleton for ChangeGeneralLanguageFeatureSupportFix
...
Part of KT-26775 and KT-26774
2018-09-20 15:56:27 +03:00
Mikhail Glukhikh
fd3dfe0710
Extract AbstractChangeFeature...Fix from ChangeCoroutineSupportFix
...
Part of KT-26775 implementation
2018-09-20 15:56:26 +03:00
Mikhail Glukhikh
125a136663
Delete unnecessary bunches for KotlinMavenConfigurator
...
One private fun (instead of public) is the only difference here
2018-09-20 15:56:25 +03:00
Mikhail Glukhikh
a0ae4dd387
Fix Maven enable coroutines test (language version)
2018-09-20 15:56:23 +03:00
Ilya Chernikov
a6c7f4294c
Annotate DiscoverScriptExtensionsTask properly
...
KT-26978 fixed
2018-09-20 09:44:58 +02:00
Yan Zhulanow
1008adaf02
Do not discover script extensions for Kapt stub generation tasks (KT-26974)
2018-09-19 22:50:31 +03:00
Ilmir Usmanov
7b1c564b87
Replace ALOAD 0 with fake continuation if suspension point is default
...
method
#KT-25922 Fixed
#KT-26608 Fixed
#KT-26658 Fixed
2018-09-19 22:14:29 +03:00
Pavel V. Talanov
85bdb8b787
Do not show run gutters for native
...
#KT-26851 Fixed
2018-09-19 19:25:24 +02:00
Anton Bannykh
06ecca4144
[JS IR BE] unsigned literal support
2018-09-19 17:45:07 +03:00
Nikolay Krasko
9f16e4f709
Report jre deprecated warning when version is set implicitly (KT-26933)
...
#KT-26933 Fixed
2018-09-19 17:31:10 +03:00
Toshiaki Kameyama
3f2c73b4a9
if-then to safe access: fix for qualified 'this' condition #KT-26662 Fixed
2018-09-19 16:16:15 +03:00
Toshiaki Kameyama
b5f73ebd0f
if-then to safe access: report even if condition in parentheses #KT-26662 Fixed
2018-09-19 16:16:15 +03:00
kenji tomita
6d9fb4f382
Fix #KT-26902 Bad quickfix name for "Call on non-null type may be reduced"
2018-09-19 15:56:26 +03:00
Stanislav Erokhin
4ca0c60066
Temporary specify type explicitly for sequence method in debugger tests.
2018-09-19 15:46:24 +03:00
Stanislav Erokhin
95633b6027
Advance bootstrap to 1.3.20-dev-258
2018-09-19 15:46:22 +03:00
Anton Bannykh
6736987239
JS: fix unsigned literal inlining
2018-09-19 15:04:36 +03:00
Dmitry Petrov
7ff72e9d90
Fix inline class recursion through type parameters
...
Note that inline class such as
inline class Id<T>(val x: T)
is prohibited in 1.3.0.
2018-09-19 14:51:50 +03:00
Anton Bannykh
66b5dd92d9
JS: fix line number data
2018-09-19 13:57:43 +03:00
Mikhael Bogdanov
1face1c334
Don't generate annotations on synthetic accessor parameters
2018-09-19 12:14:09 +02:00
Mikhael Bogdanov
38652372ce
Generate private constructors for Enums
...
#KT-2680 Fixed
#KT-16867 Fixed
2018-09-19 12:14:08 +02:00
Mikhael Bogdanov
c753a98d02
Use section constants to generate smap data
2018-09-19 12:14:07 +02:00
Mikhael Bogdanov
a789fd92fe
Properly parse smap information
...
#KT-23369 Fixed
2018-09-19 12:14:07 +02:00
Ilya Gorbunov
86ba5ebf29
Mix kotlin-annotations-jvm with kotlin-reflect into proguard
...
So it can strip these annotations from the resulting jar.
#KT-26929 Fixed
2018-09-19 12:40:47 +03:00
Nikolay Krasko
64d2cdf0c2
Migrate for moved and renamed buildSequence/buildIterator (KT-26679)
...
#KT-26679 Fixed
2018-09-19 12:38:35 +03:00
Nikolay Krasko
082801efb4
Refactoring: move each problem to a separate class
2018-09-19 12:38:33 +03:00