ffb907150a
- Found few problems during resolving a single functon; disabled assertions and marked them with TODO - Add simple completion tests to simplify development
24 lines
274 B
Kotlin
Vendored
24 lines
274 B
Kotlin
Vendored
class A {
|
|
fun aa() {}
|
|
val aaa = 10
|
|
}
|
|
|
|
fun A.run(action: A.() -> Unit) {}
|
|
|
|
fun test(a: A) {
|
|
a.run {
|
|
|
|
<caret>
|
|
|
|
// remove this
|
|
Unit
|
|
}
|
|
}
|
|
|
|
// this does not work for some reason
|
|
//fun A.test() {
|
|
//}
|
|
|
|
// EXIST: aa
|
|
// EXIST: aaa
|
|
// EXIST: run |