Create from Usage: Generate secondary constructors by call expressions

This commit is contained in:
Alexey Sedunov
2015-03-25 13:16:56 +03:00
parent 15dddf362e
commit 9c0bcee9a3
20 changed files with 210 additions and 13 deletions
@@ -2,6 +2,7 @@
// ACTION: Create function 'Foo'
// ACTION: Add parameter to constructor 'Foo'
// ACTION: Split property declaration
// ACTION: Create secondary constructor
// ERROR: Too many arguments for public constructor Foo(a: kotlin.Int) defined in Foo
class Foo(a: Int)