Unused symbol: do not report for secondary constructor when class is used as typealias
#KT-20907 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
81f1f441fc
commit
3398683093
+10
@@ -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
|
||||
Reference in New Issue
Block a user