mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Address PR feedback for displayBuilder
This commit is contained in:
parent
672d8e576f
commit
e0e9fe83d2
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user