We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b53cf6 commit 7441d11Copy full SHA for 7441d11
src/types/checker/__tests__/classes.test.ts
@@ -96,6 +96,29 @@ const testcases: {
96
}
97
`,
98
result: { type: null, errors: [new CyclicInheritanceError()] }
99
+ },
100
+ {
101
+ input: `
102
+ class A extends B {}
103
+ class B {}
104
+
105
+ public class Main {
106
+ public static void main(String[] args) {}
107
+ }
108
+ `,
109
+ result: { type: null, errors: [] }
110
111
112
113
+ class A {
114
+ public void hello(B b) {}
115
116
117
118
119
120
121
122
123
]
124
0 commit comments