Introduce Parameter: Do not suggest containers of object and non-inner classes
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user