Microsoft/TypeScript — pull request #1325 by vladima (2014-12-02 01:50:10+00:00)
Title: fix crash in getCompletionEntryDetails

`getNarrowedTypeOfSymbol` assumes that `node` should always have a parent. However often in semi-completed code `node` is SourceFile for which `parent` is `undefined`.
Original crash happens is a result of interaction between calls to `getCompletionEntry` and `getCompletionEntryDetails` and I'm not sure that it can be reproduced in fourslash.