angular-cn/packages/language-service/test/project/app
Ayaz Hafiz 8be0972836 fix(language-service): properly evaluate types in comparable expressions (#36529)
This commit fixes how the language service evaluates the compatibility
of types to work with arbitrary union types. As a result, compatibility
checks are now more strict and can catch similarities or differences
more clearly.

```
number|string == string|null  // OK
number|string == number       // OK
number|string == null         // not comparable
number == string              // not comparable
```

Using Ivy as a backend should provide these diagnoses for free, but we
can backfill them for now.

Closes https://github.com/angular/vscode-ng-language-service/issues/723

PR Close #36529
2020-04-16 16:07:47 -04:00
..
app.component.ts fix(language-service): Turn on strict mode for test project (#32783) 2019-10-01 11:01:01 -07:00
main.ts test(language-service): Inline test cases in parsing-cases.ts (#36495) 2020-04-08 12:11:04 -07:00
parsing-cases.ts fix(language-service): properly evaluate types in comparable expressions (#36529) 2020-04-16 16:07:47 -04:00
test.css test(language-service): Create proper test project (#32653) 2019-09-18 13:07:01 -07:00
test.ng fix(language-service): Proper completions for properties and events (#34445) 2019-12-18 09:13:31 -08:00