JavaCompilerCore/app/resources/bytecode/javFiles/Generics.jav
2023-01-10 14:22:05 +01:00

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");
*/