Create from Usage: Add delegation call to secondary constructor declaration
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
// "Create secondary constructor" "true"
|
||||
// ERROR: There's a cycle in the delegation calls chain
|
||||
class Creation(val f: Int) {
|
||||
constructor() : this(<caret>)
|
||||
}
|
||||
|
||||
val v = Creation()
|
||||
Reference in New Issue
Block a user