Introduce Parameter: Do not suggest containers of object and non-inner classes

This commit is contained in:
Alexey Sedunov
2015-04-07 20:40:20 +03:00
parent 80134b9b2b
commit 918eda0c9b
4 changed files with 46 additions and 1 deletions
@@ -0,0 +1,10 @@
// TARGET:
class A {
inner class B {
fun foo() = <selection>1</selection>
}
object O {
fun foo() = 1
}
}
@@ -0,0 +1,10 @@
// TARGET:
class A(val i: Int = 1) {
inner class B {
fun foo() = i
}
object O {
fun foo() = 1
}
}