JS: support non-local return from secondary constructor

See KT-14549
This commit is contained in:
Alexey Andreev
2017-09-27 17:14:33 +03:00
parent e323da3c5e
commit c15847a957
5 changed files with 21 additions and 10 deletions
@@ -1,6 +1,3 @@
// TODO enable for JS backend too when KT-14549 will be fixed
// IGNORE_BACKEND: JS
inline fun run(block: () -> Unit) = block()
class A {