angular-docs-cn/packages/language-service/src
Keen Yee Liau 9ebac71521 fix(language-service): Should not crash if expr ends unexpectedly (#33524)
If there is any parser errors when parsing template, we should stop
immediately and not proceed with template expression diagnostics.

This regression is caused by 6d11154652
and affected v9.0.0-next.4 onwards.

PR closes https://github.com/angular/vscode-ng-language-service/issues/436

PR Close #33524
2019-11-01 17:37:48 +00:00
..
common.ts refactor(language-service): Remove AttrInfo interface (#33380) 2019-10-24 14:10:14 -07:00
completions.ts feat(language-service): add support for text replacement (#33091) 2019-10-29 11:47:01 -07:00
definitions.ts feat(language-service): add definitions for styleUrls (#32464) 2019-09-09 16:04:14 -04:00
diagnostics.ts fix(language-service): Should not crash if expr ends unexpectedly (#33524) 2019-11-01 17:37:48 +00:00
expressions.ts refactor(language-service): find expression ASTs using absolute spans (#33387) 2019-10-24 17:08:23 -07:00
global_symbols.ts fix(language-service): Add global symbol for $any() (#33245) 2019-10-23 10:02:50 -07:00
hover.ts feat(language-service): hover information for component NgModules (#33118) 2019-10-14 20:28:06 +00:00
html_info.ts refactor(language-service): use strict comparisons (#33114) 2019-10-17 21:19:02 -04:00
language_service.ts refactor(language-service): Create ng.CompletionEntry to replace ts.CompletionEntry (#33379) 2019-10-24 14:09:33 -07:00
locate_symbol.ts refactor(language-service): find expression ASTs using absolute spans (#33387) 2019-10-24 17:08:23 -07:00
reflector_host.ts fix(language-service): Use tsLSHost.fileExists() to resolve modules (#32642) 2019-09-12 17:18:06 -07:00
template.ts fix(language-service): Add global symbol for $any() (#33245) 2019-10-23 10:02:50 -07:00
ts_plugin.ts fix(language-service): Return empty external files during project initialization (#32519) 2019-09-09 12:22:19 -04:00
types.ts fix(language-service): Do not show HTML elements and attrs for ext template (#33388) 2019-10-25 09:18:16 -07:00
typescript_host.ts fix(language-service): Preserve CRLF in templates for language-service (#33241) 2019-10-22 13:29:23 -04:00
utils.ts fix(language-service): Add directive selectors & banana-in-a-box to completions (#33311) 2019-10-23 09:10:39 -07:00
version.ts style: remove empty comments (#23404) 2018-05-10 15:48:13 -07:00