Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
backingField
/
OpenPrivateValDeferredInit.kt
blob: 64599879f9cf20000003f487ab0290e98ea337cc [
file
]
// LANGUAGE:+ProhibitOpenValDeferredInitialization
open
class
Foo
{
<!
MUST_BE_INITIALIZED_OR_FINAL_OR_ABSTRACT
!><!
INCOMPATIBLE_MODIFIERS
!>
private
<!>
<!
INCOMPATIBLE_MODIFIERS
!>
open
<!>
val foo
:
Int
<!>
init
{
foo
=
1
}
}