Vadim Brilyantov
dc2c8140a9
Add optimize imports with timeout for move refactoring
2019-02-26 15:35:17 +03:00
Vadim Brilyantov
0ec3d15218
#KT-19924: Fix usability issue with extract declaration from file intention
...
Fix ExtractDeclaration intention name in tests
Fix ExtractDeclaration intention folder and description to avoid "not found Dir URL" exception
2019-02-26 15:35:15 +03:00
Alexander Gorshenev
888641e7f1
Use file symbol instead of a file name string in IrReturnableBlockImpl
2019-02-26 13:54:04 +03:00
Alexander Udalov
e2106d4d08
Do not assert that function is inline in MemberDescriptor.isInlineOnly
...
This is a more accurate fix of the problem described in 946acd2416
2019-02-26 11:16:01 +01:00
Alexander Udalov
b8bc79e17c
Support non-trivial default argument values in expected functions on JVM
...
#KT-22818 Fixed
2019-02-26 11:02:30 +01:00
Ting-Yuan Huang
b2cc661783
Set target backend of BytecodeTextTestGenerated to JVM
...
as BytecodeTextTestGenerated is only available to JVM.
Change-Id: I0bb15b35ab3b8418434875971a572f3e49a516a5
2019-02-26 09:22:43 +01:00
Alexander Udalov
cfcd0d7b4a
Minor, fix localClassLiteral.kt on JDK 9
2019-02-25 23:37:43 +01:00
Abduqodiri Qurbonzoda
ae47130c8e
Implement UArray.contains(element) workaround for JS
2019-02-25 21:58:53 +03:00
Abduqodiri Qurbonzoda
c1b523ddef
Fix UArray.containsAll(Collection<Any?>)
2019-02-25 21:58:53 +03:00
Abduqodiri Qurbonzoda
60e83383ad
Add containsAll(Any?) check to CollectionBehaviors
2019-02-25 21:58:53 +03:00
Abduqodiri Qurbonzoda
1b6b44c805
Implement conversion between floating point numbers and unsigned integers
...
KT-27108
2019-02-25 21:58:03 +03:00
Yan Zhulanow
a970de51ab
Debugger: Fix 182 bunch, add missing scratch extensions
2019-02-25 21:35:00 +03:00
Yan Zhulanow
55db2abd89
Debugger: Fix 191 bunch file, add new debugger extensions
2019-02-25 21:35:00 +03:00
Alexander Udalov
3f1533c35b
Restore support for local class literals in annotation arguments
...
This was broken in c1ab08c8ce where we started to represent KClassValue
as a ClassId of the referenced class + number of times it's been wrapped
into kotlin.Array. Local classes do not have a sane ClassId, so in this
change we restore the old behavior by representing KClassValue with a
sealed class value instead
#KT-29891 Fixed
2019-02-25 19:22:09 +01:00
Alexander Udalov
f733bda912
Fix compilation error introduced in d374723e3c
2019-02-25 19:22:09 +01:00
Pavel Punegov
86ac5e97e4
Update Kotlin/Native to 1.2-rc2-7869
2019-02-25 20:42:02 +03:00
Ilya Chernikov
d374723e3c
Restore default jvmTarget for scripts that was lost after refactoring
2019-02-25 18:22:27 +01:00
Nicolay Mitropolsky
e0e5009f3f
191: Uast: StringTemplateComplexForUInjectionHost testdata fix
2019-02-25 19:24:51 +03:00
Leonid Startsev
472d91e0de
Do not return whole list of generated property descriptors for type
...
arguments' serializers when only one name is needed.
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/383
2019-02-25 19:21:29 +03:00
Nicolay Mitropolsky
f9813af3ff
191: Uast: KotlinUSimpleReferenceExpression bunch fix
2019-02-25 18:13:18 +03:00
Nikolay Krasko
6813402abf
Fix INRE from KotlinQuickDocumentationProvider (KT-30058, EA-137533)
...
Show a warning like CtrlMouseHandler does.
Fixed in 191 branch in CtrlMouseHandler.updateOnPsiChanges().
https://github.com/JetBrains/intellij-community/commit/b116dcaf994279d0f5fd78edd814013276c0adab
#KT-30058 Fixed
2019-02-25 17:43:57 +03:00
Alexey Tsvetkov
f38ad0fe8a
Fix inter-project IC with new MPP for JS/JVM targets
...
#KT-26275 Fixed
#KT-29966 Fixed
2019-02-25 17:12:14 +03:00
Nicolay Mitropolsky
5786ab5140
Uast: making KotlinClassViaConstructorUSimpleReferenceExpression also handle deserialized descriptors
2019-02-25 16:35:46 +03:00
Nicolay Mitropolsky
25e00c9079
Uast: making KotlinClassViaConstructorUSimpleReferenceExpression resolve to class in case of SAM (KT-28272)
2019-02-25 16:35:46 +03:00
Nicolay Mitropolsky
d7584df01b
Uast: making ULambdaExpression.functionalInterfaceType return non-null values for explicitly typed SAM-s with Java interfaces (KT-28272)
2019-02-25 16:35:46 +03:00
Anton Yalyshev
a326ba60a3
metadata contains Common target, so we need to track it as well
2019-02-25 16:26:12 +03:00
Max Medvedev
526e49d68a
fix test icons for methods
...
#KT-25956
2019-02-25 16:02:42 +03:00
Sergey Igushkin
03e36334cf
Push Gradle version for kotlin-gradle-plugin-integration-tests to 5.2
2019-02-25 15:43:40 +03:00
Sergey Igushkin
43de81e4c8
Fix MPP publishing with metadata on Gradle 5.2 (KT-29758)
...
In publishing, use attribute containers of detached configuration
instead of HierarchyAttributeContainer, which is rejected by Gradle for
not being an AttributeContainerInternal.
Using attributes of a detached configuration is a small and
conservative fix; we may need to either not filter the attributes,
which will lead to [ProjectLocalConfigurations.ATTRIBUTE] being
published in the Gradle module metadata, which will potentially
complicate our attributes schema migration, or create proper,
non-detached configurations for publishing that are separated from the
configurations used for project-to-project dependencies.
Issue #KT-29758 Fixed
2019-02-25 15:43:40 +03:00
Svyatoslav Kuzmich
beb5f73a2b
Remove duplicate tests from JS compiler test set. Merge chages to common compiler tests
2019-02-25 15:09:27 +03:00
Svyatoslav Kuzmich
a736756ceb
[JS IR BE] Fix and refactor interop tests
2019-02-25 15:09:27 +03:00
Svyatoslav Kuzmich
569187a751
[JS IR BE] Use Char boxing rules of current backend
2019-02-25 15:09:26 +03:00
Svyatoslav Kuzmich
de020ed58a
[JS IR BE] Generate and export JS properties
2019-02-25 15:09:26 +03:00
Svyatoslav Kuzmich
fc5636b7c1
[JS IR BE] Fix: Don't generate built-in "Function" interface
2019-02-25 15:09:26 +03:00
Svyatoslav Kuzmich
326cbcc218
[JS IR BE] Unmute tests
2019-02-25 15:09:26 +03:00
Svyatoslav Kuzmich
1184c158e4
[JS IR BE] Support @JsName in bridges
2019-02-25 15:09:26 +03:00
Svyatoslav Kuzmich
e09a6f0007
[JS IR BE] Fix codegen for external companion objects
2019-02-25 15:09:25 +03:00
Svyatoslav Kuzmich
c4ffe36a21
[JS IR BE] Add CharSequence type check
2019-02-25 15:09:25 +03:00
Svyatoslav Kuzmich
3be4248791
[JS IR BE] Disable deprecated jsName tests
2019-02-25 15:09:25 +03:00
Svyatoslav Kuzmich
74c8f54fc8
[JS IR BE] Support cast to native interface
2019-02-25 15:09:25 +03:00
Kirill.Shmakov
4a3476a87c
Merge rr/kishmakov/KT-30056 into master
2019-02-25 11:45:55 +00:00
Yan Zhulanow
e43fd713ef
Fix new compiler tests (new receiver name mangling – $this$label)
2019-02-25 14:44:00 +03:00
Yan Zhulanow
133f021b26
Async stack traces: Fix compilation on IDEA 182 and older AS versions
2019-02-25 14:44:00 +03:00
Yan Zhulanow
cadb70f64a
Evaluator: Allow to evaluate expression on synthetic lines in .kt files
2019-02-25 14:44:00 +03:00
Yan Zhulanow
16266259f5
Evaluator: Handle function context gracefully. Use file scope as a fallback instead of error scope
2019-02-25 14:44:00 +03:00
Yan Zhulanow
5035de24ac
Code fragments: Use file scope as a fallback when a more specific one is not available
2019-02-25 14:44:00 +03:00
Yan Zhulanow
316dcccc30
Minor: Capitalize word "Kotlin" in error messages
2019-02-25 14:43:59 +03:00
Yan Zhulanow
28e4356e6e
Restore original variable name mangling for captured/receiver $this
...
Design for the new one is still not finished.
2019-02-25 14:43:59 +03:00
Yan Zhulanow
1edacbbb5e
Evaluator: Don't rely on moduleDescriptor presence in DebugLabel descriptor generation
...
The containing moduleDescriptor may not exist for the Java context.
2019-02-25 14:43:59 +03:00
Yan Zhulanow
a21802ee51
Pill: Fix new annotations-13.0 configuration
2019-02-25 14:43:59 +03:00