Toshiaki Kameyama
c1013cc198
"Convert to secondary constructor": Fix false positive with delegation #KT-27061 Fixed
2018-09-26 09:31:12 +03:00
Yuki Miida
af1fc5b668
Add sample for orEmpty method
2018-09-26 05:54:40 +03:00
Mikhail Glukhikh
64b23812c0
Move CliArgumentStringBuilder: cli -> idea-jvm
2018-09-25 19:14:12 +03:00
Mikhail Glukhikh
1f4d91da1c
Has actual marker: distinguish Android and JVM modules #KT-25055 Fixed
2018-09-25 19:11:30 +03:00
Dmitry Petrov
fd57a43665
Update testData for ClassFileToSourceStubConverterTestGenerated
2018-09-25 17:25:02 +03:00
Simon Ogorodnik
189fe95d8a
Fix type-aliases by expansion search loop
...
Compare type-aliases by it's fqNames instead of identity, as
multiple runs of resolveToDescriptorIfAny produces different descriptors
for one declaration
2018-09-25 16:40:03 +03:00
Nikolay Krasko
1ff12d00e4
Allow return value hint for lambda expressions (KT-26689)
...
#KT-26689 Fixed
2018-09-25 15:52:22 +03:00
Nikolay Krasko
07e305e5f4
Update dictionary: +infos, -kompiler
2018-09-25 15:52:21 +03:00
Nikolay Krasko
80c3e59dd5
Minor: cleanup testUtils.kt
2018-09-25 15:52:19 +03:00
Nikolay Krasko
e1f746f23c
Resolve "key is not found in bundle" exception from tests in AS
...
Android Studio idea.jar is taken from clion projects and has
IdeSpecificFeatures.xml and ProductivityFeaturesRegistry.xml files that
mention function that have to be found in ProductivityFeaturesRegistry.
Unfortunately, correspondent CLion bundle is not registered in tests, and
this causes a lot of tests fail.
2018-09-25 15:52:18 +03:00
Ilya Chernikov
127451e1d9
Add kotlin-main-kts.jar to the dist
2018-09-25 14:13:28 +02:00
Alexey Sedunov
22c77ffbb2
MPP: Do not populate content roots in the absence of ExternalProject
...
#KT-26900 Fixed
2018-09-25 15:05:46 +03:00
Alexey Sedunov
4f01a438c4
MPP: Add all android-targeted compilation source roots to the module
2018-09-25 15:05:43 +03:00
Alexey Sedunov
3a973973ce
MPP: Create android source roots automatically when requested
...
#KT-26764 Fixed
2018-09-25 14:54:27 +03:00
Alexey Sedunov
391e4c2ad1
Configuration: Fix JVM target detection in the absence of Kotlin facet
...
#KT-27021 Fixed
2018-09-25 14:54:26 +03:00
Alexey Sedunov
bd3adbd457
MPP: Reset JDK for JVM modules
...
#KT-26937 Fixed
2018-09-25 14:54:26 +03:00
Alexey Sedunov
6d4f927f7e
Configuraion: Defer initialization of facets UI
...
#KT-25410 Fixed
2018-09-25 14:54:25 +03:00
Dmitriy Dolovov
5e33860652
[K/N] Stand-alone Native Application wizard in IDEA
...
Issue #KT-27076 Fixed
2018-09-25 17:24:59 +07:00
Dmitriy Dolovov
8e455f5a14
Merge pull request #1893 from JetBrains/rr/ddol/KT-27072
...
[K/N] Friendly displaying of Kotlin/Native default libraries in IDEA
2018-09-25 16:03:28 +07:00
Toshiaki Kameyama
7d89205618
Add "Remove inline modifier" quick fix for NOTHING_TO_INLINE #KT-5187 Fixed
2018-09-25 11:48:20 +03:00
Toshiaki Kameyama
65f23f3c4e
Fix false positive in class literal #KT-16338 Fixed
2018-09-25 11:27:27 +03:00
Toshiaki Kameyama
6cd13341ee
Add inspection for unlabeled return inside lambda #KT-26511 Fixed
2018-09-25 11:24:56 +03:00
Dmitry Petrov
ba32ed7404
Test: @JvmField in inline class companion
2018-09-25 11:15:29 +03:00
Dmitry Petrov
bffe9e45e8
Add accessor tests: inline class <-> companion
...
KT-26858 was fixed somewhere in the middle.
#KT26858
2018-09-25 11:15:29 +03:00
Dmitry Petrov
850d72f13f
Fix accessor generation for inline class members
...
TODO 'generateMethodCallTo' is a bloody mess that deserves rewriting.
2018-09-25 11:15:29 +03:00
Dmitry Petrov
edc8cf3ed0
Use proper type for context 'this'
...
Bug in 'generateThisOrOuterFromContext', it worked while instance of a
class was always an object.
#KT-27078
2018-09-25 11:15:29 +03:00
Dmitry Petrov
c1bb3479df
More tests on casts on receiver of inline class type
2018-09-25 11:15:29 +03:00
Dmitry Petrov
88cc900dc7
Add test for private inline class method call from inline lambda
2018-09-25 11:15:29 +03:00
Dmitry Petrov
2e6d53a43f
Fix extension receiver coercion for inline classes
...
#KT-27031
2018-09-25 11:15:29 +03:00
Dmitry Petrov
20d7210239
Fix outer class mapping for closures in inline class
...
#KT-27030
#KT-27033
2018-09-25 11:15:29 +03:00
Dmitry Petrov
26602c8443
Minor: move tests
2018-09-25 11:15:29 +03:00
Dmitry Petrov
f9a419f940
Fix companion method access from inline class
...
#KT-27025
2018-09-25 11:15:29 +03:00
Dmitry Petrov
1869ed09bc
Fix companion field access from inline class
...
#KT-26858
2018-09-25 11:15:29 +03:00
Toshiaki Kameyama
3e4d8eba76
Add braces: Remove new line between '}' and 'else' #KT-26839 Fixed
2018-09-25 11:08:49 +03:00
Alexey Tsvetkov
de261df6f5
Use separate configuration for resolving native compiler plugin artifacts
...
Kotlin/JVM and Kotlin/JS use shaded compiler, but
Kotlin/Native uses non-shaded one.
Serialization plugin was configured to use either shaded or non-shaded
plugin version, because we used one configuration for resolving
compiler plugins.
This change introduces 'kotlinNativeCompilerPluginClasspath' configuration
for resolving Kotlin/Native compiler plugins.
2018-09-25 11:08:39 +03:00
Toshiaki Kameyama
affa881421
"Redundant SAM constructor": Fix highlighting range #KT-27034 Fixed
2018-09-25 11:06:45 +03:00
Dmitriy Dolovov
405bd91597
[K/N] User friendly displaying of Kotlin/Native default libraries in IDEA
...
Issue #KT-27072 Fixed
2018-09-25 11:50:39 +07:00
Georgy Bronnikov
487f500f85
Revert "JVM_IR. Support compile time constants"
...
This reverts commit 055215c54f .
2018-09-25 05:24:48 +03:00
Georgy Bronnikov
055215c54f
JVM_IR. Support compile time constants
2018-09-25 01:38:51 +03:00
Pavel V. Talanov
985934a40a
Prefer kotlin JUnit config to any pattern based config
...
Specifically that means that Kotlin JUnit configurations will be created
for JUnit classes and methods instead of AS pattern configurations
2018-09-24 18:29:04 +02:00
Pavel V. Talanov
71d640f3f8
Improve kotlin jvm run config producers for 181 and as32 branches
...
Drop KotlinJUnitRunConfigurationProducer, KotlinRunConfigurationProducer
bunch files
Extract differences in behaviour to 'jvmMppUtils.kt'
Improve 'isConfigurationFromContext' checks for 181 and as32
(this prevents duplicate configurations being created)
KotlinRunConfigurationProducer chooses corresponding jvm module
for common code
#KT-26886 Fixed
2018-09-24 18:08:06 +02:00
Pavel V. Talanov
f34f306d90
IdeaModuleInfos: consider newMpp modules to always have relevant roots
...
Make sure implementing(ed)Descriptors always return a relevant module
regardless of whether the module has physical directories configured
2018-09-24 18:08:06 +02:00
Vyacheslav Gerasimov
7eb8123d26
Add changelog for 1.2.71
2018-09-24 18:37:39 +03:00
Nikolay Krasko
dda1673096
Don't choose navigation target only by index (KT-26004)
...
There might be situation when platform code has a declaration with
another signature and the same fqname, but navigating to common
declaration is expected.
#KT-26004 Fixed
2018-09-24 18:26:34 +03:00
Svyatoslav Kuzmich
b79dcbe8e6
[JS IR BE] Refactor equals and compareTo lowering
2018-09-24 18:21:57 +03:00
Yan Zhulanow
005955326f
Pill: Exclude kotlin-main-kts module from JPS
2018-09-24 17:54:24 +03:00
Yan Zhulanow
ff0b051a64
MPP: Rewrite work-around for JPS in a more safe way
2018-09-24 17:54:24 +03:00
Yan Zhulanow
bc27cabb1a
Call 'GradleProjectImportHandler's in MPP Gradle importer (KT-27006)
2018-09-24 17:54:23 +03:00
Nikolay Krasko
bbd15db308
Remove old buildIterator import (KT-26679)
2018-09-24 15:57:06 +03:00
Mikhail Zarechenskiy
6a860dd042
Fix blackbox codegen tests that use coroutine inference
...
Note that previously we implicitly ignored JS_IR backend when directive
COMMON_COROUTINES_TEST was enabled, see kotlin/generators/util/coroutines.kt#L57
2018-09-24 12:10:56 +03:00