mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
TS: Print warning when bailing out of symbol type
This commit is contained in:
@@ -771,6 +771,7 @@ export class TypeTable {
|
||||
try {
|
||||
return this.typeChecker.getTypeOfSymbolAtLocation(symbol, this.arbitraryAstNode)
|
||||
} catch (e) {
|
||||
console.warn(`Could not compute type of '${this.typeChecker.symbolToString(symbol)}'`);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user