TypeScript/tests/cases/conformance/expressions
Ron Buckton fcd9334f57
Add support for Optional Chaining (#33294)
* Add support for Optional Chaining

* Add grammar error for invalid tagged template, more tests

* Prototype

* PR feedback

* Add errors for invalid assignments and a trailing '?.'

* Add additional signature help test, fix lint warnings

* Fix to insert text for completions

* Add initial control-flow analysis for optional chains

* PR Feedback and more tests

* Update to control flow

* Remove mangled smart quotes in comments

* Fix lint, PR feedback

* Updates to control flow

* Switch to FlowCondition for CFA of optional chains

* Fix ?. insertion for completions on type variables

* Accept API baseline change

* Clean up types

* improve control-flow debug output

* Revert Debug.formatControlFlowGraph helper
2019-09-30 12:33:28 -07:00
..
arrayLiterals Add tests 2019-06-17 16:18:13 -10:00
asOperator
assignmentOperator
binaryOperators Fix #29457 2019-01-17 20:03:46 +00:00
commaOperator
conditonalOperator
contextualTyping Fix incorrect noImplicitAny error on contextual union function signature 2019-06-24 17:37:14 -07:00
elementAccess
functionCalls Add failing test for function calls that have at least one non-spread argument, a spread argument, and overall potentially too few arguments 2019-04-04 11:47:25 -07:00
functions
identifiers
literals
newOperator
objectLiterals
operators
optionalChaining Add support for Optional Chaining (#33294) 2019-09-30 12:33:28 -07:00
propertyAccess Add tests 2019-06-06 13:33:36 -07:00
superCalls
superPropertyAccess
thisKeyword Add globalThis (#29332) 2019-02-27 14:14:34 -08:00
typeAssertions allow const-assertion on aliased enum symbol (#32110) 2019-06-26 14:42:06 -07:00
typeGuards Make anyArray.filter(Boolean) return any[], not unknown[] (#31515) 2019-05-22 09:45:41 -07:00
unaryOperators
valuesAndReferences