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
Nikolay Krasko
1c955a64f3
Cache debug information from bytecode in Android debug
2016-11-17 13:47:15 +03:00
Nikolay Krasko
78c76a2ca4
Allow to place breakpoints in inline functions defined in android tests
2016-11-17 13:47:13 +03:00
Nikolay Krasko
ae2e857843
Refactoring: remove lambda parameter from readClassFile()
2016-11-17 13:47:11 +03:00
Nikolay Krasko
623ee316c0
Fix step over for inlined functions in Android Studio (KT-14374)
...
#KT-14374 Fixed
2016-11-17 13:47:10 +03:00
Nikolay Krasko
f87779bfb0
Fail if it was impossible to delete cache directory
...
For example it can be caused by open handler to file on Windows.
2016-11-17 13:47:08 +03:00
Alexey Andreev
f2d7b1a5fd
JS: unmute shared box tests
2016-11-17 13:29:26 +03:00
Anton Bannykh
5b078fb236
JS: augmented assignments and increments (KT-14810) fixed
2016-11-17 13:21:49 +03:00
Alexey Andreev
d2fdc7ffc0
JS: when both clauses of if become empty during optimization, remove if entirely. Make condition and then clause of JsIf non-nullable. Fix #KT-13912
2016-11-17 12:20:37 +03:00
Alexey Andreev
b5358122e2
JS: unmute shared box tests
2016-11-16 19:50:10 +03:00
Alexey Andreev
e2dc7ba37e
JS: coroutines: fixes after code review
2016-11-16 19:29:39 +03:00
Alexey Andreev
43525abda3
JS: don't treat return, break and continue as split points when possible
2016-11-16 19:29:38 +03:00
Alexey Andreev
14729b0f0e
JS: fix exception handling in coroutines when initializing via resumeWithException
2016-11-16 19:29:38 +03:00
Alexey Andreev
bb61fb0a91
JS: refactor coroutine transformer
2016-11-16 19:29:37 +03:00
Alexey Andreev
d41d09ffc4
JS: add metadata for generated continuation classes to properly implement RTTI
2016-11-16 19:29:37 +03:00
Alexey Andreev
6860b2c057
JS: prevent generation of excessive updates of state fields
2016-11-16 19:29:36 +03:00
Alexey Andreev
4c0eb8fc31
JS: prevent generation of excessive this.$result statements in coroutines
2016-11-16 19:29:36 +03:00
Alexey Andreev
2d315c3df8
JS: coroutines: fix translation of try/finally block without catch
2016-11-16 19:29:35 +03:00
Alexey Andreev
0015f7518e
JS: improve dead code elimination to handle switch case bodies
2016-11-16 19:29:35 +03:00
Alexey Andreev
22aea1cf12
JS: fix translation of return statement surrounded by finally block. Temporarily suppress corresponding test case for JVM backend
2016-11-16 19:29:34 +03:00
Alexey Andreev
eae0ceed86
JS: add coroutines tests
2016-11-16 19:29:34 +03:00
Alexey Andreev
2cc299fb40
JS: refactor coroutines to support inlining of suspend functions
2016-11-16 19:29:34 +03:00
Alexey Andreev
e56d735723
JS: refactor how last argument to suspend call is substituted
2016-11-16 19:29:33 +03:00
Alexey Andreev
050a1e782e
JS: fix translation of call to suspend function with optional parameters
2016-11-16 19:29:33 +03:00
Alexey Andreev
3e436d42bf
JS: allow to call non-suspend controller functions from coroutine lambda
2016-11-16 19:29:32 +03:00
Alexey Andreev
e7f044be92
JS: enable coroutine tests that don't enter infinite loop anymore
2016-11-16 19:29:32 +03:00