Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
ba045e44fbc13a4a8bcfa03689115fd0a25366a9
/
.
/
compiler
/
testData
/
cfg-variables
/
bugs
/
referenceToPropertyInitializer.kt
blob: dbdd5d4f2c2af8bb59805675586bcf4a31587bb2 [
file
] [
log
] [
blame
]
class
TestFunctionLiteral
{
val sum
:
(
Int
)->
Int
=
{
x
:
Int
->
sum
(
x
-
1
)
+
x
}
}
open
class
A
(
val a
:
A
)
class
TestObjectLiteral
{
val obj
:
A
=
object
:
A
(
obj
)
{
init
{
val x
=
obj
}
fun foo
()
{
val y
=
obj
}
}
}
class
TestOther
{
val x
:
Int
=
x
+
1
}