Granular test configurations
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package demo;
|
||||
|
||||
class Map {
|
||||
<K, V> void put(K k, V v) {}
|
||||
}
|
||||
|
||||
class U {
|
||||
void test() {
|
||||
Map m = new Map();
|
||||
m.<String, int>put("10", 10);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package demo
|
||||
open class Map() {
|
||||
open fun put<K, V>(k : K?, v : V?) : Unit {
|
||||
}
|
||||
}
|
||||
open class U() {
|
||||
open fun test() : Unit {
|
||||
var m : Map? = Map()
|
||||
m?.put<String?, Int>("10", 10)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
when(open, trait);
|
||||
@@ -0,0 +1 @@
|
||||
`when`(open, `trait`)
|
||||
@@ -0,0 +1 @@
|
||||
methodCall();
|
||||
@@ -0,0 +1 @@
|
||||
methodCall()
|
||||
@@ -0,0 +1 @@
|
||||
method(param1, param2);
|
||||
@@ -0,0 +1 @@
|
||||
method(param1, param2)
|
||||
Reference in New Issue
Block a user