Unused symbol: do not report for secondary constructor when class is used as typealias

#KT-20907 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-13 19:27:27 +09:00
committed by Vladimir Dolzhenko
parent 81f1f441fc
commit 3398683093
3 changed files with 24 additions and 7 deletions
@@ -0,0 +1,10 @@
// PROBLEM: none
class A(x: Double) {
<caret>constructor(i: Int) : this(i.toDouble())
}
class C {
val a = B(1)
}
typealias B = A