Delegated Properties: Analysis adjustments for local delegated properties support
This commit is contained in:
-1
@@ -1,5 +1,4 @@
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Local variables are not allowed to have delegates
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
fun test() {
|
||||
|
||||
Vendored
-1
@@ -1,7 +1,6 @@
|
||||
import kotlin.properties.ReadOnlyProperty
|
||||
|
||||
// "Create property 'foo'" "true"
|
||||
// ERROR: Local variables are not allowed to have delegates
|
||||
// ERROR: Property must be initialized
|
||||
|
||||
val foo: ReadOnlyProperty<Nothing?, Int>
|
||||
|
||||
Reference in New Issue
Block a user