Commit Graph

66577 Commits

Author SHA1 Message Date
rapturemain 54cfd1f625 [FIR] Handle protected effective visibility relation properly
#KT-38401 Fixed
2020-04-29 17:25:19 +03:00
Mikhail Glukhikh 07e9b9517a [FIR] Extract interface FirEffectiveVisibility 2020-04-29 17:25:12 +03:00
Mikhail Glukhikh e81c2c5c6d FirStatusResolveTransformer: don't enter property accessor bodies 2020-04-29 17:25:05 +03:00
Mikhail Glukhikh 9e413bde11 [FIR] Don't visit locals in status resolve transformer 2020-04-29 17:24:47 +03:00
Dmitry Gridin aafb4482c3 CodeToInlineBuilder: cleanup code 2020-04-29 20:19:42 +07:00
Toshiaki Kameyama bcefee0105 Replace deprecated symbol usage: do not add 'this' receiver for imported object function
#KT-26361 Fixed
2020-04-29 20:19:41 +07:00
Dmitriy Dolovov 9d27ba5b59 HMPP: Backward-compatible Kotlin facet serialization
^KT-38634
2020-04-29 19:19:54 +07:00
Mikhail Zarechenskiy 1a26d2e157 Fix exception during resolution of incorrect fun interface
#KT-37541 Fixed
2020-04-29 14:15:25 +03:00
Mikhail Zarechenskiy 780bc1f607 Fix fun interfaces with extension receivers
#KT-37712 Fixed
2020-04-29 14:15:25 +03:00
Mikhail Zarechenskiy fa50d66afe [NI] Fix SAM conversion for projected-out members
#KT-25290 Fixed
2020-04-29 14:15:25 +03:00
Mikhail Zarechenskiy e3fe1bcf7c [NI] Place varargs at the end of value arguments list
This is needed to preserve behavior with the OI
2020-04-29 14:15:15 +03:00
Mikhail Bogdanov 639af69185 Minor. Fix test data 2020-04-29 12:54:47 +02:00
Ilya Goncharov e17e3401eb [Gradle, JS] Use disambiguation classifier in platform only for both
#KT-38635 fixed
2020-04-29 13:27:48 +03:00
Alexander Udalov 9fa8e009c6 Support equals/hashCode for fun interfaces in JVM and JVM_IR
#KT-33455 Fixed
2020-04-29 12:15:50 +02:00
Alexander Udalov de461dd9a5 Minor, extract function in FunctionReferenceLowering
Also simplify the expectedArity computation a few lines above.
2020-04-29 12:15:50 +02:00
Alexander Udalov b77e5a21ec Report error if fun interface method has JVM name getFunctionDelegate
This is needed so that it wouldn't clash with the corresponding member
from the kotlin/jvm/internal/FunctionAdapter interface, which all fun
interface wrappers will implement to get proper equals/hashCode. The
workaround is to rename the fun interface method.

 #KT-33455
2020-04-29 12:15:50 +02:00
Andrey Uskov 55934ff63a Fixed collecting MPP targets in gradle statistics 2020-04-29 13:01:24 +03:00
Andrey Uskov 96887d6e9f Fixed import of JS source sets with Both mode
Added flag indicating that source set naming contract is violated. In this case disambiguition classifier is ignored in IDE.
#KT-37562 Fixed
2020-04-29 13:01:21 +03:00
Ilya Goncharov 1f40a71cbe [Gradle, JS] No create target on import if no target in DSL
#KT-38469 fixed
2020-04-29 12:59:35 +03:00
Vladimir Dolzhenko 84ad9dd8de Increase warm-up, test iterations in PerformanceTypingIndentationTest 2020-04-29 11:40:04 +02:00
Ilya Chernikov 4a0d1b0b9d Use precalculated intersection type in JVM backend
also test all backends for the problem in the issue
#KT-37715 fixed
2020-04-29 11:12:22 +02:00
Ilya Chernikov 45ac81c585 Do not check type depth for constrains generated on subtyping
#KT-38143 fixed
2020-04-29 11:12:21 +02:00
Ilya Gorbunov 1bcccca007 j2k: insert kotlin.Throws annotation instead of kotlin.jvm.Throws 2020-04-29 09:17:55 +03:00
Dmitry Gridin 844e567421 AddThrowsAnnotationIntention: fix compatibility for old annotation
#KT-38391
2020-04-29 09:17:55 +03:00
Ilya Gorbunov 6bf85beba7 AddThrowsAnnotationIntention: add common kotlin.Throws
Partially fixes KT-38391
2020-04-29 09:17:55 +03:00
Denis Zharkov 0f9718bf0d Add test on kotlin.native.Throws ambiguity
KT-35468
2020-04-29 09:17:55 +03:00
Denis Zharkov c6ae423816 Add tests for KT-35468
^KT-35468 Fixed
2020-04-29 09:17:54 +03:00
Ilya Gorbunov 9c2e149b5b Expect/actual kotlin.Throws annotation
#KT-34848
2020-04-29 09:17:54 +03:00
Ilya Gorbunov 9c0b49d3ed Advance bootstrap to 1.4.0-dev-7751 2020-04-29 09:17:54 +03:00
Dmitry Gridin 2f015b4c7a Fix testKotlin_moveTopLevelDeclarations_movePrivatePropertyWithDefaultAccessors_MovePrivatePropertyWithDefaultAccessors test 2020-04-29 13:05:36 +07:00
Dmitriy Dolovov b1bef8485d [Commonizer] Capitalize messages to be printed at console 2020-04-29 12:11:50 +07:00
Dmitriy Dolovov 0f6dbed03b [Commonizer] Don't fail when one of targets is not supported at the host
^KMM-214
2020-04-29 12:11:44 +07:00
Mike Samuel 580ffc1d99 Reformat FrameworkAdapter example code in comment
The example code shows up all on one line in the generated docs.

https://kotlinlang.org/api/latest/kotlin.test/kotlin.test/-framework-adapter/ shows

> suite('a suite', false, function() { suite('a subsuite', false, ...

Use a fenced code block with a language identifier.
2020-04-29 07:36:46 +03:00
Vadim Semenov f4cea1b0cd Fix typo in KDoc for Element.getPolymorphicElement 2020-04-29 07:35:22 +03:00
Ilya Gorbunov 886c4eb492 Report kotlin bootstrap version for integrity test build 2020-04-29 04:49:34 +03:00
Ilya Gorbunov 86d098b8ad Infer internal artifacts bootstrap repository
This allows taking these artifacts from buildserver if the
bootstrap itself is taken from there.
2020-04-29 04:49:34 +03:00
Dmitry Petrov f9bb07e128 JVM_IR: generate flags for adapted function references 2020-04-29 00:55:52 +03:00
Ilya Kirillov 94bc8eaf83 Wizard: remove copyrights from iOS template 2020-04-28 21:34:48 +03:00
Ilya Kirillov 6a9a97006b Wizard: fix not created by default xcode framework in shared module
the runForXcode task is not generating xcode framework
if there is no source files in shared module
2020-04-28 21:34:47 +03:00
Ilya Kirillov 47125553cb Wizard: fix android project template
It was not able to be built as lint task required com.android.tools.build:gradle
in classpath to work

#KT-38579 fixed
2020-04-28 21:34:46 +03:00
Ilya Kirillov 72030ee94e Wizard: do not run whole JPS project importing in write action 2020-04-28 21:34:45 +03:00
Ilya Kirillov b404e6324f Wizard: always allow user to choose project JDK 2020-04-28 21:34:43 +03:00
Ilya Kirillov 56eebed1d8 Wizard: fix kotlin and resources directory names in Android module
#KT-38428 fixed
2020-04-28 21:34:42 +03:00
Ilya Kirillov ccb8a93ee3 Wizard: minor, move message to bundle 2020-04-28 21:34:42 +03:00
Ilya Kirillov 1a68e40ebd Wizard: add common target to FullStackWebApplicationProjectTemplate 2020-04-28 21:34:40 +03:00
Ilya Kirillov 78b5be94e9 Wizard: validate project path for emptiness
#KT-38567 fixed
2020-04-28 21:34:39 +03:00
Ilya Kirillov 5f79ffbe50 Wizard: reduce buildsystem buttons sizes 2020-04-28 21:34:37 +03:00
Ilya Kirillov d9889e449f Wizard: do not create project with snapshot version 2020-04-28 21:34:31 +03:00
Ilya Kirillov 730cce93ed Wizard: add arrows for module selection popup 2020-04-28 21:34:27 +03:00
Ilya Kirillov 7286fcbf39 Wizard: use new api from gradle to import project on >= 193 2020-04-28 21:34:26 +03:00