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
Dmitriy Novozhilov
e6d8e67a3a
[FIR] Generify ComponentArray
2020-04-28 21:05:06 +03:00
Dmitriy Novozhilov
a4a58a9d74
[FIR] Get rid of FirSession.service
2020-04-28 21:05:06 +03:00
Leonid Startsev
52933e161e
Use AssociatedObjects on JS too
...
because JS IR now supports them
2020-04-28 20:51:24 +03:00
Steven Schäfer
905a8ca0d0
Reflect: Handle methods with inline class default parameters
2020-04-28 19:49:35 +02:00
Pavel Kirpichenkov
86d6470ced
Update test data forgotten in 36a57973
...
KT-38544
2020-04-28 20:26:11 +03:00
Anton Bannykh
2992d49a1d
JS IR: fix findAssociatedObjects for primitive type KClass'es
2020-04-28 19:08:44 +03:00
Dmitry Petrov
878e838f0b
JVM: Suspend converted references inherit AdaptedFunctionReference
2020-04-28 18:56:37 +03:00
pyos
deecb6a28e
JVM: move synthetic line number generation to the inliner
...
This makes the behavior of JVM and JVM_IR the same without having to
deal with PSI nodes.
2020-04-28 17:21:07 +02:00
pyos
91b6daeacc
JVM: fix debug info for script file classes
2020-04-28 17:21:07 +02:00
Georgy Bronnikov
1e8a660fda
IR: use default parameters in Ir...Impl constructors
2020-04-28 18:19:46 +03:00
Georgy Bronnikov
9561cc8270
JVM_IR: JvmNameProvider
2020-04-28 18:19:46 +03:00
Georgy Bronnikov
52df54ae49
IR: add NameProvider
2020-04-28 18:19:46 +03:00
Georgy Bronnikov
82d55e1a67
Minor: remove unused parameters, reformat code
2020-04-28 18:19:46 +03:00