Skip to content

Commit e8f5e08

Browse files
author
Matthias Güdemann
committed
Add regression tests for generic type arg dependencies
1 parent fae14fc commit e8f5e08

File tree

7 files changed

+33
-0
lines changed

7 files changed

+33
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
class IWrapper {
2+
public int i;
3+
}
4+
5+
class FWrapper {
6+
}
7+
8+
class AWrapper {
9+
}
10+
11+
class SimpleWrapper<T> {
12+
}
13+
14+
public class GenericFields
15+
{
16+
class SimpleGenericField {
17+
// IWrapper field; // for this to work, uncomment this line
18+
SimpleWrapper<IWrapper> field_input;
19+
public void foo() {
20+
}
21+
SimpleWrapper<IWrapper> f(SimpleWrapper<FWrapper> s, SimpleWrapper<AWrapper []> a) {
22+
return new SimpleWrapper<>();
23+
}
24+
}
25+
}
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CORE
2+
GenericFields$SimpleGenericField.class
3+
--cover location --function GenericFields\$SimpleGenericField.foo --verbosity 10
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
Reading class AWrapper
7+
Reading class FWrapper
8+
Reading class IWrapper

0 commit comments

Comments
 (0)