Use more correct check for the constructor symbol

- add test for extension function receiver
This commit is contained in:
Roman Golyshev
2020-06-25 15:01:04 +03:00
committed by Ilya Kirillov
parent a3da1ea1a0
commit e7f5594ffe
4 changed files with 27 additions and 3 deletions
@@ -0,0 +1,14 @@
class A {
fun aaa() {}
val aa = 10
}
fun A.aaaExt() {}
fun A.test() {
<caret>
}
// EXIST: aaa
// EXIST: aa
// EXIST: aaaExt