Commit Graph

64799 Commits

Author SHA1 Message Date
Yunir Salimzyanov 856d8e64a2 Escape fields with extra commas in csv for muted tests 2020-04-30 19:30:55 +03:00
Valentin Kipyatkov 5d60572cfd Temporarily disabled optimization because of failing tests 2020-04-30 15:45:24 +03:00
Vladimir Ilmov 1128d659a4 (CoroutineDebugger) No restored frames in coroutine context found. 2020-04-30 13:14:41 +02:00
Mikhail Glukhikh 87393398f2 FIR serializer: fix isLambda copying 2020-04-30 13:54:27 +03:00
Natalia Selezneva d716c47f17 Gradle Project importing: move ModelBuilders and ModelProviders to kotlin-gradle-tooling
^KT-36673 Fixed
2020-04-30 13:41:13 +03:00
simon.ogorodnik 6ca3a994d9 [FIR2IR] Disable initializer generation for external enum entries 2020-04-30 13:31:12 +03:00
simon.ogorodnik 4133749ee7 [FIR2IR] Fix property fake overrides 2020-04-30 13:22:17 +03:00
simon.ogorodnik a11866ab5a [FIR2IR] Fix labeled this references 2020-04-30 13:15:43 +03:00
Mikhail Glukhikh 3d60fdfed1 Raw FIR: don't check class kind for data / inline modifiers 2020-04-30 13:15:24 +03:00
Jinseong Jeon 9a561f4a7c FIR2IR: generate synthetic members for inline class 2020-04-30 13:09:53 +03:00
simon.ogorodnik ef8bcceb8e [FIR2IR] Use only data class primary constructor parameters for equals 2020-04-30 13:03:30 +03:00
Jinseong Jeon 0890b8bad3 FIR2IR: set superQualifierSymbol for property access 2020-04-30 12:26:47 +03:00
Jinseong Jeon a084c5bf7d FIR2IR: populate overriddenSymbols for overriding properties 2020-04-30 12:25:48 +03:00
rapturemain 02aa11a0a0 [FIR] Support for EXPOSED_TYPE_PARAMETER_BOUND 2020-04-30 12:08:43 +03:00
Abduqodiri Qurbonzoda bfffcf6b23 Update BoxJsTest expected reachable nodes because of new collection builders 2020-04-30 02:28:41 +03:00
Abduqodiri Qurbonzoda ec166db506 Implement collection builders 2020-04-30 02:28:41 +03:00
Anton Yalyshev 1bf41ba7d2 Remove 191 support because of outdated platform whitelist API 2020-04-30 01:06:04 +03:00
Anton Yalyshev 658c30b6b3 Combine usage of kotlin.ide.settings FUS collector
#KT-38620 Fixed
2020-04-30 01:06:03 +03:00
Vladimir Dolzhenko a407605f63 Turn off highlight perf tests for kotlin/gradle/*kts 2020-04-29 22:49:46 +02:00
pyos df4f1365ec PSI2IR: support SAM conversion to substituted types
i.e. in arguments to `f(T x)` where `T` is a type parameter bound to a
SAM type.
2020-04-29 18:50:40 +03:00
Dmitry Petrov d9fd51c608 JVM_IR: basic suspend conversion on argument test passed 2020-04-29 18:28:05 +03:00
Victor Turansky 819634c4cd Official logo for Toolbox icon & IDEA Welcome screen 2020-04-29 18:24:53 +03:00
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