mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
12 lines
328 B
Java
12 lines
328 B
Java
class R<T> {
|
|
static class O {
|
|
public O(<error descr="'R.this' cannot be referenced from a static context">T</error> t) {
|
|
}
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
test(new R<>.O<error descr="'O(java.lang.Object)' in 'R.O' cannot be applied to '()'">()</error>);
|
|
}
|
|
|
|
private static void test(R.O o) { }
|
|
} |