TypeScript/tests/cases/conformance/es6/templates
Titian Cernicova-Dragomir 2484210a00
Gh 41788 incorrect output for esprivate with nested class in esnext (#42663)
* If target:esnext,then useDefineForClassFields: true will now be the default.

* Added error if a private identifier is used in a static a initializer if target:ESNext and useDefineForClassFields:false.

* Added test for new useDefineForClassFields default and error message.

* Fixed tests after changing the default of useDefineForClassFields to true for target esnext

* Fixed code review suggestions.

* Updated error message.

* Added missing static check for the containing property. Fixed other code review issues.
2021-04-07 08:23:16 -07:00
..
taggedTemplateStringsPlainCharactersThatArePartsOfEscapes01.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
taggedTemplateStringsPlainCharactersThatArePartsOfEscapes01_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
taggedTemplateStringsPlainCharactersThatArePartsOfEscapes02_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
taggedTemplateStringsTypeArgumentInference.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsTypeArgumentInferenceES6.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithIncompatibleTypedTags.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithIncompatibleTypedTagsES6.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithManyCallAndMemberExpressions.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithManyCallAndMemberExpressionsES6.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithOverloadResolution1.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithOverloadResolution1_ES6.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithOverloadResolution2.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithOverloadResolution2_ES6.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithOverloadResolution3.ts Proper type arg inference with apppropriate overload res tests. 2014-11-05 18:20:40 -08:00
taggedTemplateStringsWithOverloadResolution3_ES6.ts Proper type arg inference with apppropriate overload res tests. 2014-11-05 18:20:40 -08:00
taggedTemplateStringsWithTagNamedDeclare.ts Added tests for interfaces and tagged templates. 2015-06-04 14:20:14 -07:00
taggedTemplateStringsWithTagNamedDeclareES6.ts Added tests for interfaces and tagged templates. 2015-06-04 14:20:14 -07:00
taggedTemplateStringsWithTagsTypedAsAny.ts Added tests for tagged templates. Some should fail when we do typechecking. 2014-10-23 16:57:17 -07:00
taggedTemplateStringsWithTagsTypedAsAnyES6.ts Added tests for tagged templates. Some should fail when we do typechecking. 2014-10-23 16:57:17 -07:00
taggedTemplateStringsWithTypedTags.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithTypedTagsES6.ts Fixed up tests that used 'string[]' instead of 'TemplateStringsArray'. 2016-07-08 17:39:51 -07:00
taggedTemplateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts Added tests for erroneous function expressions in both tagged/untagged template expressions. 2014-12-15 16:39:12 -08:00
taggedTemplateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.ts Added tests for erroneous function expressions in both tagged/untagged template expressions. 2014-12-15 16:39:12 -08:00
taggedTemplatesWithTypeArguments1.ts Fixed up test. Thanks arrow functions... 2018-04-13 23:45:15 -07:00
taggedTemplatesWithTypeArguments2.ts Gh 41788 incorrect output for esprivate with nested class in esnext (#42663) 2021-04-07 08:23:16 -07:00
taggedTemplateUntypedTagCall01.ts Added test for untyped tag. 2016-08-22 23:24:13 -07:00
taggedTemplateWithConstructableTag01.ts Added tests. 2016-08-22 23:10:05 -07:00
taggedTemplateWithConstructableTag02.ts Added tests. 2016-08-22 23:10:05 -07:00
TemplateExpression1.ts Parser tests for generators and yield expressions. 2014-11-24 22:40:54 -08:00
templateStringBinaryOperations.ts Update tests and baselines. 2015-01-06 02:42:22 -08:00
templateStringBinaryOperationsES6.ts Update tests and baselines. 2015-01-06 02:42:22 -08:00
templateStringBinaryOperationsES6Invalid.ts Update tests and baselines. 2015-01-06 02:42:22 -08:00
templateStringBinaryOperationsInvalid.ts Update tests and baselines. 2015-01-06 02:42:22 -08:00
templateStringControlCharacterEscapes01.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringControlCharacterEscapes01_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringControlCharacterEscapes02.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringControlCharacterEscapes02_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringControlCharacterEscapes03.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringControlCharacterEscapes03_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringControlCharacterEscapes04.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringControlCharacterEscapes04_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringInArray.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInArrowFunction.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInArrowFunctionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInCallExpression.ts Fixed issue where template expression in call expressions would emit with unnecessary parentheses. 2014-11-19 17:04:34 -08:00
templateStringInCallExpressionES6.ts Fixed issue where template expression in call expressions would emit with unnecessary parentheses. 2014-11-19 17:04:34 -08:00
templateStringInConditional.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInConditionalES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInDeleteExpression.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInDeleteExpressionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInDivision.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInEqualityChecks.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInEqualityChecksES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInFunctionExpression.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInFunctionExpressionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInFunctionParameterType.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInFunctionParameterTypeES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInIndexExpression.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInIndexExpressionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInInOperator.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInInOperatorES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInInstanceOf.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInInstanceOfES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInModuleName.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInModuleNameES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInModulo.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInModuloES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInMultiplication.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInMultiplicationES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInNewExpression.ts Fixed issue where template expression in call expressions would emit with unnecessary parentheses. 2014-11-19 17:04:34 -08:00
templateStringInNewExpressionES6.ts Fixed issue where template expression in call expressions would emit with unnecessary parentheses. 2014-11-19 17:04:34 -08:00
templateStringInNewOperator.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInNewOperatorES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInObjectLiteral.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInObjectLiteralES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInParentheses.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInParenthesesES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInPropertyAssignment.ts Better test coverage for templates in object literals. 2014-10-23 16:55:35 -07:00
templateStringInPropertyAssignmentES6.ts Better test coverage for templates in object literals. 2014-10-23 16:55:35 -07:00
templateStringInPropertyName1.ts Better test coverage for templates in object literals. 2014-10-23 16:55:35 -07:00
templateStringInPropertyName2.ts Better test coverage for templates in object literals. 2014-10-23 16:55:35 -07:00
templateStringInPropertyNameES6_1.ts Better test coverage for templates in object literals. 2014-10-23 16:55:35 -07:00
templateStringInPropertyNameES6_2.ts Better test coverage for templates in object literals. 2014-10-23 16:55:35 -07:00
templateStringInSwitchAndCase.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInSwitchAndCaseES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInTaggedTemplate.ts Fixed issue where template expression in call expressions would emit with unnecessary parentheses. 2014-11-19 17:04:34 -08:00
templateStringInTaggedTemplateES6.ts Fixed issue where template expression in call expressions would emit with unnecessary parentheses. 2014-11-19 17:04:34 -08:00
templateStringInTypeAssertion.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInTypeAssertionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInTypeOf.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInTypeOfES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInUnaryPlus.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInUnaryPlusES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInWhile.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInWhileES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringInYieldKeyword.ts Added conformance tests for async generators 2016-11-17 23:17:42 -08:00
templateStringMultiline1.ts Added multiline tests. 2014-12-02 13:54:10 -08:00
templateStringMultiline1_ES6.ts Added multiline tests. 2014-12-02 13:54:10 -08:00
templateStringMultiline2.ts Added multiline tests. 2014-12-02 13:54:10 -08:00
templateStringMultiline2_ES6.ts Added multiline tests. 2014-12-02 13:54:10 -08:00
templateStringMultiline3.ts Added multiline tests. 2014-12-02 13:54:10 -08:00
templateStringMultiline3_ES6.ts Added multiline tests. 2014-12-02 13:54:10 -08:00
templateStringPlainCharactersThatArePartsOfEscapes01.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringPlainCharactersThatArePartsOfEscapes01_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringPlainCharactersThatArePartsOfEscapes02.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringPlainCharactersThatArePartsOfEscapes02_ES6.ts Added tests for testing escapes. 2015-02-25 17:51:42 -08:00
templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts Added tests for erroneous function expressions in both tagged/untagged template expressions. 2014-12-15 16:39:12 -08:00
templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.ts Added tests for erroneous function expressions in both tagged/untagged template expressions. 2014-12-15 16:39:12 -08:00
templateStringTermination1.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination1_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination2.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination2_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination3.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination3_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination4.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination4_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination5.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringTermination5_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated1.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated1_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated2.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated2_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated3.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated3_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated4.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated4_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated5.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringUnterminated5_ES6.ts Tests for terminated/unterminated template strings. 2014-11-26 17:14:08 -08:00
templateStringWhitespaceEscapes1.ts Augment escapeString to fix downlevel template literal emit. 2014-12-01 17:27:11 -08:00
templateStringWhitespaceEscapes1_ES6.ts Augment escapeString to fix downlevel template literal emit. 2014-12-01 17:27:11 -08:00
templateStringWhitespaceEscapes2.ts Augment escapeString to fix downlevel template literal emit. 2014-12-01 17:27:11 -08:00
templateStringWhitespaceEscapes2_ES6.ts Augment escapeString to fix downlevel template literal emit. 2014-12-01 17:27:11 -08:00
templateStringWithBackslashEscapes01.ts Added tests. 2015-04-16 15:26:59 -07:00
templateStringWithBackslashEscapes01_ES6.ts Added tests. 2015-04-16 15:26:59 -07:00
templateStringWithEmbeddedAddition.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedAdditionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedArray.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedArrayES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedArrowFunction.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedArrowFunctionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedComments.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedCommentsES6.ts Adjusts emit for templates 2016-03-30 17:39:29 -07:00
templateStringWithEmbeddedConditional.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedConditionalES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedDivision.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedDivisionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedFunctionExpression.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedFunctionExpressionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedInOperator.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedInOperatorES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedInstanceOf.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedInstanceOfES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedModulo.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedModuloES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedMultiplication.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedMultiplicationES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedNewOperator.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedNewOperatorES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedObjectLiteral.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedObjectLiteralES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedTemplateString.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedTemplateStringES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedTypeAssertionOnAddition.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedTypeAssertionOnAdditionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedTypeOfOperator.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedTypeOfOperatorES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedUnaryPlus.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedUnaryPlusES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedYieldKeyword.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmbeddedYieldKeywordES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithEmptyLiteralPortions.ts Update tests and baselines. 2015-01-06 15:28:06 -08:00
templateStringWithEmptyLiteralPortionsES6.ts Update tests and baselines. 2015-01-06 15:28:06 -08:00
templateStringWithOpenCommentInStringPortion.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithOpenCommentInStringPortionES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithPropertyAccess.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00
templateStringWithPropertyAccessES6.ts Added tests and baselines for templates. 2014-10-23 15:06:05 -07:00