FIR IDE: API to indicate delegated property
This commit is contained in:
committed by
Ilya Kirillov
parent
96fbbb6f69
commit
b52912162f
@@ -0,0 +1,11 @@
|
||||
// WITH_STDLIB
|
||||
|
||||
class MyColor(val x: Int, val y: Int, val z: Int)
|
||||
|
||||
class Some {
|
||||
val delegate by lazy { MyColor(0x12 /* constant = 18 */, 2, 3) }
|
||||
|
||||
val lambda = lazy { MyColor(1, 2, 3) }
|
||||
|
||||
val nonLazy = MyColor(1, 2, 3)
|
||||
}
|
||||
Reference in New Issue
Block a user