mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
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
15 lines
182 B
Kotlin
Vendored
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 |