angular-cn/packages/language-service/ivy/test
Zach Arend db97453ca0 refactor(compiler-cli): move template parse errors to TemplateData (#40026)
Durring analysis we find template parse errors. This commit changes
where the type checking context stores the parse errors. Previously, we
stored them on the AnalysisOutput this commit changes the errors to be
stored on the TemplateData (which is a property on the shim). That way,
the template parse errors can be grouped by template.

Previously, if a template had a parse error, we poisoned the module and
would not procede to find typecheck errors. This change does not poison
modules whose template have typecheck errors, so that ngtsc can emit
typecheck errors for templates with parse errors.

Additionally, all template diagnostics are produced in the same place.
This allows requesting just the template template diagnostics or just
other types of errors.

PR Close #40026
2020-12-15 13:30:52 -08:00
..
legacy refactor(language-service): add context to template target system (#40032) 2020-12-14 12:08:40 -08:00
BUILD.bazel test(language-service): introduce new virtual testing environment (#39594) 2020-11-17 11:59:56 -08:00
compiler_spec.ts fix(language-service): force compileNonExportedClasses: false in LS (#40092) 2020-12-14 10:09:21 -08:00
completions_spec.ts feat(language-service): completions for structural directives (#40032) 2020-12-14 12:08:41 -08:00
definitions_spec.ts refactor(compiler-cli): Enable pipe information when checkTypeOfPipes=false (#39555) 2020-12-11 16:19:15 -08:00
diagnostic_spec.ts refactor(compiler-cli): move template parse errors to TemplateData (#40026) 2020-12-15 13:30:52 -08:00
env.ts fix(compiler-cli): correct incremental behavior even with broken imports (#39923) 2020-12-03 13:42:13 -08:00
mock_host.ts test(language-service): introduce new virtual testing environment (#39594) 2020-11-17 11:59:56 -08:00
quick_info_spec.ts refactor(compiler-cli): Enable pipe information when checkTypeOfPipes=false (#39555) 2020-12-11 16:19:15 -08:00
references_spec.ts refactor(compiler-cli): Add flag to TCB for non-diagnostic requests (#40071) 2020-12-11 13:56:35 -08:00
test_utils.ts refactor(compiler-cli): Enable pipe information when checkTypeOfPipes=false (#39555) 2020-12-11 16:19:15 -08:00
type_definitions_spec.ts refactor(compiler-cli): Enable pipe information when checkTypeOfPipes=false (#39555) 2020-12-11 16:19:15 -08:00