TypeScript/tests/cases/conformance/expressions
Wenlu Wang dc237b317e
Change static fields emits (#43114)
* use emit into iife

* Update emit

* Revert un-related changes

* Allow super in static context

* Allow this and super in static property declaration

* Add more tests

* Avoid errors

* Accept baseline

* Accept baseline

* Add decorated classes test

* Add errors

* Avoid this in emitter

* make lint happy

* Add class expression tests

* Add computed name test

* Avoid super if target below es6

* Adjust function boundary

* Add internal

* Fix minor CR issues

* accept baseline

* Update behavior

* Avoid spaces

* Make lint happy

* Avoid function boundary utils

* Update baseline

* Avoid errors

* Accept baseline

* Accept baseline

* Accept baseline

* Accept baseline

* Use substitutions

* Full coverage for super, this, merge static and private context

* Fix use-before-def in static fields

Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
2021-06-25 15:49:27 -07:00
..
arrayLiterals Add tests 2019-06-17 16:18:13 -10:00
asOperator Emit parens around type-asserted binary operators 2016-07-15 15:56:22 -07:00
assignmentOperator Go back to the old narrowing algorithm (pre #26143) and avoid #26130 by 2018-08-17 21:35:03 -04:00
binaryOperators fix(36055): forbid union type with invalid types in the 'in' operator (#37786) 2020-05-06 11:41:50 -07:00
commaOperator Fix typos in comments (#41307) 2020-11-30 15:02:07 -08:00
conditonalOperator
contextualTyping Fix incorrect noImplicitAny error on contextual union function signature 2019-06-24 17:37:14 -07:00
elementAccess Test:string enum in element access 2017-08-24 14:06:21 -07:00
functionCalls Simplify arity errors, rewording spread errors (#43855) 2021-04-29 14:38:50 -07:00
functions Treat trailing 'void' as optional for assignability (#40231) 2020-08-28 09:12:09 -07:00
identifiers
literals
newOperator When --noImplicitAny is enabled, don't report errors suggesting that a 'void' function can be 'new'ed (#26579) 2018-08-21 10:02:02 -07:00
nullishCoalescingOperator Fix temp variable scoping in async generators (#38121) 2020-04-24 12:10:29 -07:00
objectLiterals Add tests 2017-10-26 14:56:54 -07:00
operators Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
optionalChaining Gh 41788 incorrect output for esprivate with nested class in esnext (#42663) 2021-04-07 08:23:16 -07:00
propertyAccess Add tests 2019-06-06 13:33:36 -07:00
superCalls
superPropertyAccess Instantiate this-type in super property access 2016-05-24 13:07:34 -07:00
thisKeyword Change static fields emits (#43114) 2021-06-25 15:49:27 -07:00
typeAssertions Const contexts for template literals (#40707) 2020-09-22 13:11:17 -10:00
typeGuards Revert assignability cases in getNarrowedType (#42231) 2021-02-09 15:03:11 -08:00
unaryOperators Indexed-assignment readonly err is not unknownType 2017-08-16 10:06:01 -07:00
valuesAndReferences