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
@@ -1,10 +1,10 @@
open class Base() {
open fun foo() : Unit {
open fun foo() {
}
}
open class A() : Base() {
open class C() {
open fun test() : Unit {
open fun test() {
this@A.foo()
}
}
@@ -1,10 +1,10 @@
open class Base() {
open fun foo() : Unit {
open fun foo() {
}
}
open class A() : Base() {
open class C() {
open fun test() : Unit {
open fun test() {
this@A.foo()
}
}