Converter:
Omit Unit return type Refactor handling of Unit type: extract separate object UnitType
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package demo
|
||||
open class Map() {
|
||||
open fun put<K, V>(k : K?, v : V?) : Unit {
|
||||
open fun put<K, V>(k : K?, v : V?) {
|
||||
}
|
||||
}
|
||||
open class U() {
|
||||
open fun test() : Unit {
|
||||
open fun test() {
|
||||
var m : Map? = Map()
|
||||
m?.put<String?, Int>("10", 10)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user