Call method references search in UnusedSymbolInspection.hasReferences to fix secondary constructor search

Makes #KT-12500 Fixed
Makes #KT-12501 Fixed
This commit is contained in:
Mikhail Glukhikh
2016-11-25 16:12:47 +03:00
parent 784fe31053
commit 299f477a1b
12 changed files with 124 additions and 4 deletions
@@ -0,0 +1,11 @@
// "Safe delete constructor" "false"
// ACTION: Convert to primary constructor
// ACTION: Make internal
// ACTION: Make private
// ACTION: Make protected
class Ctor {
<caret>constructor(p: Int)
fun justCompare() {}
}