Create from Usage: Generate secondary constructors by delegation calls
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// "Create secondary constructor" "false"
|
||||
// ERROR: Too many arguments for public constructor Any() defined in kotlin.Any
|
||||
|
||||
trait T {
|
||||
|
||||
}
|
||||
|
||||
class A: T {
|
||||
constructor(): super(<caret>1) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user