Granular test configurations

This commit is contained in:
Andrey Breslav
2012-01-27 18:33:46 +04:00
parent 0da39c8bd6
commit d74b79d9db
673 changed files with 113 additions and 4 deletions
@@ -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)
}
}