angular-docs-cn/packages/compiler-cli/src
Keen Yee Liau a33162bb66 fix(compiler-cli): Pass SourceFile to getFullText() (#33660)
Similar to https://github.com/angular/angular/pull/33633, this commit is
needed to fix an outage with the Angular Kythe indexer.

Crash logs:

```
TypeError: Cannot read property 'text' of undefined
    at NodeObject.getFullText (typescript/stable/lib/typescript.js:121443:57)
    at FactoryGenerator.generate (angular2/rc/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.ts:67:34)
    at GeneratedShimsHostWrapper.getSourceFile (angular2/rc/packages/compiler-cli/src/ngtsc/shims/src/host.ts:88:26)
    at findSourceFile (typescript/stable/lib/typescript.js:90654:29)
    at typescript/stable/lib/typescript.js:90553:85
    at getSourceFileFromReferenceWorker (typescript/stable/lib/typescript.js:90520:34)
    at processSourceFile (typescript/stable/lib/typescript.js:90553:13)
    at processRootFile (typescript/stable/lib/typescript.js:90383:13)
    at typescript/stable/lib/typescript.js:89399:60
    at Object.forEach (typescript/stable/lib/typescript.js:280:30)

```

PR Close #33660
2019-11-07 16:47:07 -08:00
..
diagnostics fix(compiler-cli): Fix typo $implict (#33633) 2019-11-07 01:54:17 +00:00
metadata refactor(core): rename ngInjectableDef to ɵprov (#33151) 2019-10-16 16:36:19 -04:00
ngtsc fix(compiler-cli): Pass SourceFile to getFullText() (#33660) 2019-11-07 16:47:07 -08:00
transformers refactor(ivy): remove ngBaseDef (#33264) 2019-10-25 13:11:34 -07:00
extract_i18n.ts refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
language_services.ts refactor(compiler): remove old ngtools api and add listLazyRoutes to new api (#19836) 2017-10-23 18:46:04 -04:00
main.ts fix(ivy): i18n - turn on legacy message-id support by default (#33053) 2019-10-10 13:58:30 -07:00
perform_compile.ts feat: typescript 3.6 support (#32946) 2019-10-18 13:15:16 -04:00
perform_watch.ts revert: "fix(ivy): recompile component when template changes in ngc watch mode (#33551)" (#33661) 2019-11-07 19:57:56 +00:00
tooling.ts feat(compiler-cli): export tooling definitions (#29929) 2019-04-17 17:23:01 -07:00
typescript_support.ts feat(ivy): verify whether TypeScript version is supported (#33377) 2019-10-24 15:46:23 -07:00
version.ts style: remove empty comments (#23404) 2018-05-10 15:48:13 -07:00