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
Ilya Gorbunov
974837654e
Remove workaround for complex default value in Array.copyInto
...
#KT-22818
2018-09-22 18:24:00 +03:00
Ilya Gorbunov
a5f1ed9a5d
Advance bootstrap to 1.3.20-dev-384
2018-09-22 18:23:52 +03:00
Alexey Tsvetkov
cd2ff41ef5
Validate Gradle task properties on test run
...
By default `validateTaskProperties` is added only to `check` task's
dependencies, so doesn't run on our CI.
We can run `check` instead of `test` on CI, but since developers are
not used to it, I believe it's better to make `test` tasks depend on
`validateTaskProperties`
2018-09-22 00:10:45 +03:00
Natalia Selezneva
a078526c4d
Scratch tests: check that highlighting is enabled for scratch
2018-09-21 22:58:14 +03:00
Natalia Selezneva
8f8c431524
Fix Optimize import for scripts not under source roots
...
KT-17231 Fixed
KT-21981 Fixed
2018-09-21 22:58:14 +03:00
Natalia Selezneva
eb597fbf22
Fix unused import inspection for scripts not under source roots (including build.gradle.kts and scratches)
...
KT-20040 Fixed
2018-09-21 22:58:14 +03:00
Natalia Selezneva
43027d0581
Check scriptDefinition expected location for scripts when use ProjectRootUtil.isInContent
2018-09-21 22:58:14 +03:00
Natalia Selezneva
074aa47dc0
Use ProjectRootUtil.isInContent instead of checking script expected location manually
2018-09-21 22:58:14 +03:00
Natalia Selezneva
d3ee14c5d2
Check scriptDefinition expected location for scripts when use ProjectRootUtil.isInContent
2018-09-21 22:58:06 +03:00
Ivan Gavrilovic
2d425d4e0a
Fix null checks in the flow
2018-09-21 20:23:44 +03:00
Ivan Gavrilovic
bb53a1c3d2
Use new API from AGP to get JavaCompile task
...
New API for getting the JavaCompile task has been
added to AGP, and the old one is deprecated. It is
now returning TaskProvider<JavaCompile>, which allows
API users to avoid configuring tasks unnecessarily.
This commit does not change anything functionally, it
is only to avoid the warning message, as reporter in
https://issuetracker.google.com/116198439 .
2018-09-21 20:23:44 +03:00
Ilya Gorbunov
358e64fdb0
Remove dead code for builtins uninvalidation in tests
2018-09-21 18:35:02 +03:00
Ilya Gorbunov
4423ef9087
Minor: remove unused template for Map.random()
2018-09-21 18:28:44 +03:00
Anton Bannykh
8e347f9f39
[JS IR BE] lateinit support
...
* Functions with IrExpressionBody are lowered to IrBlockBody
* Implemented throwUninitializedPropertyAccessException function
2018-09-21 18:20:11 +03:00
Anton Bannykh
beaf6df8c5
[JS IR BE] support CharSequence and String methods
2018-09-21 18:16:03 +03:00
Alexander Udalov
3e90d367f2
Do not report experimental usage errors in import statements
...
#KT-25545 Fixed
2018-09-21 17:35:50 +03:00