Add todo comment to use getDeclaredName

This commit is contained in:
Yui T 2015-06-26 10:36:39 -07:00
parent 5467e1dfbd
commit 45182b88b0

View File

@ -2817,6 +2817,7 @@ namespace ts {
// fo$ <- completion list should contain local name "foo"
// }
// foo$ <- completion list should not contain "foo"
// TODO (yuisu): Use getDeclaredName instead once the functions is rewritten
if (displayName === "__function" || displayName === "__class") {
displayName = symbol.declarations[0].name.getText();