Alexander Udalov
2e8bfde2e7
Move -Xskip-metadata-version-check from JVM to common arguments
...
To be used in JS
2017-02-15 10:46:48 +03:00
Alexander Udalov
a1a71a01b1
Drop JvmMetadataVersion.skipCheck, support this correctly
...
Pass the value of this flag via DeserializationConfiguration
2017-02-15 10:46:48 +03:00
Alexey Sedunov
e1463f9e0f
Kotlin Facet: Fix detection of pre-1.1-beta JS-stdlib dependencies
2017-02-14 18:28:44 +03:00
Mikhail Zarechenskiy
5515a63911
Replace KotlinBuiltIns.isBuiltIn with corresponding package checking
...
Method `isBuiltIn` may not work correctly as built-ins are becoming
more and more like a usual dependency. Also behaviour of this method is
depend on the target platform.
2017-02-14 16:21:17 +03:00
Alexey Sedunov
8c84717cbc
Kotlin Facet: Reset all coroutine support flags before importing them frm Gradle
2017-02-14 16:19:21 +03:00
Vyacheslav Gerasimov
a2e429a912
Fixed exception in getUastLocation of class annotation argument
...
#KT-16326 Fixed
2017-02-14 15:56:37 +03:00
Stanislav Erokhin
b6fa10cf9e
Disable some features when LV=1.1 API=1.0.
...
Feature list:
- bound callable references
- local delegated properties
- coroutines.
#KT-16017 Fixed
2017-02-13 20:29:38 +03:00
Dmitry Jemerov
be0211cd49
Ugly deadlock workaround for KT-16149: members of DataBindingComponent are calculated via annotations search which causes resolve reentrering
2017-02-13 17:20:10 +01:00
Simon Ogorodnik
2490318f93
KT-16076 Completion inserts FQN kotlin.text.String
...
KT-14831 Don't add import statement and FQN on converting lambda to reference if typealias is used
KT-16088 Completion wrongly inserts FQN for `kotlin` package
#KT-16076 fixed
#KT-14831 fixed
#KT-16088 fixed
2017-02-13 16:48:14 +03:00
Ilya Gorbunov
fee676a281
Introduce 'takeUnless' function which is like 'takeIf' but with the predicate inverted.
...
#KT-7858
2017-02-13 16:07:34 +03:00
Sergey Igushkin
9e1afe71f2
Fixed Kotlin2Js output not being the output of the compileKotlin2Js tasks.
...
Therefore, fixed Kotlin2Js output not present in JAR.
Reworked the clean behavior in regard to compileKotlin2Js tasks.
Fixed duplicate source roots passed to the compiler.
Issues:
- #KT-15829 Fixed
- #KT-16267 Fixed
- #KT-15902 Fixed
2017-02-13 15:44:05 +03:00
Anton Bannykh
ad313750e7
JS: Fixed lateinit property initialization
2017-02-13 14:56:50 +03:00
Alexey Sedunov
1452d7e4a6
Kotlin Gradle Plugin: Extend implicit argument set
2017-02-13 14:53:18 +03:00
Alexey Sedunov
75c56d58ae
Line Markers: Do not attempt to resolve suspend call candidates which are not call-like expressions
2017-02-13 14:53:17 +03:00
Alexey Sedunov
add16dec3d
Extract Function: Fix detection of suspend calls containing extracted parameters
...
#KT-16251 Fixed
2017-02-13 14:53:17 +03:00
Alexey Sedunov
574a0e629e
Kotlin Facet: Fix stdlib dependency detection
2017-02-13 14:53:16 +03:00
Alexey Sedunov
7fbca4e122
Kotlin Facet: Scan classpath backwards when looking for kotlin-gradle-plugin dependency
...
#KT-15899 Fixed
2017-02-13 14:53:15 +03:00
Alexey Sedunov
330beebb2c
Kotlin Facet: Check contradictory values of "coroutine support" option
...
#KT-16109 Fixed
2017-02-13 14:53:14 +03:00
Alexander Udalov
9397b16bb9
Minor, fix typo in comment
2017-02-13 14:10:19 +03:00
Alexander Udalov
407815449a
Minor, improve error message
2017-02-13 14:09:58 +03:00
Alexander Udalov
57f2feb6fb
Fix unreported deprecation on variables called as functions
...
#KT-16272 Fixed
2017-02-13 14:09:53 +03:00
Alexander Udalov
6793861fd4
Add target FIELD for SinceKotlin, annotate CallableReference.receiver/NO_RECEIVER
2017-02-13 14:09:43 +03:00
Alexander Udalov
20d856fa77
Minor, remove blank line in extra help
2017-02-13 14:09:38 +03:00
Alexander Udalov
8fee62a8c5
Minor, explain what CompilerMessageSeverity.STRONG_WARNING is
2017-02-13 12:11:16 +03:00
Alexander Udalov
4c9afb9d20
Move testable IS_PRE_RELEASE flag to KotlinCompilerVersion
...
It'll be used in the JS back-end as well soon, so
DeserializedDescriptorResolver is not the best place for it
2017-02-13 12:11:15 +03:00
Stanislav Erokhin
3efda0e45a
Reserve yield if it isn't function call.
2017-02-13 02:53:37 +03:00
Ilya Chernikov
9eae929084
Fixes after review
2017-02-11 16:27:27 +01:00
Ilya Chernikov
39d204c550
Adjust test after introducing shutdown delay
2017-02-11 16:27:26 +01:00
Ilya Chernikov
cb7de0e262
Implement more reliable daemon election, fixes KT-15562
...
also making shutdown more reliable
2017-02-11 16:27:25 +01:00
Ilya Chernikov
ebf9e386b0
Add test reproducing "Service is dying" problem (KT-15562)
2017-02-11 16:27:24 +01:00
Alexey Andreev
7192529733
JS: drop support of old library format
2017-02-10 21:04:50 +03:00
Ilya Chernikov
82320bdf7d
Make maven/aether dependencies optional in the script-util
...
(cherry picked from commit 8197240)
2017-02-10 16:03:06 +01:00
Ilya Chernikov
46894da981
Get rid of daemon-client dependency on openapi, making others "provided"
...
(cherry picked from commit 175d74c)
2017-02-10 16:02:55 +01:00
Ilya Chernikov
f6fd9441e9
Move scripting options into separate panel
...
(cherry picked from commit c06592e)
2017-02-10 14:44:36 +01:00
Dmitry Petrov
20dc1a047d
KT-16250 Handle type alias as imported name qualifier
...
#KT-16250 Fixed
2017-02-10 16:32:07 +03:00
Denis Zharkov
5f843f6759
Fix intrinsic for String.plus for explicit calls
...
#KT-14567 Fixed
2017-02-10 16:05:15 +03:00
Denis Zharkov
fcb4db0226
Remove redundant ACC_VARARGS on methods generated with @JvmOverloads
...
#KT-15424 Fixed
2017-02-10 16:05:15 +03:00
Denis Zharkov
1f179a6f01
Add test on obsolete issue
...
#KT-15196 Obsolete
2017-02-10 16:05:15 +03:00
Denis Zharkov
b989bfce59
Fix VerifyError with @JvmStatic annotated getter
...
The problem was that for property getter 'context.getContextDescriptor()'
references the containing property, while 'context.getFunctionDescriptor()'
the accessor itself
#KT-15594 Fixed
2017-02-10 16:05:15 +03:00
Denis Zharkov
dd275eda78
Minor. Refine class name: JvmStaticGenerator -> JvmStaticInCompanionObjectGenerator
2017-02-10 16:05:15 +03:00
Dmitry Jemerov
87187437ab
Update UAST to version 1.0.11
2017-02-10 13:55:25 +01:00
Ilya Chernikov
da2f310895
Convert line endings when creating ReplCodeLine, fixes KT-15861
...
(cherry picked from commit 894ee4c)
2017-02-09 22:00:30 +01:00
Ilya Gorbunov
c6cb389591
JS kotlin.dom: deprecate asElementList harder.
...
Minor: correct exception message.
2017-02-09 22:15:51 +03:00
Ilya Gorbunov
9a7405adc6
Make javaClass extension property inline to remove further references from Kotlin.
2017-02-09 22:15:25 +03:00
Ilya Gorbunov
63f591bde9
Deprecate some utils and provide sensible replacements from stdlib.
2017-02-09 18:21:51 +03:00
Anton Bannykh
c7d4a4edf4
JS: test property inline through fake override
2017-02-09 15:46:06 +03:00
Stanislav Erokhin
58c2466a52
Minor. use when instead of if sequence.
2017-02-09 15:42:33 +03:00
Stanislav Erokhin
b616ef0a40
Do not force resolve descriptors for explicit imports. Create lazy scope instead.
2017-02-09 15:42:30 +03:00
Stanislav Erokhin
cc429cd865
Fix NewKotlinTypeChecker for case SimpleType with CapturedTypeConstructor.
...
Usually, we have only CapturedType with such constructor.
We should prevent creation such types in the future (KT-16147).
Also added test for KT-14740 where this problem originally appears.
2017-02-09 15:32:18 +03:00
Alexander Udalov
7147008e21
Fix functionFromStdlib.kt by making the member accessible
...
#KT-16263 Open
2017-02-09 14:56:27 +03:00