Alexey Sedunov
cf31e4d58c
MPP: Recover content root import accidentally removed earlier
2018-10-16 12:05:19 +03:00
Alexey Sedunov
fea397a2ad
MPP: Support MPP-dependent Java modules in Android projects
...
#KT-27265 Fixed
2018-10-16 12:05:19 +03:00
Alexey Sedunov
dcdd42ba00
MPP: Add Android tests for new MPP
2018-10-16 12:05:19 +03:00
Alexey Sedunov
da06e49b19
MPP: Merge module dependencies if one of them has COMPILE scope
2018-10-16 12:05:18 +03:00
Alexey Sedunov
d36ee02499
Gradle: Retrieve AndroidModuleModel using IdeModifiableModelsProvider
...
Otherwise it may be null if module is just created by the import
2018-10-16 12:05:18 +03:00
Alexey Sedunov
3a0e539eee
MPP: Add MPP source roots to dependent non-MPP module
...
#KT-27365 Fixed
2018-10-16 12:05:18 +03:00
Alexey Sedunov
558345b057
MPP: Assign TEST scope to dependencies of test source sets
...
#KT-26868 Fixed
2018-10-16 12:05:17 +03:00
Alexey Sedunov
523b662680
MPP: Update Kotlin version in tests to 1.3-RC3
2018-10-16 12:05:17 +03:00
Alexey Sedunov
abec171685
Native: Register '.klib' extension through FileTypeFactory
2018-10-16 12:05:17 +03:00
Alexey Sedunov
ca2367f2b5
MPP: Rewrite ImportedModule name instead of wrapping it
...
Otherwise this instance is not deserialized properly
breaking import on opening project in AS
#KT-27485 Fixed
#KT-27473 Fixed
2018-10-16 12:05:17 +03:00
Denis Zharkov
bda1ef8d57
Do not run bytecode optimization passes for in bodyless modes
...
FunctionsFromAnyGeneratorImpl has been changed because previously
it didn't satisfy annotation visitor contract but it wasn't important
for MethodNode
2018-10-16 11:16:53 +03:00
Denis Zharkov
26da0b9e7e
Do not call default constructor of SourceInterpreter in subclasses
...
It became illegal since asm-6.x
See https://gitlab.ow2.org/asm/asm/blob/c72a86bd5f48a308537695213d3a23ac35a57d55/asm-analysis/src/main/java/org/objectweb/asm/tree/analysis/SourceInterpreter.java#L56
#KT-27572 Fixed
2018-10-16 11:16:53 +03:00
Valentin Kipyatkov
c63eb18b3c
Fixed nested class in companion object case
2018-10-16 08:41:43 +03:00
Valentin Kipyatkov
28e2683146
One more test
2018-10-16 08:41:42 +03:00
Valentin Kipyatkov
69f74b2a51
Fixed ShortenReferences for extension on companion object
2018-10-16 08:41:42 +03:00
Valentin Kipyatkov
d4e0f53583
Fixed ShortenReferences for the case of extension for object
2018-10-16 08:41:42 +03:00
Dmitriy Dolovov
840ee66fd0
MPP Wizards: Clearer notation in generated build.gradle files
...
- Follow the same style as used in public documentation: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html
- Use standard methods to get link task name, don't evaluate it manually
2018-10-16 10:20:06 +07:00
Georgy Bronnikov
4942ed5e7a
Clean up backend.common.ir.IrUtils.kt
2018-10-15 21:52:50 +03:00
Georgy Bronnikov
376eef05f5
JVM_IR. Accessor lowering
2018-10-15 21:52:50 +03:00
Georgy Bronnikov
a23aae590e
JVM_IR. Avoid unbound symbols and declarations without parent
2018-10-15 21:52:50 +03:00
Toshiaki Kameyama
9b49c23668
Move lambda out: don't report in delegation #KT-27584 Fixed
2018-10-15 19:52:10 +03:00
Pavel Punegov
8ea8acc7f7
Set target backend to JVM for tests that have @JvmStatic annotations
2018-10-15 19:25:03 +03:00
Pavel Punegov
ed64d42d45
Regenerate JS tests
2018-10-15 19:25:02 +03:00
Pavel Punegov
eb6580acdd
Return native ignore back.
...
K/N doesn't initialize companion objects if no methods were called from them
2018-10-15 19:25:02 +03:00
Pavel Punegov
d9a8a00069
Make tests that use jvm-annotations be targeted to jvm backend
2018-10-15 19:25:02 +03:00
Pavel V. Talanov
8be3e902a8
ResolutionFacadeWithDebugInfo: do not wrap index not ready exception
...
Fixes problems where `catch (IndexNotReadyException)` blocks
in IDEA code would not work
2018-10-15 15:10:50 +02:00
Pavel Punegov
aab28e6cc7
Revert "Make coroutines test JVM-only"
...
This reverts commit 17b7bbce
2018-10-15 13:52:16 +03:00
Natalia Selezneva
648e8acbde
Update testdata after the fix of KT-27095
...
(replace http with https configuring gradle project)
2018-10-15 12:28:43 +03:00
Dmitry Petrov
b6be72bb11
Add more tests for inline classes
...
#KT-27416
#KT-27513
2018-10-15 12:21:14 +03:00
Dmitry Petrov
0fd68d29f4
Support @JvmStatic in inline class companion object
...
#KT-27107
2018-10-15 12:21:14 +03:00
Dmitry Petrov
5304754e88
Generate specialized 'toString' for inline classes when possible
...
#KT-25613
2018-10-15 12:21:14 +03:00
Dmitry Petrov
f68ce4b35b
Support default parameter values for inline class constructors and funs
...
#KT-26908
#KT-26554
Move default parameter value tests to separate directory
2018-10-15 12:21:14 +03:00
Dmitry Petrov
8ce1d09f8a
Fix inline class coercion in default parameter values
...
#KT-27358
2018-10-15 12:21:14 +03:00
Natalia Selezneva
c2315f065a
Add test for script definitions settings
2018-10-15 11:32:49 +03:00
Natalia Selezneva
71e72ec6c2
Add button to open script settings from Multiple script definition notification
2018-10-15 11:32:49 +03:00
Natalia Selezneva
6596a6ba75
Allow to switch off script definitions
...
^KT-24465 Fixed
2018-10-15 11:32:48 +03:00
Natalia Selezneva
7826f44180
Save ScriptDefinitions order into kotlinScripting.xml
...
^KT-24465 In Progress
2018-10-15 11:32:48 +03:00
Natalia Selezneva
77e687df92
Change base class for ErrorGradleScriptDefinition (migrate to new API)
2018-10-15 11:32:48 +03:00
Natalia Selezneva
3f20453ccf
Do not create multiple ErrorGradleScriptDefinitions
2018-10-15 11:32:48 +03:00
Natalia Selezneva
9ab4d727e9
Provide UI for changing the order of script definitions applicability
...
^KT-24465 In Progress
2018-10-15 11:32:47 +03:00
Natalia Selezneva
2df8adc50b
Move option for auto-reloading script dependencies to 'Kotlin Scripting' page
2018-10-15 11:32:47 +03:00
Natalia Selezneva
54f3982709
Add 'Kotlin Scripting' configuration tab
...
^KT-24465 In Progress
2018-10-15 11:32:47 +03:00
Natalia Selezneva
02c1ae62c3
Show notification if there are more than one script definition applicable for one script file (KT-24466)
...
^KT-24466 Fixed
2018-10-15 11:32:47 +03:00
Dmitry Savvinov
99e1d4ab45
Check for the presence of dispatch receiver too in isEqualsDescriptor()
...
Otherwise, top-level function with the name 'equals' and suitable
signature will be (erroneously) treated as true 'equals' invocation,
leading to further exception (see EA-126602)
2018-10-15 10:54:39 +03:00
Natalia Selezneva
28e43b0487
Indexes should be updated if there are new dependencies for script file
...
KT-26271 Fixed
2018-10-15 09:43:49 +03:00
Natalia Selezneva
c4aab8340b
Do not store script definition in psiFile
...
This may cause problems when definitions are reordered or switched off
KT-27375 Fixed
2018-10-15 09:43:49 +03:00
Svyatoslav Kuzmich
02277d0293
[JS IR BE] ExpectDeclarationsRemoving lowering
...
* Copy lowering from konan to common
* Keep actual default parameters when both actual and expect default parameters are present
* Run lowering before inline in JS IR BE to fix
box/multiplatform/defaultArguments/inlineFunctionWithDefaultLambda.kt
2018-10-15 00:03:46 +03:00
Svyatoslav Kuzmich
4c38d55f21
[JS IR BE] Unmute tests
2018-10-15 00:03:45 +03:00
Svyatoslav Kuzmich
5a057f8ca6
[JS IR BE] Support 'is Number' and 'is Comparable<>'
2018-10-14 23:53:03 +03:00
Svyatoslav Kuzmich
783f27c554
[JS IR BE] Support Number.to(Byte|Short|Int|Float|Double|Long)
2018-10-14 23:53:03 +03:00