Find Usages: Support primary constructors

#KT-7881 Fixed
This commit is contained in:
Alexey Sedunov
2015-06-08 18:42:13 +03:00
parent 1ea2c24562
commit e2d758463f
18 changed files with 188 additions and 9 deletions
@@ -0,0 +1,14 @@
// PSI_ELEMENT: com.intellij.psi.PsiMethod
// OPTIONS: usages
// FIND_BY_REF
// WITH_FILE_NAME
class J extends A {
constructor(n: Int) {
super(n);
}
static void test() {
new A();
new <caret>A(1);
}
}