mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
testdata for IDEA-149224
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import java.util.concurrent.Callable;
|
||||
class Test {
|
||||
|
||||
public void test() {
|
||||
Foo<String> f = new Foo<>(() -> "this doesn't compile");
|
||||
}
|
||||
|
||||
public class Foo<T> {
|
||||
public Foo(Callable<T> supplier) {
|
||||
}
|
||||
|
||||
public Foo(T value) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user