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 f13f18a commit a49fa3aCopy full SHA for a49fa3a
1 file changed
packages/cli/src/languagePlugins/c/includeResolver/index.ts
@@ -30,6 +30,11 @@ export class CIncludeResolver {
30
if (corresponding2) {
31
return this.symbolRegistry.get(corresponding2);
32
}
33
+ // 3. Check wherever
34
+ const corresponding3 = filepaths.find((f) => f.endsWith(filepath));
35
+ if (corresponding3) {
36
+ return this.symbolRegistry.get(corresponding3);
37
+ }
38
return undefined;
39
40
0 commit comments