Converter:

Omit Unit return type
Refactor handling of Unit type: extract separate object UnitType
This commit is contained in:
Pavel V. Talanov
2013-11-19 13:50:03 +04:00
parent 82b19499e3
commit 21bc2887d2
186 changed files with 253 additions and 245 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ var myContainer : Container = Container()
open class IntContainer(i : Int) {
}
open class Test() {
open fun putInt(i : Int) : Unit {
open fun putInt(i : Int) {
}
open fun test() : Unit {
open fun test() {
putInt(One.myContainer.myInt)
IntContainer(One.myContainer.myInt)
}