Files
kotlin-fork/compiler/testData/asJava/lightClasses/script/InnerClasses.kts
T
Mikhail Glukhikh c0c9841e62 Switch laziness OFF in script light classes tests
Laziness works no more in this tests after dummyContextProvider is removed
for script light classes (see fix of KT-25395).

However, now 2/2 script light classes tests still fail in IDE mode,
because after fix of KT-26505 IDE light classes do not see
ScriptTemplateWithArgs as super-class
2018-12-26 15:11:26 +03:00

15 lines
182 B
Kotlin
Vendored

// InnerClasses
class Bar(val a: Int) {
val b: Int = { 0 }()
fun getAPlusB() = a + b
class Baz {
fun doSomething() {
}
}
}
// LAZINESS:NoLaziness