Use class name as secondary constructor name
This commit is contained in:
@@ -57,7 +57,7 @@ error:
|
||||
sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
== <init> ==
|
||||
== A ==
|
||||
constructor(): this('a') {
|
||||
y = 2
|
||||
}
|
||||
@@ -78,7 +78,7 @@ error:
|
||||
sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
== <init> ==
|
||||
== A ==
|
||||
constructor(a: Int, b: Int = 3): this(b.toChar()) {
|
||||
y = x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user