Ilya Gorbunov
87c9d4e84e
Introduce unsafeCast function. Provide more JS-idiomatic emptyArray() implementation.
...
#KT-14034 Fixed
2016-11-19 03:37:47 +03:00
Alexey Tsvetkov
18d50b930d
Minor: add Throws(Exception) to avoid override issues in java
2016-11-18 23:17:34 +03:00
Alexey Tsvetkov
ea93ec3eec
Ensure jps caches are always cleared in tests
2016-11-18 23:17:30 +03:00
Alexey Tsvetkov
72fdb77628
Minor: fix js runtime error in gradle test
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
94b0f3839e
Minor: set apiVersion equal to languageVersion in gradle test
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
c15e878808
Minor: remove inner type alias from gradle test
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
f70ba8b18d
Gradle: run k2js out-of-process if Gradle >= 3.2 is used
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
38445aca8f
Gradle: use builtins workaround only when Gradle >= 3.2 is used
2016-11-18 23:06:45 +03:00
Alexey Tsvetkov
df910a7801
Gradle: load builtins from dependencies
...
#KT-14798 Fixed
2016-11-18 23:06:45 +03:00
Anton Bannykh
68b35aa0ac
JS inliner: Don't treat 'bar' as unused in the presence of 'bar.call' expressions
2016-11-18 20:55:07 +03:00
Ilya Gorbunov
b7b320e4ce
@JvmOverloads-generated overloads of final methods are also final: update public API tests.
2016-11-18 19:53:24 +03:00
Ilya Gorbunov
1defc10add
Minor fix: pass message to superconstructor of NoSuchElementException
2016-11-18 19:12:05 +03:00
Ilya Gorbunov
ac2c2aa959
Remove collectionsMax once again.
2016-11-18 19:12:05 +03:00
Ilya Gorbunov
0dbaf2a605
Make toTypedArray reified again and thus inline, rewrite copyToArray and copyToArrayImpl in kotlin.
2016-11-18 19:12:05 +03:00
Ilya Gorbunov
698bc7bd31
Internal visiblity for hacks.kt declarations.
...
Explicit public visibility.
2016-11-18 19:12:05 +03:00
Zalim Bashorov
4374d353ba
IDE: don't exclude external system libraries (e.g. from gradle) when getting library version in facetUtils
2016-11-18 17:18:16 +03:00
Dmitry Jemerov
5a533a521b
Don't consider a directory to be a package if there's a .java or .class file with the same name in its parent directory
...
#KT-12664 Fixed
2016-11-18 14:00:44 +01:00
Zalim Bashorov
7dbcbeb794
IDE: fix detecting target platform for module when it contains js stdlib without regular name
...
Don't use fixed library name to detect JS stdlib.
2016-11-18 15:57:46 +03:00
Anton Bannykh
2f0bccfb09
JS: chained reified function calls (KT-12527) fixed
2016-11-18 13:48:16 +03:00
Dmitry Jemerov
a57748f4f4
@JvmOverloads-generated overloads of final methods are also final; test to verify that overloads of deprecated methods are deprecated
2016-11-18 11:05:03 +01:00
Dmitry Jemerov
b8525de726
Disallow @JvmOverloads on any interface methods
...
#KT-12224 Fixed
2016-11-18 11:05:02 +01:00
Dmitry Jemerov
79e90b32e8
@JvmOverloads on local declarations is now an error
2016-11-18 11:05:01 +01:00
Dmitry Jemerov
140c7351a8
Add quickfix for incorrect @JvmOverloads annotation
...
#KT-12701 Fixed
2016-11-18 11:05:00 +01:00
Dmitry Jemerov
12e4cf9a4f
Report @JvmOverloads errors on annotation, not on entire declaration (KT-12701)
2016-11-18 11:05:00 +01:00
Dmitry Jemerov
d3ccbe8172
Generate correct varargs flag for @JvmOverloads-generated methods
...
#KT-14186 Fixed
2016-11-18 11:04:59 +01:00
Dmitry Jemerov
16a133bf5c
Generate default constructor also for private classes when all parameters have default values
...
#KT-14408 Fixed
2016-11-18 11:04:51 +01:00
Dmitry Jemerov
248185943c
Handle @JvmOverloads on inner class constructors correctly
...
#KT-14678 Fixed
2016-11-18 11:04:49 +01:00
Dmitry Petrov
8b99141030
KT-14839 Do not coerce after remapped variable store.
2016-11-18 09:35:31 +03:00
Mikhail Zarechenskiy
4b23c50bf8
Parse expressions like '1._foo()' after dot as references
2016-11-17 22:58:40 +03:00
Ilya Chernikov
c7c6a1998b
Update 1.1-M03 section of the changelog
2016-11-17 20:24:49 +01:00
Ilya Chernikov
6e481c8111
Update 1.1-M03 section of the changelog
2016-11-17 17:59:06 +01:00
Zalim Bashorov
ef11393462
KJS: add multimodule version of inheritFromRenamedNativeClass
2016-11-17 16:22:31 +03:00
Zalim Bashorov
8c630954a8
Minor: fix typo in file name
2016-11-17 16:22:30 +03:00
Zalim Bashorov
e1248f8f0b
KJS: don't copy members from native interfaces
2016-11-17 16:22:29 +03:00
Zalim Bashorov
01d10a9592
KJS: remove no longer valid test
2016-11-17 16:22:28 +03:00
Zalim Bashorov
aa2a4f0794
KJS: implement Throwable in Kotlin instead of use it as alias of JS Error
...
* Make it an inheritor of JS Error. Otherwise, Chakra engine doesn't fill stack trace of exception; In other engines inheritance has some good effects too.
* Copy all properties from internally created instance of JS Error
#KT-6985 Fixed
#KT-2328 Fixed
#KT-8019 Fixed
#KT-10911 Fixed
2016-11-17 16:22:27 +03:00
Zalim Bashorov
1f4d95eaa7
Minor: rename kotlin.kt -> Enum.kt
2016-11-17 16:22:26 +03:00
Zalim Bashorov
a03e22e774
KJS: fix refering to native nested class
2016-11-17 16:21:16 +03:00
Zalim Bashorov
bd90b4e051
KJS: don't overwrite prototype of native classes when inheriting from them
2016-11-17 16:17:44 +03:00
Zalim Bashorov
c25dfe997c
KJS: fix inheritance from renamed native classes
2016-11-17 16:17:43 +03:00
Anton Bannykh
0dc9121a91
JS property accessors inlining (KT-13456)
2016-11-17 15:25:29 +03:00
Nikolay Krasko
56ef09c09c
Fix null pointer in evaluate expression (EA-87276)
2016-11-17 14:57:34 +03:00
Dmitry Petrov
0205a122f4
Treat nested mock type aliases as inner (same as for mock classes).
2016-11-17 14:42:32 +03:00
Alexey Andreev
f4011ecb3d
JS: regenerate tests
2016-11-17 14:41:17 +03:00
Nikolay Krasko
6f95667f54
Better diagnostic for inlined line under dex on step over
2016-11-17 13:47:27 +03:00
Nikolay Krasko
2817e1a5f1
Avoid failure on first() call
2016-11-17 13:47:23 +03:00
Nikolay Krasko
a13e878c9b
Pre-count line numbers
...
(cherry picked from commit 5412723e023768d308190f43edd5378476ad35c4)
2016-11-17 13:47:21 +03:00
Nikolay Krasko
0032818ec6
Step over locations after return in dex debug when no return position found by locations
2016-11-17 13:47:20 +03:00
Nikolay Krasko
a2652832e3
Step over locations after return in dex debug
2016-11-17 13:47:18 +03:00
Nikolay Krasko
f07b5eaea1
Refactorings: clean smapUtil, moves, renames
2016-11-17 13:47:17 +03:00