Introduce Property: Add test for name clash in the presence of anonymous initializer (was failing before ElementResolver fix)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// EXTRACTION_TARGET: property with initializer
|
||||
|
||||
class A {
|
||||
val i: Int
|
||||
|
||||
{
|
||||
i = 1
|
||||
}
|
||||
|
||||
fun foo(): Int {
|
||||
return <selection>1 + 2</selection>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user