angular-cn/packages/compiler-cli/src/ngtsc
Andrew Kushnir 2aba485118 refactor(ivy): use FatalDiagnosticError to throw more descriptive errors while extracting queries information (#31123)
Prior to this commit, the logic to extract query information from class fields used an instance of regular Error class to throw an error. As a result, some useful information (like reference to a specific field) was missing. Replacing Error class with FatalDiagnosticError one makes the error more verbose that should simplify debugging.

PR Close #31123
2019-06-25 10:23:24 -07:00
..
annotations refactor(ivy): use FatalDiagnosticError to throw more descriptive errors while extracting queries information (#31123) 2019-06-25 10:23:24 -07:00
cycles build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
diagnostics refactor(ivy): use FatalDiagnosticError to throw more descriptive errors while extracting queries information (#31123) 2019-06-25 10:23:24 -07:00
entry_point fix(ivy): ngtsc is unable to detect flat module entry-point on windows (#29453) 2019-03-27 13:46:37 -07:00
imports fix(ivy): use `ReflectionHost` in `AbsoluteModuleStrategy` (#30200) 2019-05-22 16:24:14 -07:00
incremental fix(ivy): ensure that changes to component resources trigger incremental builds (#30954) 2019-06-21 10:13:46 -07:00
indexer feat(ivy): integrate indexing pipeline with NgtscProgram (#31151) 2019-06-24 18:47:56 -07:00
metadata feat(ivy): more accurate type narrowing for `ngIf` directive (#30248) 2019-05-16 09:48:40 -07:00
partial_evaluator fix(ivy): support equality operators in static interpreter (#31145) 2019-06-24 18:47:02 -07:00
path test: fix paths tests to work cross platform (#30472) 2019-05-17 13:34:11 -07:00
perf feat(ivy): performance trace mechanism for ngtsc (#29380) 2019-04-01 15:13:55 -07:00
reflection feat(ivy): static evaluation of TypeScript's `__spread` helper (#30492) 2019-06-10 23:53:04 +00:00
routing build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
scope feat(ivy): track compilation scope dependencies for components (#30238) 2019-05-10 12:10:40 -07:00
shims fix(ivy): generate explicit type annotation for NgModuleFactory calls in ngfactories (#30708) 2019-05-30 15:09:56 -04:00
switch build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
testing test(ivy): enhance the in-memory-typescript helper (#25445) 2019-05-16 12:11:04 -07:00
transform feat(ivy): integrate indexing pipeline with NgtscProgram (#31151) 2019-06-24 18:47:56 -07:00
translator fix(ivy): ngtsc - do not wrap arguments unnecessarily (#30349) 2019-05-17 09:55:46 -07:00
typecheck fix(ivy): type checking - handle $implicit ng-template variables (#30675) 2019-06-04 12:01:18 -07:00
util fix(ivy): ensure that changes to component resources trigger incremental builds (#30954) 2019-06-21 10:13:46 -07:00
program.ts feat(ivy): integrate indexing pipeline with NgtscProgram (#31151) 2019-06-24 18:47:56 -07:00
resource_loader.ts fix(ivy): correct absolute path processing for templateUrl and styleUrls (#28789) 2019-02-21 00:13:12 -08:00
synthetic_files_compiler_host.ts feat: add support for TypeScript 3.3 (and drop older versions) (#29004) 2019-03-13 10:38:37 -07:00
tsc_plugin.ts refactor(ivy): use `ClassDeclaration` in more `ReflectionHost` methods (#29209) 2019-03-21 22:20:23 +00:00