KT-11030 Borrow test for local classes from JVM backend

This commit is contained in:
Alexey Andreev
2016-03-01 20:24:03 +03:00
parent 9a8474392d
commit 3e11209d8a
9 changed files with 200 additions and 47 deletions
-2
View File
@@ -1,5 +1,3 @@
// TODO: Enable when JS backend get support of local classes
// TARGET_BACKEND: JVM
fun test1(str: String): String {
data class A(val x: Int) {
fun foo() = str