Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
699829ccb3e80dbb53c10cccdf1e50f06a5c5346
/
.
/
idea
/
testData
/
codeInsight
/
outOfBlock
/
InObjectPrivateFunctionWithoutInference.kt
blob: 5b1000b01f96dbab2186567099de4af6237f9fc0 [
file
]
// OUT_OF_CODE_BLOCK: TRUE
// as it's a object body not a named function body
object
A
{
fun foo
():
Int
=
12
private
fun bar
():
Int
=
foo
()
+
<caret>
}
// TYPE: 1
// SKIP_ANALYZE_CHECK