angular-cn/packages/compiler-cli/ngcc/src/analysis
JoostK f7471eea3c fix(ngcc): handle compilation diagnostics (#31996)
Previously, any diagnostics reported during the compilation of an
entry-point would not be shown to the user, but either be ignored or
cause a hard crash in case of a `FatalDiagnosticError`. This is
unfortunate, as such error instances contain information on which code
was responsible for producing the error, whereas only its error message
would not. Therefore, it was quite hard to determine where the error
originates from.

This commit introduces behavior to deal with error diagnostics in a more
graceful way. Such diagnostics will still cause the compilation to fail,
however the error message now contains formatted diagnostics.

Closes #31977
Resolves FW-1374

PR Close #31996
2019-08-29 12:38:02 -07:00
..
decoration_analyzer.ts fix(ngcc): handle compilation diagnostics (#31996) 2019-08-29 12:38:02 -07:00
migration_host.ts feat(ivy): ngcc - support ngcc "migrations" (#31544) 2019-07-23 21:11:40 -07:00
module_with_providers_analyzer.ts fix(ivy): in ngcc, handle inline exports in commonjs code (#32129) 2019-08-15 14:45:59 -07:00
ngcc_references_registry.ts fix(ivy): in ngcc, handle inline exports in commonjs code (#32129) 2019-08-15 14:45:59 -07:00
private_declarations_analyzer.ts fix(ivy): in ngcc, handle inline exports in commonjs code (#32129) 2019-08-15 14:45:59 -07:00
switch_marker_analyzer.ts fix(ivy): ngcc - do not analyze files outside the current package (#30591) 2019-06-26 08:00:03 -07:00
types.ts refactor(ivy): ngcc - move decorator analysis types into their own file (#31544) 2019-07-23 21:11:39 -07:00
util.ts fix(ngcc): handle compilation diagnostics (#31996) 2019-08-29 12:38:02 -07:00