Java to Kotlin converter: no more 2 conversion modes for each test, just a few tests to test non-standard settings
This commit is contained in:
@@ -1 +0,0 @@
|
||||
`when`(open, `trait`)
|
||||
@@ -1 +0,0 @@
|
||||
methodCall()
|
||||
@@ -1,13 +0,0 @@
|
||||
package demo
|
||||
|
||||
class Map() {
|
||||
fun <K, V> put(k: K, v: V) {
|
||||
}
|
||||
}
|
||||
|
||||
class U() {
|
||||
fun test() {
|
||||
val m = Map()
|
||||
m.put<String, Int>("10", 10)
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,13 @@
|
||||
package demo
|
||||
|
||||
open class Map() {
|
||||
open fun <K, V> put(k: K?, v: V?) {
|
||||
class Map() {
|
||||
fun <K, V> put(k: K, v: V) {
|
||||
}
|
||||
}
|
||||
|
||||
open class U() {
|
||||
open fun test() {
|
||||
var m: Map? = Map()
|
||||
m?.put<String?, Int>("10", 10)
|
||||
class U() {
|
||||
fun test() {
|
||||
val m = Map()
|
||||
m.put<String, Int>("10", 10)
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
method(param1, param2)
|
||||
Reference in New Issue
Block a user