mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-10 10:58:20 -05:00
Address PR feedback for displayBuilder
This commit is contained in:
@@ -608,7 +608,7 @@ module ts {
|
||||
// If it is an instantiated symbol, then it is a value if the symbol it is an
|
||||
// instantiation of is a value.
|
||||
if (symbol.flags & SymbolFlags.Instantiated) {
|
||||
return (getSymbolLinks(symbol).target.flags & SymbolFlags.Value) !== 0;
|
||||
return symbolIsValue(getSymbolLinks(symbol).target);
|
||||
}
|
||||
|
||||
// If the symbol has the value flag, it is trivially a value.
|
||||
|
||||
@@ -2709,10 +2709,6 @@ module ts {
|
||||
if (rootSymbolFlags & SymbolFlags.SetAccessor) return ScriptElementKind.memberVariableElement;
|
||||
Debug.assert(rootSymbolFlags & SymbolFlags.Method);
|
||||
}) || ScriptElementKind.memberFunctionElement;
|
||||
|
||||
|
||||
//?
|
||||
//: ScriptElementKind.memberFunctionElement
|
||||
}
|
||||
|
||||
return ScriptElementKind.unknown;
|
||||
|
||||
Reference in New Issue
Block a user