Keen Yee Liau
2c9b6c0c1f
fix(compiler-cli): create LiteralLikeNode for String and Number literal ( #27536 )
...
Typescript 3.2 introduced BigInt type, and consequently the
implementation for checkExpressionWorker() in checkers.ts is refactored.
For NumberLiteral and StringLiteral types, 'text' filed must be present
in the Node type, therefore they must be LiteralLikeNode instead of
Node.
PR Close #27536
2018-12-18 13:20:01 -08:00
George Kalpakas
787c54736c
test: run unit tests in random order ( #19904 )
...
PR Close #19904
2018-07-06 13:48:02 -07:00
Keen Yee Liau
43e1520260
fix(language-service): Clear caches when program changes ( #21337 )
...
This commit fixes a bug whereby the caches are not cleared when the
program changes. This subsequently produces the incorrect error of
'Component ... is not included in a module ...'.
PR Close #19405
PR Close #21337
2018-01-12 14:43:01 -08:00
Keen Yee Liau
3203069d6c
fix(language-service): Allow empty templates ( #20651 )
...
Fixes the bug where templates with empty strings show up as error in the editor.
PR Close #19406
PR Close #20651
2017-11-29 16:52:55 -06:00
Chuck Jazdzewski
8ecda94899
feat(compiler-cli): improve error messages produced during structural errors ( #20459 )
...
The errors produced when error were encountered while interpreting the
content of a directive was often incomprehencible. With this change
these kind of error messages should be easier to understand and diagnose.
PR Close #20459
2017-11-27 16:59:57 -06:00
Chuck Jazdzewski
c1b029a413
fix(language-service): do not report errors for `OpaqueToken` ( #19427 )
...
`OpaqueToken` was removed from angular but the language-service
should not report errors when it is used for older versions of
angular.
2017-09-28 09:30:34 -07:00
Chuck Jazdzewski
f194f18dbd
fix(language-service): infer `any` `ngForOf` of type `any`
...
Fixes : #17611
2017-06-20 12:04:51 -07:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Chuck Jazdzewski
f21ff904c2
fix(language-service): respect baseUrl compiler option
...
Fixes #15974
2017-04-17 14:36:49 -07:00
Chuck Jazdzewski
0a3a9afe58
fix(language-service): infer correct type of `?.` expressions
...
Fixes #15885
2017-04-17 09:48:52 -07:00
Miško Hevery
540581da3e
fix(language-service): Update types for TypeScript nullability support
2017-04-12 11:36:19 -07:00
Chuck Jazdzewski
bde9771991
fix(language-service): parse extended i18n forms
2017-04-04 15:34:12 -06:00
Chuck Jazdzewski
fe0d02fc47
fix(language-service): initialize static reflector correctly
...
Fixes #15768
2017-04-04 15:00:46 -06:00
Chuck Jazdzewski
7764c5c697
fix(language-service): avoid throwing exceptions when reporting metadata errors
2017-04-04 14:11:51 -06:00
Chuck Jazdzewski
a9321b1387
fix(language-service): correctly determine base members of types ( #15600 )
...
Fixes #15460
2017-03-29 16:14:37 -07:00
Chuck Jazdzewski
a5c972aa8b
fix(language-service): be resilient to invalidate ordering ( #15470 )
...
Fixes #15466
2017-03-28 09:37:24 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00