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: Remove parameter 's'
// ACTION: Split property declaration
// ACTION: Create secondary constructor
// ERROR: No value passed for parameter s
class Foo(i: Int, s: String)