forked from JavaTX/JavaCompilerCore
17 lines
253 B
Java
17 lines
253 B
Java
|
|
class Generics<B> {
|
|
Generics(B b){
|
|
}
|
|
B mt1(B b){
|
|
return mt1(b);
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
Problem:
|
|
auto test = new List<String>();
|
|
auto test2 = new List<Integer>();
|
|
... //code, welcher möglicherweise test und test2 vertauscht
|
|
test.add("hallo");
|
|
*/ |