Converter:
Omit Unit return type Refactor handling of Unit type: extract separate object UnitType
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package demo
|
||||
open class Test(i : Int?) {
|
||||
open fun test() : Unit {
|
||||
open fun test() {
|
||||
var i : Int = 10
|
||||
Test(i)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user