mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
18908 lines
811 KiB
Text
18908 lines
811 KiB
Text
TypeScript Summary:
|
||
AST Parsed : 5043/5047 (99.92%)
|
||
Positive Passed: 5036/5047 (99.78%)
|
||
Negative Passed: 990/4741 (20.88%)
|
||
Expect Syntax Error: "compiler/ClassDeclaration10.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration11.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration13.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration14.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration15.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration21.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration22.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration24.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration25.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration8.ts"
|
||
Expect Syntax Error: "compiler/ClassDeclaration9.ts"
|
||
Expect Syntax Error: "compiler/DateTimeFormatAndNumberFormatES2021.ts"
|
||
Expect Syntax Error: "compiler/ExportAssignment7.ts"
|
||
Expect Syntax Error: "compiler/ExportAssignment8.ts"
|
||
Expect Syntax Error: "compiler/FunctionDeclaration3.ts"
|
||
Expect Syntax Error: "compiler/FunctionDeclaration4.ts"
|
||
Expect Syntax Error: "compiler/FunctionDeclaration6.ts"
|
||
Expect Syntax Error: "compiler/FunctionDeclaration7.ts"
|
||
Expect Syntax Error: "compiler/InterfaceDeclaration8.ts"
|
||
Expect Syntax Error: "compiler/MemberAccessorDeclaration15.ts"
|
||
Expect Syntax Error: "compiler/ParameterList13.ts"
|
||
Expect Syntax Error: "compiler/ParameterList4.ts"
|
||
Expect Syntax Error: "compiler/ParameterList7.ts"
|
||
Expect Syntax Error: "compiler/ParameterList8.ts"
|
||
Expect Syntax Error: "compiler/abstractClassInLocalScopeIsAbstract.ts"
|
||
Expect Syntax Error: "compiler/abstractClassUnionInstantiation.ts"
|
||
Expect Syntax Error: "compiler/abstractPropertyInConstructor.ts"
|
||
Expect Syntax Error: "compiler/abstractPropertyNegative.ts"
|
||
Expect Syntax Error: "compiler/accessInstanceMemberFromStaticMethod01.ts"
|
||
Expect Syntax Error: "compiler/accessStaticMemberFromInstanceMethod01.ts"
|
||
Expect Syntax Error: "compiler/accessorAccidentalCallDiagnostic.ts"
|
||
Expect Syntax Error: "compiler/accessorDeclarationEmitVisibilityErrors.ts"
|
||
Expect Syntax Error: "compiler/accessorParameterAccessibilityModifier.ts"
|
||
Expect Syntax Error: "compiler/accessorWithInitializer.ts"
|
||
Expect Syntax Error: "compiler/accessorWithoutBody1.ts"
|
||
Expect Syntax Error: "compiler/accessorWithoutBody2.ts"
|
||
Expect Syntax Error: "compiler/accessorsInAmbientContext.ts"
|
||
Expect Syntax Error: "compiler/accessorsNotAllowedInES3.ts"
|
||
Expect Syntax Error: "compiler/accessors_spec_section-4.5_error-cases.ts"
|
||
Expect Syntax Error: "compiler/addMoreOverloadsToBaseSignature.ts"
|
||
Expect Syntax Error: "compiler/aliasBug.ts"
|
||
Expect Syntax Error: "compiler/aliasesInSystemModule1.ts"
|
||
Expect Syntax Error: "compiler/aliasesInSystemModule2.ts"
|
||
Expect Syntax Error: "compiler/alwaysStrict.ts"
|
||
Expect Syntax Error: "compiler/alwaysStrictES6.ts"
|
||
Expect Syntax Error: "compiler/alwaysStrictModule.ts"
|
||
Expect Syntax Error: "compiler/alwaysStrictNoImplicitUseStrict.ts"
|
||
Expect Syntax Error: "compiler/ambientEnum1.ts"
|
||
Expect Syntax Error: "compiler/ambientErrors1.ts"
|
||
Expect Syntax Error: "compiler/ambientExternalModuleInAnotherExternalModule.ts"
|
||
Expect Syntax Error: "compiler/ambientExternalModuleWithRelativeExternalImportDeclaration.ts"
|
||
Expect Syntax Error: "compiler/ambientExternalModuleWithRelativeModuleName.ts"
|
||
Expect Syntax Error: "compiler/ambientGetters.ts"
|
||
Expect Syntax Error: "compiler/ambientPropertyDeclarationInJs.ts"
|
||
Expect Syntax Error: "compiler/ambientStatement1.ts"
|
||
Expect Syntax Error: "compiler/ambiguousGenericAssertion1.ts"
|
||
Expect Syntax Error: "compiler/ambiguousOverload.ts"
|
||
Expect Syntax Error: "compiler/amdDependencyComment1.ts"
|
||
Expect Syntax Error: "compiler/amdDependencyComment2.ts"
|
||
Expect Syntax Error: "compiler/amdDependencyCommentName1.ts"
|
||
Expect Syntax Error: "compiler/amdDependencyCommentName2.ts"
|
||
Expect Syntax Error: "compiler/amdDependencyCommentName3.ts"
|
||
Expect Syntax Error: "compiler/amdDependencyCommentName4.ts"
|
||
Expect Syntax Error: "compiler/amdModuleName2.ts"
|
||
Expect Syntax Error: "compiler/anonymousClassExpression2.ts"
|
||
Expect Syntax Error: "compiler/anyDeclare.ts"
|
||
Expect Syntax Error: "compiler/anyIdenticalToItself.ts"
|
||
Expect Syntax Error: "compiler/anyIndexedAccessArrayNoException.ts"
|
||
Expect Syntax Error: "compiler/arguments.ts"
|
||
Expect Syntax Error: "compiler/argumentsBindsToFunctionScopeArgumentList.ts"
|
||
Expect Syntax Error: "compiler/argumentsObjectIterator01_ES5.ts"
|
||
Expect Syntax Error: "compiler/argumentsObjectIterator02_ES5.ts"
|
||
Expect Syntax Error: "compiler/argumentsObjectIterator03_ES5.ts"
|
||
Expect Syntax Error: "compiler/argumentsPropertyNameInJsMode1.ts"
|
||
Expect Syntax Error: "compiler/argumentsReferenceInConstructor4_Js.ts"
|
||
Expect Syntax Error: "compiler/argumentsReferenceInMethod4_Js.ts"
|
||
Expect Syntax Error: "compiler/argumentsReferenceInObjectLiteral_Js.ts"
|
||
Expect Syntax Error: "compiler/arithAssignTyping.ts"
|
||
Expect Syntax Error: "compiler/arithmeticOnInvalidTypes.ts"
|
||
Expect Syntax Error: "compiler/arithmeticOnInvalidTypes2.ts"
|
||
Expect Syntax Error: "compiler/arityErrorRelatedSpanBindingPattern.ts"
|
||
Expect Syntax Error: "compiler/arrayAssignmentTest1.ts"
|
||
Expect Syntax Error: "compiler/arrayAssignmentTest2.ts"
|
||
Expect Syntax Error: "compiler/arrayAssignmentTest3.ts"
|
||
Expect Syntax Error: "compiler/arrayAssignmentTest4.ts"
|
||
Expect Syntax Error: "compiler/arrayAssignmentTest5.ts"
|
||
Expect Syntax Error: "compiler/arrayCast.ts"
|
||
Expect Syntax Error: "compiler/arrayDestructuringInSwitch2.ts"
|
||
Expect Syntax Error: "compiler/arrayFakeFlatNoCrashInferenceDeclarations.ts"
|
||
Expect Syntax Error: "compiler/arrayFrom.ts"
|
||
Expect Syntax Error: "compiler/arrayIndexWithArrayFails.ts"
|
||
Expect Syntax Error: "compiler/arrayLiteralAndArrayConstructorEquivalence1.ts"
|
||
Expect Syntax Error: "compiler/arrayLiteralTypeInference.ts"
|
||
Expect Syntax Error: "compiler/arrayOfSubtypeIsAssignableToReadonlyArray.ts"
|
||
Expect Syntax Error: "compiler/arrayReferenceWithoutTypeArgs.ts"
|
||
Expect Syntax Error: "compiler/arrowFunctionInConstructorArgument1.ts"
|
||
Expect Syntax Error: "compiler/asiAbstract.ts"
|
||
Expect Syntax Error: "compiler/asiPublicPrivateProtected.ts"
|
||
Expect Syntax Error: "compiler/assignLambdaToNominalSubtypeOfFunction.ts"
|
||
Expect Syntax Error: "compiler/assignToEnum.ts"
|
||
Expect Syntax Error: "compiler/assignToExistingClass.ts"
|
||
Expect Syntax Error: "compiler/assignToFn.ts"
|
||
Expect Syntax Error: "compiler/assignToModule.ts"
|
||
Expect Syntax Error: "compiler/assigningFromObjectToAnythingElse.ts"
|
||
Expect Syntax Error: "compiler/assigningFunctionToTupleIssuesError.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompat1.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatBug2.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatBug5.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatFunctionsWithOptionalArgs.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatInterfaceWithStringIndexSignature.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatWithOverloads.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability11.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability12.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability13.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability14.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability15.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability16.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability17.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability18.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability19.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability20.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability21.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability22.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability23.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability24.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability25.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability26.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability27.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability28.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability29.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability30.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability31.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability32.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability33.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability34.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability35.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability37.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability38.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability39.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability40.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability41.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability42.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability43.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability44.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability45.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability46.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability_checking-apply-member-off-of-function-interface.ts"
|
||
Expect Syntax Error: "compiler/assignmentCompatability_checking-call-member-off-of-function-interface.ts"
|
||
Expect Syntax Error: "compiler/assignmentIndexedToPrimitives.ts"
|
||
Expect Syntax Error: "compiler/assignmentRestElementWithErrorSourceType.ts"
|
||
Expect Syntax Error: "compiler/assignmentStricterConstraints.ts"
|
||
Expect Syntax Error: "compiler/assignmentToFunction.ts"
|
||
Expect Syntax Error: "compiler/assignmentToObject.ts"
|
||
Expect Syntax Error: "compiler/assignmentToObjectAndFunction.ts"
|
||
Expect Syntax Error: "compiler/assignmentToReferenceTypes.ts"
|
||
Expect Syntax Error: "compiler/asyncFunctionNoReturnType.ts"
|
||
Expect Syntax Error: "compiler/asyncFunctionReturnExpressionErrorSpans.ts"
|
||
Expect Syntax Error: "compiler/augmentedClassWithPrototypePropertyOnModule.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesClass2.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesEnum.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesEnum2.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesEnum3.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesInterface.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesModules.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesModules2.ts"
|
||
Expect Syntax Error: "compiler/augmentedTypesModules3.ts"
|
||
Expect Syntax Error: "compiler/autolift3.ts"
|
||
Expect Syntax Error: "compiler/autolift4.ts"
|
||
Expect Syntax Error: "compiler/avoidListingPropertiesForTypesWithOnlyCallOrConstructSignatures.ts"
|
||
Expect Syntax Error: "compiler/awaitCallExpressionInSyncFunction.ts"
|
||
Expect Syntax Error: "compiler/awaitInClassInAsyncFunction.ts"
|
||
Expect Syntax Error: "compiler/awaitedType.ts"
|
||
Expect Syntax Error: "compiler/awaitedTypeStrictNull.ts"
|
||
Expect Syntax Error: "compiler/badExternalModuleReference.ts"
|
||
Expect Syntax Error: "compiler/baseCheck.ts"
|
||
Expect Syntax Error: "compiler/baseClassImprovedMismatchErrors.ts"
|
||
Expect Syntax Error: "compiler/baseConstraintOfDecorator.ts"
|
||
Expect Syntax Error: "compiler/baseExpressionTypeParameters.ts"
|
||
Expect Syntax Error: "compiler/baseTypePrivateMemberClash.ts"
|
||
Expect Syntax Error: "compiler/betterErrorForAccidentalCall.ts"
|
||
Expect Syntax Error: "compiler/betterErrorForUnionCall.ts"
|
||
Expect Syntax Error: "compiler/bigIntWithTargetES3.ts"
|
||
Expect Syntax Error: "compiler/bigIntWithTargetLessThanES2016.ts"
|
||
Expect Syntax Error: "compiler/bigintWithLib.ts"
|
||
Expect Syntax Error: "compiler/bigintWithoutLib.ts"
|
||
Expect Syntax Error: "compiler/binaryArithmatic1.ts"
|
||
Expect Syntax Error: "compiler/binaryArithmatic2.ts"
|
||
Expect Syntax Error: "compiler/binaryArithmatic3.ts"
|
||
Expect Syntax Error: "compiler/binaryArithmatic4.ts"
|
||
Expect Syntax Error: "compiler/bind1.ts"
|
||
Expect Syntax Error: "compiler/bindingPatternCannotBeOnlyInferenceSource.ts"
|
||
Expect Syntax Error: "compiler/bitwiseCompoundAssignmentOperators.ts"
|
||
Expect Syntax Error: "compiler/blockScopedBindingUsedBeforeDef.ts"
|
||
Expect Syntax Error: "compiler/blockScopedEnumVariablesUseBeforeDef.ts"
|
||
Expect Syntax Error: "compiler/blockScopedEnumVariablesUseBeforeDef_preserve.ts"
|
||
Expect Syntax Error: "compiler/blockScopedFunctionDeclarationInStrictClass.ts"
|
||
Expect Syntax Error: "compiler/blockScopedFunctionDeclarationInStrictModule.ts"
|
||
Expect Syntax Error: "compiler/blockScopedFunctionDeclarationStrictES5.ts"
|
||
Expect Syntax Error: "compiler/blockScopedFunctionDeclarationStrictES6.ts"
|
||
Expect Syntax Error: "compiler/blockScopedSameNameFunctionDeclarationES5.ts"
|
||
Expect Syntax Error: "compiler/blockScopedSameNameFunctionDeclarationES6.ts"
|
||
Expect Syntax Error: "compiler/blockScopedSameNameFunctionDeclarationStrictES5.ts"
|
||
Expect Syntax Error: "compiler/blockScopedSameNameFunctionDeclarationStrictES6.ts"
|
||
Expect Syntax Error: "compiler/blockScopedVariablesUseBeforeDef.ts"
|
||
Expect Syntax Error: "compiler/bluebirdStaticThis.ts"
|
||
Expect Syntax Error: "compiler/booleanAssignment.ts"
|
||
Expect Syntax Error: "compiler/booleanLiteralsContextuallyTypedFromUnion.tsx"
|
||
Expect Syntax Error: "compiler/breakInIterationOrSwitchStatement4.ts"
|
||
Expect Syntax Error: "compiler/callConstructAssignment.ts"
|
||
Expect Syntax Error: "compiler/callOnClass.ts"
|
||
Expect Syntax Error: "compiler/callOnInstance.ts"
|
||
Expect Syntax Error: "compiler/callOverloadViaElementAccessExpression.ts"
|
||
Expect Syntax Error: "compiler/callOverloads1.ts"
|
||
Expect Syntax Error: "compiler/callOverloads2.ts"
|
||
Expect Syntax Error: "compiler/callOverloads3.ts"
|
||
Expect Syntax Error: "compiler/callOverloads4.ts"
|
||
Expect Syntax Error: "compiler/callOverloads5.ts"
|
||
Expect Syntax Error: "compiler/callSignaturesShouldBeResolvedBeforeSpecialization.ts"
|
||
Expect Syntax Error: "compiler/callWithWrongNumberOfTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/callbackArgsDifferByOptionality.ts"
|
||
Expect Syntax Error: "compiler/cannotInvokeNewOnIndexExpression.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop5.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop5_ES6.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop6.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop6_ES6.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop7.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop7_ES6.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop8.ts"
|
||
Expect Syntax Error: "compiler/capturedLetConstInLoop8_ES6.ts"
|
||
Expect Syntax Error: "compiler/capturedParametersInInitializers1.ts"
|
||
Expect Syntax Error: "compiler/capturedParametersInInitializers2.ts"
|
||
Expect Syntax Error: "compiler/cf.ts"
|
||
Expect Syntax Error: "compiler/chainedAssignment1.ts"
|
||
Expect Syntax Error: "compiler/chainedAssignment3.ts"
|
||
Expect Syntax Error: "compiler/chainedAssignmentChecking.ts"
|
||
Expect Syntax Error: "compiler/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.ts"
|
||
Expect Syntax Error: "compiler/checkDestructuringShorthandAssigment.ts"
|
||
Expect Syntax Error: "compiler/checkDestructuringShorthandAssigment2.ts"
|
||
Expect Syntax Error: "compiler/checkForObjectTooStrict.ts"
|
||
Expect Syntax Error: "compiler/checkIndexConstraintOfJavascriptClassExpression.ts"
|
||
Expect Syntax Error: "compiler/checkJsFiles.ts"
|
||
Expect Syntax Error: "compiler/checkJsFiles2.ts"
|
||
Expect Syntax Error: "compiler/checkJsFiles3.ts"
|
||
Expect Syntax Error: "compiler/checkJsFiles4.ts"
|
||
Expect Syntax Error: "compiler/checkJsFiles6.ts"
|
||
Expect Syntax Error: "compiler/checkJsFiles_skipDiagnostics.ts"
|
||
Expect Syntax Error: "compiler/checkJsObjectLiteralHasCheckedKeyof.ts"
|
||
Expect Syntax Error: "compiler/checkSuperCallBeforeThisAccess.ts"
|
||
Expect Syntax Error: "compiler/checkSuperCallBeforeThisAccessing2.ts"
|
||
Expect Syntax Error: "compiler/checkSuperCallBeforeThisAccessing5.ts"
|
||
Expect Syntax Error: "compiler/checkSuperCallBeforeThisAccessing8.ts"
|
||
Expect Syntax Error: "compiler/checkTypePredicateForRedundantProperties.ts"
|
||
Expect Syntax Error: "compiler/circularAccessorAnnotations.ts"
|
||
Expect Syntax Error: "compiler/circularBaseTypes.ts"
|
||
Expect Syntax Error: "compiler/circularConstraintYieldsAppropriateError.ts"
|
||
Expect Syntax Error: "compiler/circularModuleImports.ts"
|
||
Expect Syntax Error: "compiler/circularOptionalityRemoval.ts"
|
||
Expect Syntax Error: "compiler/circularResolvedSignature.ts"
|
||
Expect Syntax Error: "compiler/circularlyConstrainedMappedTypeContainingConditionalNoInfiniteInstantiationDepth.ts"
|
||
Expect Syntax Error: "compiler/circularlyReferentialInterfaceAccessNoCrash.ts"
|
||
Expect Syntax Error: "compiler/classDeclarationShouldBeOutOfScopeInComputedNames.ts"
|
||
Expect Syntax Error: "compiler/classExpressionAssignment.ts"
|
||
Expect Syntax Error: "compiler/classExpressionExtendingAbstractClass.ts"
|
||
Expect Syntax Error: "compiler/classExpressionWithDecorator1.ts"
|
||
Expect Syntax Error: "compiler/classExtendingQualifiedName.ts"
|
||
Expect Syntax Error: "compiler/classExtendsClauseClassMergedWithModuleNotReferingConstructor.ts"
|
||
Expect Syntax Error: "compiler/classExtendsClauseClassNotReferringConstructor.ts"
|
||
Expect Syntax Error: "compiler/classExtendsInterface.ts"
|
||
Expect Syntax Error: "compiler/classExtendsInterfaceInExpression.ts"
|
||
Expect Syntax Error: "compiler/classExtendsInterfaceInModule.ts"
|
||
Expect Syntax Error: "compiler/classExtendsInterfaceThatExtendsClassWithPrivates1.ts"
|
||
Expect Syntax Error: "compiler/classExtendsInterface_not.ts"
|
||
Expect Syntax Error: "compiler/classExtendsMultipleBaseClasses.ts"
|
||
Expect Syntax Error: "compiler/classExtendsNull.ts"
|
||
Expect Syntax Error: "compiler/classImplementsClass2.ts"
|
||
Expect Syntax Error: "compiler/classImplementsClass4.ts"
|
||
Expect Syntax Error: "compiler/classImplementsClass5.ts"
|
||
Expect Syntax Error: "compiler/classImplementsClass6.ts"
|
||
Expect Syntax Error: "compiler/classImplementsClass7.ts"
|
||
Expect Syntax Error: "compiler/classIndexer2.ts"
|
||
Expect Syntax Error: "compiler/classIndexer3.ts"
|
||
Expect Syntax Error: "compiler/classIndexer4.ts"
|
||
Expect Syntax Error: "compiler/classInheritence.ts"
|
||
Expect Syntax Error: "compiler/classMemberInitializerScoping.ts"
|
||
Expect Syntax Error: "compiler/classMemberInitializerWithLamdaScoping.ts"
|
||
Expect Syntax Error: "compiler/classMergedWithInterfaceMultipleBasesNoError.ts"
|
||
Expect Syntax Error: "compiler/classOrder2.ts"
|
||
Expect Syntax Error: "compiler/classOverloadForFunction2.ts"
|
||
Expect Syntax Error: "compiler/classPropertyErrorOnNameOnly.ts"
|
||
Expect Syntax Error: "compiler/classSideInheritance1.ts"
|
||
Expect Syntax Error: "compiler/classSideInheritance2.ts"
|
||
Expect Syntax Error: "compiler/classSideInheritance3.ts"
|
||
Expect Syntax Error: "compiler/classStaticInitializersUsePropertiesBeforeDeclaration.ts"
|
||
Expect Syntax Error: "compiler/classStaticPropertyAccess.ts"
|
||
Expect Syntax Error: "compiler/classTypeParametersInStatics.ts"
|
||
Expect Syntax Error: "compiler/classUsedBeforeInitializedVariables.ts"
|
||
Expect Syntax Error: "compiler/classWithDuplicateIdentifier.ts"
|
||
Expect Syntax Error: "compiler/classWithEmptyTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/classWithMultipleBaseClasses.ts"
|
||
Expect Syntax Error: "compiler/classWithOverloadImplementationOfWrongName.ts"
|
||
Expect Syntax Error: "compiler/classWithOverloadImplementationOfWrongName2.ts"
|
||
Expect Syntax Error: "compiler/cloduleStaticMembers.ts"
|
||
Expect Syntax Error: "compiler/cloduleTest2.ts"
|
||
Expect Syntax Error: "compiler/cloduleWithDuplicateMember1.ts"
|
||
Expect Syntax Error: "compiler/cloduleWithDuplicateMember2.ts"
|
||
Expect Syntax Error: "compiler/cloduleWithPriorInstantiatedModule.ts"
|
||
Expect Syntax Error: "compiler/clodulesDerivedClasses.ts"
|
||
Expect Syntax Error: "compiler/collisionArgumentsArrowFunctions.ts"
|
||
Expect Syntax Error: "compiler/collisionArgumentsFunction.ts"
|
||
Expect Syntax Error: "compiler/collisionArgumentsFunctionExpressions.ts"
|
||
Expect Syntax Error: "compiler/collisionExportsRequireAndFunction.ts"
|
||
Expect Syntax Error: "compiler/collisionExportsRequireAndInternalModuleAlias.ts"
|
||
Expect Syntax Error: "compiler/commaOperator1.ts"
|
||
Expect Syntax Error: "compiler/commaOperatorLeftSideUnused.ts"
|
||
Expect Syntax Error: "compiler/commentOnImportStatement1.ts"
|
||
Expect Syntax Error: "compiler/commentOnImportStatement2.ts"
|
||
Expect Syntax Error: "compiler/commentOnImportStatement3.ts"
|
||
Expect Syntax Error: "compiler/commentsOnObjectLiteral1.ts"
|
||
Expect Syntax Error: "compiler/commentsOnObjectLiteral2.ts"
|
||
Expect Syntax Error: "compiler/commonJsUnusedLocals.ts"
|
||
Expect Syntax Error: "compiler/compareTypeParameterConstrainedByLiteralToLiteral.ts"
|
||
Expect Syntax Error: "compiler/compilerOptionsOutAndNoEmit.ts"
|
||
Expect Syntax Error: "compiler/complexClassRelationships.ts"
|
||
Expect Syntax Error: "compiler/complicatedGenericRecursiveBaseClassReference.ts"
|
||
Expect Syntax Error: "compiler/complicatedIndexedAccessKeyofReliesOnKeyofNeverUpperBound.ts"
|
||
Expect Syntax Error: "compiler/computedPropertiesInDestructuring1.ts"
|
||
Expect Syntax Error: "compiler/computedPropertiesInDestructuring1_ES6.ts"
|
||
Expect Syntax Error: "compiler/computedPropertiesInDestructuring2.ts"
|
||
Expect Syntax Error: "compiler/computedPropertiesInDestructuring2_ES6.ts"
|
||
Expect Syntax Error: "compiler/concatClassAndString.ts"
|
||
Expect Syntax Error: "compiler/conditionalAnyCheckTypePicksBothBranches.ts"
|
||
Expect Syntax Error: "compiler/conditionalDoesntLeakUninstantiatedTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/conditionalEqualityOnLiteralObjects.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpression1.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine1.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine10.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine2.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine3.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine4.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine5.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine6.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine7.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine8.ts"
|
||
Expect Syntax Error: "compiler/conditionalExpressionNewLine9.ts"
|
||
Expect Syntax Error: "compiler/conditionalTypeAssignabilityWhenDeferred.ts"
|
||
Expect Syntax Error: "compiler/conditionalTypeDoesntSpinForever.ts"
|
||
Expect Syntax Error: "compiler/conditionalTypeVarianceBigArrayConstraintsPerformance.ts"
|
||
Expect Syntax Error: "compiler/conflictingMemberTypesInBases.ts"
|
||
Expect Syntax Error: "compiler/conflictingTypeAnnotatedVar.ts"
|
||
Expect Syntax Error: "compiler/consistentAliasVsNonAliasRecordBehavior.ts"
|
||
Expect Syntax Error: "compiler/constDeclarations-access2.ts"
|
||
Expect Syntax Error: "compiler/constDeclarations-access3.ts"
|
||
Expect Syntax Error: "compiler/constDeclarations-access4.ts"
|
||
Expect Syntax Error: "compiler/constDeclarations-ambient-errors.ts"
|
||
Expect Syntax Error: "compiler/constDeclarations-useBeforeDefinition.ts"
|
||
Expect Syntax Error: "compiler/constEnumBadPropertyNames.ts"
|
||
Expect Syntax Error: "compiler/constEnumErrors.ts"
|
||
Expect Syntax Error: "compiler/constWithNonNull.ts"
|
||
Expect Syntax Error: "compiler/constantEnumAssert.ts"
|
||
Expect Syntax Error: "compiler/constraintErrors1.ts"
|
||
Expect Syntax Error: "compiler/constraintWithIndexedAccess.ts"
|
||
Expect Syntax Error: "compiler/constraints0.ts"
|
||
Expect Syntax Error: "compiler/constructorArgsErrors1.ts"
|
||
Expect Syntax Error: "compiler/constructorArgsErrors2.ts"
|
||
Expect Syntax Error: "compiler/constructorArgsErrors3.ts"
|
||
Expect Syntax Error: "compiler/constructorArgsErrors4.ts"
|
||
Expect Syntax Error: "compiler/constructorAsType.ts"
|
||
Expect Syntax Error: "compiler/constructorInvocationWithTooFewTypeArgs.ts"
|
||
Expect Syntax Error: "compiler/constructorOverloads3.ts"
|
||
Expect Syntax Error: "compiler/constructorOverloads4.ts"
|
||
Expect Syntax Error: "compiler/constructorOverloads6.ts"
|
||
Expect Syntax Error: "compiler/constructorOverloads7.ts"
|
||
Expect Syntax Error: "compiler/constructorParametersInVariableDeclarations.ts"
|
||
Expect Syntax Error: "compiler/constructorParametersThatShadowExternalNamesInVariableDeclarations.ts"
|
||
Expect Syntax Error: "compiler/constructorReturnsInvalidType.ts"
|
||
Expect Syntax Error: "compiler/constructorsWithSpecializedSignatures.ts"
|
||
Expect Syntax Error: "compiler/contextualOverloadListFromUnionWithPrimitiveNoImplicitAny.ts"
|
||
Expect Syntax Error: "compiler/contextualSignatureInArrayElementLibEs2015.ts"
|
||
Expect Syntax Error: "compiler/contextualSignatureInArrayElementLibEs5.ts"
|
||
Expect Syntax Error: "compiler/contextualSignatureInstatiationContravariance.ts"
|
||
Expect Syntax Error: "compiler/contextualTupleTypeParameterReadonly.ts"
|
||
Expect Syntax Error: "compiler/contextualTypeAny.ts"
|
||
Expect Syntax Error: "compiler/contextualTypeForInitalizedVariablesFiltersUndefined.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping11.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping12.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping17.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping2.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping20.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping21.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping24.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping30.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping33.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping39.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping4.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping41.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping5.ts"
|
||
Expect Syntax Error: "compiler/contextualTyping9.ts"
|
||
Expect Syntax Error: "compiler/contextualTypingArrayDestructuringWithDefaults.ts"
|
||
Expect Syntax Error: "compiler/contextualTypingOfArrayLiterals1.ts"
|
||
Expect Syntax Error: "compiler/contextualTypingOfConditionalExpression2.ts"
|
||
Expect Syntax Error: "compiler/contextualTypingOfGenericFunctionTypedArguments1.ts"
|
||
Expect Syntax Error: "compiler/contextualTypingOfLambdaReturnExpression.ts"
|
||
Expect Syntax Error: "compiler/contextualTypingOfObjectLiterals2.ts"
|
||
Expect Syntax Error: "compiler/contextualTypingWithFixedTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/contextuallyTypedParametersWithInitializers.ts"
|
||
Expect Syntax Error: "compiler/contextuallyTypingRestParameters.ts"
|
||
Expect Syntax Error: "compiler/continueInIterationStatement4.ts"
|
||
Expect Syntax Error: "compiler/continueNotInIterationStatement4.ts"
|
||
Expect Syntax Error: "compiler/controlFlowArrayErrors.ts"
|
||
Expect Syntax Error: "compiler/controlFlowDestructuringVariablesInTryCatch.ts"
|
||
Expect Syntax Error: "compiler/controlFlowForIndexSignatures.ts"
|
||
Expect Syntax Error: "compiler/controlFlowJavascript.ts"
|
||
Expect Syntax Error: "compiler/controlFlowLoopAnalysis.ts"
|
||
Expect Syntax Error: "compiler/controlFlowNoImplicitAny.ts"
|
||
Expect Syntax Error: "compiler/controlFlowNullTypeAndLiteral.ts"
|
||
Expect Syntax Error: "compiler/controlFlowSelfReferentialLoop.ts"
|
||
Expect Syntax Error: "compiler/copyrightWithNewLine1.ts"
|
||
Expect Syntax Error: "compiler/copyrightWithoutNewLine1.ts"
|
||
Expect Syntax Error: "compiler/corrupted.ts"
|
||
Expect Syntax Error: "compiler/couldNotSelectGenericOverload.ts"
|
||
Expect Syntax Error: "compiler/crashInEmitTokenWithComment.ts"
|
||
Expect Syntax Error: "compiler/crashInsourcePropertyIsRelatableToTargetProperty.ts"
|
||
Expect Syntax Error: "compiler/crashIntypeCheckInvocationExpression.ts"
|
||
Expect Syntax Error: "compiler/crashIntypeCheckObjectCreationExpression.ts"
|
||
Expect Syntax Error: "compiler/crashOnMethodSignatures.ts"
|
||
Expect Syntax Error: "compiler/crashRegressionTest.ts"
|
||
Expect Syntax Error: "compiler/dataViewConstructor.ts"
|
||
Expect Syntax Error: "compiler/declFileEmitDeclarationOnlyError1.ts"
|
||
Expect Syntax Error: "compiler/declFileEmitDeclarationOnlyError2.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitDestructuring2.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitDestructuringArrayPattern2.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitDestructuringObjectLiteralPattern.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitDestructuringObjectLiteralPattern1.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitDestructuringParameterProperties.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitDestructuringWithOptionalBindingParameters.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitExpressionInExtends4.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitExpressionInExtends7.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitIndexTypeNotFound.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitInvalidReference2.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitInvalidReferenceAllowJs.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitLambdaWithMissingTypeParameterNoCrash.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitRelativeModuleError.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.ts"
|
||
Expect Syntax Error: "compiler/declarationEmitUnknownImport.ts"
|
||
Expect Syntax Error: "compiler/declarationFileNoCrashOnExtraExportModifier.ts"
|
||
Expect Syntax Error: "compiler/declarationMapsWithoutDeclaration.ts"
|
||
Expect Syntax Error: "compiler/declareAlreadySeen.ts"
|
||
Expect Syntax Error: "compiler/declareClassInterfaceImplementation.ts"
|
||
Expect Syntax Error: "compiler/declareModifierOnImport1.ts"
|
||
Expect Syntax Error: "compiler/decoratorInJsFile.ts"
|
||
Expect Syntax Error: "compiler/decoratorInJsFile1.ts"
|
||
Expect Syntax Error: "compiler/decoratorMetadataGenericTypeVariable.ts"
|
||
Expect Syntax Error: "compiler/decoratorMetadataGenericTypeVariableDefault.ts"
|
||
Expect Syntax Error: "compiler/decoratorMetadataGenericTypeVariableInScope.ts"
|
||
Expect Syntax Error: "compiler/decoratorMetadataNoLibIsolatedModulesTypes.ts"
|
||
Expect Syntax Error: "compiler/decoratorsOnComputedProperties.ts"
|
||
Expect Syntax Error: "compiler/deduplicateImportsInSystem.ts"
|
||
Expect Syntax Error: "compiler/deepComparisons.ts"
|
||
Expect Syntax Error: "compiler/deepElaborationsIntoArrowExpressions.ts"
|
||
Expect Syntax Error: "compiler/deepExcessPropertyCheckingWhenTargetIsIntersection.ts"
|
||
Expect Syntax Error: "compiler/deepKeysIndexing.ts"
|
||
Expect Syntax Error: "compiler/deeplyNestedAssignabilityErrorsCombined.ts"
|
||
Expect Syntax Error: "compiler/deeplyNestedAssignabilityIssue.ts"
|
||
Expect Syntax Error: "compiler/deeplyNestedCheck.ts"
|
||
Expect Syntax Error: "compiler/defaultArgsInFunctionExpressions.ts"
|
||
Expect Syntax Error: "compiler/defaultArgsInOverloads.ts"
|
||
Expect Syntax Error: "compiler/defaultBestCommonTypesHaveDecls.ts"
|
||
Expect Syntax Error: "compiler/defaultValueInConstructorOverload1.ts"
|
||
Expect Syntax Error: "compiler/defaultValueInFunctionOverload1.ts"
|
||
Expect Syntax Error: "compiler/defaultValueInFunctionTypes.ts"
|
||
Expect Syntax Error: "compiler/definiteAssignmentWithErrorStillStripped.ts"
|
||
Expect Syntax Error: "compiler/deleteOperator1.ts"
|
||
Expect Syntax Error: "compiler/deleteReadonly.ts"
|
||
Expect Syntax Error: "compiler/derivedClassOverridesPrivateFunction1.ts"
|
||
Expect Syntax Error: "compiler/derivedClasses.ts"
|
||
Expect Syntax Error: "compiler/derivedInterfaceCallSignature.ts"
|
||
Expect Syntax Error: "compiler/derivedTypeCallingBaseImplWithOptionalParams.ts"
|
||
Expect Syntax Error: "compiler/derivedTypeIncompatibleSignatures.ts"
|
||
Expect Syntax Error: "compiler/destructureComputedProperty.ts"
|
||
Expect Syntax Error: "compiler/destructureTupleWithVariableElement.ts"
|
||
Expect Syntax Error: "compiler/destructuredLateBoundNameHasCorrectTypes.ts"
|
||
Expect Syntax Error: "compiler/destructuringAssignmentWithDefault2.ts"
|
||
Expect Syntax Error: "compiler/destructuringAssignment_private.ts"
|
||
Expect Syntax Error: "compiler/destructuringFromUnionSpread.ts"
|
||
Expect Syntax Error: "compiler/destructuringTuple.ts"
|
||
Expect Syntax Error: "compiler/destructuringUnspreadableIntoRest.ts"
|
||
Expect Syntax Error: "compiler/detachedCommentAtStartOfFunctionBody1.ts"
|
||
Expect Syntax Error: "compiler/detachedCommentAtStartOfFunctionBody2.ts"
|
||
Expect Syntax Error: "compiler/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.ts"
|
||
Expect Syntax Error: "compiler/didYouMeanStringLiteral.ts"
|
||
Expect Syntax Error: "compiler/didYouMeanSuggestionErrors.ts"
|
||
Expect Syntax Error: "compiler/differentTypesWithSameName.ts"
|
||
Expect Syntax Error: "compiler/discriminatedUnionErrorMessage.ts"
|
||
Expect Syntax Error: "compiler/divergentAccessorsTypes2.ts"
|
||
Expect Syntax Error: "compiler/divergentAccessorsTypes4.ts"
|
||
Expect Syntax Error: "compiler/divergentAccessorsTypes5.ts"
|
||
Expect Syntax Error: "compiler/divergentAccessorsTypes6.ts"
|
||
Expect Syntax Error: "compiler/divergentAccessorsVisibility1.ts"
|
||
Expect Syntax Error: "compiler/doNotElaborateAssignabilityToTypeParameters.ts"
|
||
Expect Syntax Error: "compiler/doYouNeedToChangeYourTargetLibraryES2015.ts"
|
||
Expect Syntax Error: "compiler/doYouNeedToChangeYourTargetLibraryES2016Plus.ts"
|
||
Expect Syntax Error: "compiler/doubleUnderStringLiteralAssignability.ts"
|
||
Expect Syntax Error: "compiler/downlevelLetConst12.ts"
|
||
Expect Syntax Error: "compiler/downlevelLetConst16.ts"
|
||
Expect Syntax Error: "compiler/downlevelLetConst18.ts"
|
||
Expect Syntax Error: "compiler/downlevelLetConst19.ts"
|
||
Expect Syntax Error: "compiler/duplicateClassElements.ts"
|
||
Expect Syntax Error: "compiler/duplicateDefaultExport.ts"
|
||
Expect Syntax Error: "compiler/duplicateIdentifierComputedName.ts"
|
||
Expect Syntax Error: "compiler/duplicateIdentifierDifferentModifiers.ts"
|
||
Expect Syntax Error: "compiler/duplicateIdentifierDifferentSpelling.ts"
|
||
Expect Syntax Error: "compiler/duplicateIdentifierInCatchBlock.ts"
|
||
Expect Syntax Error: "compiler/duplicateIdentifiersAcrossContainerBoundaries.ts"
|
||
Expect Syntax Error: "compiler/duplicateInterfaceMembers1.ts"
|
||
Expect Syntax Error: "compiler/duplicateLocalVariable1.ts"
|
||
Expect Syntax Error: "compiler/duplicateLocalVariable2.ts"
|
||
Expect Syntax Error: "compiler/duplicateLocalVariable3.ts"
|
||
Expect Syntax Error: "compiler/duplicateLocalVariable4.ts"
|
||
Expect Syntax Error: "compiler/duplicateObjectLiteralProperty.ts"
|
||
Expect Syntax Error: "compiler/duplicateObjectLiteralProperty_computedName1.ts"
|
||
Expect Syntax Error: "compiler/duplicateObjectLiteralProperty_computedName2.ts"
|
||
Expect Syntax Error: "compiler/duplicatePropertiesInStrictMode.ts"
|
||
Expect Syntax Error: "compiler/duplicateStringNamedProperty1.ts"
|
||
Expect Syntax Error: "compiler/duplicateSymbolsExportMatching.ts"
|
||
Expect Syntax Error: "compiler/duplicateTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/duplicateTypeParameters2.ts"
|
||
Expect Syntax Error: "compiler/duplicateTypeParameters3.ts"
|
||
Expect Syntax Error: "compiler/duplicateVarAndImport2.ts"
|
||
Expect Syntax Error: "compiler/duplicateVariablesWithAny.ts"
|
||
Expect Syntax Error: "compiler/dynamicImportInDefaultExportExpression.ts"
|
||
Expect Syntax Error: "compiler/dynamicImportTrailingComma.ts"
|
||
Expect Syntax Error: "compiler/dynamicNamesErrors.ts"
|
||
Expect Syntax Error: "compiler/dynamicRequire.ts"
|
||
Expect Syntax Error: "compiler/elaboratedErrors.ts"
|
||
Expect Syntax Error: "compiler/elaboratedErrorsOnNullableTargets01.ts"
|
||
Expect Syntax Error: "compiler/elaborationForPossiblyCallableTypeStillReferencesArgumentAtTopLevel.ts"
|
||
Expect Syntax Error: "compiler/emitCapturingThisInTupleDestructuring1.ts"
|
||
Expect Syntax Error: "compiler/emitCapturingThisInTupleDestructuring2.ts"
|
||
Expect Syntax Error: "compiler/emitClassExpressionInDeclarationFile2.ts"
|
||
Expect Syntax Error: "compiler/emitThisInSuperMethodCall.ts"
|
||
Expect Syntax Error: "compiler/emptyFile-declaration.ts"
|
||
Expect Syntax Error: "compiler/emptyFile-souremap.ts"
|
||
Expect Syntax Error: "compiler/emptyGenericParamList.ts"
|
||
Expect Syntax Error: "compiler/emptyModuleName.ts"
|
||
Expect Syntax Error: "compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject1.ts"
|
||
Expect Syntax Error: "compiler/emptyObjectNotSubtypeOfIndexSignatureContainingObject2.ts"
|
||
Expect Syntax Error: "compiler/emptyThenWarning.ts"
|
||
Expect Syntax Error: "compiler/emptyTypeArgumentList.ts"
|
||
Expect Syntax Error: "compiler/emptyTypeArgumentListWithNew.ts"
|
||
Expect Syntax Error: "compiler/enumAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/enumAssignmentCompat2.ts"
|
||
Expect Syntax Error: "compiler/enumAssignmentCompat3.ts"
|
||
Expect Syntax Error: "compiler/enumAssignmentCompat5.ts"
|
||
Expect Syntax Error: "compiler/enumBasics1.ts"
|
||
Expect Syntax Error: "compiler/enumBasics2.ts"
|
||
Expect Syntax Error: "compiler/enumBasics3.ts"
|
||
Expect Syntax Error: "compiler/enumGenericTypeClash.ts"
|
||
Expect Syntax Error: "compiler/enumIdentifierLiterals.ts"
|
||
Expect Syntax Error: "compiler/enumLiteralAssignableToEnumInsideUnion.ts"
|
||
Expect Syntax Error: "compiler/enumPropertyAccess.ts"
|
||
Expect Syntax Error: "compiler/enumPropertyAccessBeforeInitalisation.ts"
|
||
Expect Syntax Error: "compiler/enumUsedBeforeDeclaration.ts"
|
||
Expect Syntax Error: "compiler/enumWithComputedMember.ts"
|
||
Expect Syntax Error: "compiler/enumWithExport.ts"
|
||
Expect Syntax Error: "compiler/enumWithPrimitiveName.ts"
|
||
Expect Syntax Error: "compiler/enumsWithMultipleDeclarations1.ts"
|
||
Expect Syntax Error: "compiler/enumsWithMultipleDeclarations2.ts"
|
||
Expect Syntax Error: "compiler/errorCause.ts"
|
||
Expect Syntax Error: "compiler/errorElaboration.ts"
|
||
Expect Syntax Error: "compiler/errorElaborationDivesIntoApparentlyPresentPropsOnly.ts"
|
||
Expect Syntax Error: "compiler/errorForBareSpecifierWithImplicitModuleResolutionNone.ts"
|
||
Expect Syntax Error: "compiler/errorForConflictingExportEqualsValue.ts"
|
||
Expect Syntax Error: "compiler/errorForUsingPropertyOfTypeAsType02.ts"
|
||
Expect Syntax Error: "compiler/errorForUsingPropertyOfTypeAsType03.ts"
|
||
Expect Syntax Error: "compiler/errorForwardReferenceForwadingConstructor.ts"
|
||
Expect Syntax Error: "compiler/errorHandlingInInstanceOf.ts"
|
||
Expect Syntax Error: "compiler/errorInfoForRelatedIndexTypesNoConstraintElaboration.ts"
|
||
Expect Syntax Error: "compiler/errorLocationForInterfaceExtension.ts"
|
||
Expect Syntax Error: "compiler/errorMessageOnIntersectionsWithDiscriminants01.ts"
|
||
Expect Syntax Error: "compiler/errorMessageOnObjectLiteralType.ts"
|
||
Expect Syntax Error: "compiler/errorMessagesIntersectionTypes01.ts"
|
||
Expect Syntax Error: "compiler/errorMessagesIntersectionTypes02.ts"
|
||
Expect Syntax Error: "compiler/errorMessagesIntersectionTypes03.ts"
|
||
Expect Syntax Error: "compiler/errorMessagesIntersectionTypes04.ts"
|
||
Expect Syntax Error: "compiler/errorOnContextuallyTypedReturnType.ts"
|
||
Expect Syntax Error: "compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate.ts"
|
||
Expect Syntax Error: "compiler/errorOnUnionVsObjectShouldDeeplyDisambiguate2.ts"
|
||
Expect Syntax Error: "compiler/errorSupression1.ts"
|
||
Expect Syntax Error: "compiler/errorTypesAsTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/errorWithTruncatedType.ts"
|
||
Expect Syntax Error: "compiler/errorsForCallAndAssignmentAreSimilar.ts"
|
||
Expect Syntax Error: "compiler/errorsInGenericTypeReference.ts"
|
||
Expect Syntax Error: "compiler/errorsOnUnionsOfOverlappingObjects01.ts"
|
||
Expect Syntax Error: "compiler/errorsWithInvokablesInUnions01.ts"
|
||
Expect Syntax Error: "compiler/es3-amd.ts"
|
||
Expect Syntax Error: "compiler/es3-declaration-amd.ts"
|
||
Expect Syntax Error: "compiler/es3-jsx-preserve.tsx"
|
||
Expect Syntax Error: "compiler/es3-jsx-react-native.tsx"
|
||
Expect Syntax Error: "compiler/es3-jsx-react.tsx"
|
||
Expect Syntax Error: "compiler/es3-oldStyleOctalLiteralInEnums.ts"
|
||
Expect Syntax Error: "compiler/es3-oldStyleOctalLiteralTypes.ts"
|
||
Expect Syntax Error: "compiler/es3-sourcemap-amd.ts"
|
||
Expect Syntax Error: "compiler/es5-commonjs3.ts"
|
||
Expect Syntax Error: "compiler/es5-commonjs4.ts"
|
||
Expect Syntax Error: "compiler/es5-oldStyleOctalLiteralInEnums.ts"
|
||
Expect Syntax Error: "compiler/es5ExportDefaultClassDeclaration3.ts"
|
||
Expect Syntax Error: "compiler/es5ExportEquals.ts"
|
||
Expect Syntax Error: "compiler/es5ModuleInternalNamedImports.ts"
|
||
Expect Syntax Error: "compiler/es6ClassTest.ts"
|
||
Expect Syntax Error: "compiler/es6DeclOrdering.ts"
|
||
Expect Syntax Error: "compiler/es6ExportAssignment.ts"
|
||
Expect Syntax Error: "compiler/es6ExportEquals.ts"
|
||
Expect Syntax Error: "compiler/es6MemberScoping.ts"
|
||
Expect Syntax Error: "compiler/es6ModuleInternalNamedImports.ts"
|
||
Expect Syntax Error: "compiler/es6ModuleInternalNamedImports2.ts"
|
||
Expect Syntax Error: "compiler/esModuleInteropImportDefaultWhenAllNamedAreDefaultAlias.ts"
|
||
Expect Syntax Error: "compiler/esModuleInteropUsesExportStarWhenDefaultPlusNames.ts"
|
||
Expect Syntax Error: "compiler/evalAfter0.ts"
|
||
Expect Syntax Error: "compiler/evolvingArrayResolvedAssert.ts"
|
||
Expect Syntax Error: "compiler/exactSpellingSuggestion.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyCheckIntersectionWithIndexSignature.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyCheckIntersectionWithRecursiveType.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyCheckWithEmptyObject.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyCheckWithMultipleDiscriminants.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyCheckWithSpread.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyCheckWithUnions.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyChecksWithNestedIntersections.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyErrorForFunctionTypes.ts"
|
||
Expect Syntax Error: "compiler/excessPropertyErrorsSuppressed.ts"
|
||
Expect Syntax Error: "compiler/excessiveStackDepthFlatArray.ts"
|
||
Expect Syntax Error: "compiler/excessivelyLargeTupleSpread.ts"
|
||
Expect Syntax Error: "compiler/exhaustiveSwitchCheckCircularity.ts"
|
||
Expect Syntax Error: "compiler/exhaustiveSwitchImplicitReturn.ts"
|
||
Expect Syntax Error: "compiler/expandoFunctionContextualTypesNoValue.ts"
|
||
Expect Syntax Error: "compiler/exportAlreadySeen.ts"
|
||
Expect Syntax Error: "compiler/exportAsNamespaceConflict.ts"
|
||
Expect Syntax Error: "compiler/exportAssignmentWithExports.ts"
|
||
Expect Syntax Error: "compiler/exportClassWithoutName.ts"
|
||
Expect Syntax Error: "compiler/exportDeclarationsInAmbientNamespaces2.ts"
|
||
Expect Syntax Error: "compiler/exportDeclareClass1.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultAlias_excludesEverything.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultClassAndValue.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultClassInNamespace.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultDuplicateCrash.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultFunctionInNamespace.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultInterfaceAndTwoFunctions.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultInterfaceClassAndFunctionOverloads.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultInterfaceClassAndValue.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultMissingName.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultTypeAndClass.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultTypeAndFunctionOverloads.ts"
|
||
Expect Syntax Error: "compiler/exportDefaultTypeClassAndValue.ts"
|
||
Expect Syntax Error: "compiler/exportEqualsClassRedeclarationError.ts"
|
||
Expect Syntax Error: "compiler/exportInterfaceClassAndValue.ts"
|
||
Expect Syntax Error: "compiler/exportInterfaceClassAndValueWithDuplicatesInImportList.ts"
|
||
Expect Syntax Error: "compiler/exportSameNameFuncVar.ts"
|
||
Expect Syntax Error: "compiler/exportSpecifierAndLocalMemberDeclaration.ts"
|
||
Expect Syntax Error: "compiler/exportSpecifierReferencingOuterDeclaration1.ts"
|
||
Expect Syntax Error: "compiler/exportSpecifierReferencingOuterDeclaration3.ts"
|
||
Expect Syntax Error: "compiler/exportedBlockScopedDeclarations.ts"
|
||
Expect Syntax Error: "compiler/expr.ts"
|
||
Expect Syntax Error: "compiler/extBaseClass2.ts"
|
||
Expect Syntax Error: "compiler/extendAndImplementTheSameBaseType2.ts"
|
||
Expect Syntax Error: "compiler/extendArray.ts"
|
||
Expect Syntax Error: "compiler/extendBaseClassBeforeItsDeclared.ts"
|
||
Expect Syntax Error: "compiler/extendFromAny.ts"
|
||
Expect Syntax Error: "compiler/extendGenericArray.ts"
|
||
Expect Syntax Error: "compiler/extendGenericArray2.ts"
|
||
Expect Syntax Error: "compiler/extendGlobalThis2.ts"
|
||
Expect Syntax Error: "compiler/extendNonClassSymbol2.ts"
|
||
Expect Syntax Error: "compiler/extendPrivateConstructorClass.ts"
|
||
Expect Syntax Error: "compiler/extendedInterfacesWithDuplicateTypeParameters.ts"
|
||
Expect Syntax Error: "compiler/extendsClauseAlreadySeen.ts"
|
||
Expect Syntax Error: "compiler/extendsClauseAlreadySeen2.ts"
|
||
Expect Syntax Error: "compiler/externSemantics.ts"
|
||
Expect Syntax Error: "compiler/externSyntax.ts"
|
||
Expect Syntax Error: "compiler/extractInferenceImprovement.ts"
|
||
Expect Syntax Error: "compiler/fallFromLastCase2.ts"
|
||
Expect Syntax Error: "compiler/fatarrowfunctionsOptionalArgsErrors4.ts"
|
||
Expect Syntax Error: "compiler/fieldAndGetterWithSameName.ts"
|
||
Expect Syntax Error: "compiler/firstMatchRegExpMatchArray.ts"
|
||
Expect Syntax Error: "compiler/fixTypeParameterInSignatureWithRestParameters.ts"
|
||
Expect Syntax Error: "compiler/fixingTypeParametersRepeatedly2.ts"
|
||
Expect Syntax Error: "compiler/flatArrayNoExcessiveStackDepth.ts"
|
||
Expect Syntax Error: "compiler/forIn.ts"
|
||
Expect Syntax Error: "compiler/forIn2.ts"
|
||
Expect Syntax Error: "compiler/forInStatement2.ts"
|
||
Expect Syntax Error: "compiler/forInStatement4.ts"
|
||
Expect Syntax Error: "compiler/forInStatement7.ts"
|
||
Expect Syntax Error: "compiler/forInStrictNullChecksNoError.ts"
|
||
Expect Syntax Error: "compiler/forwardDeclaredCommonTypes01.ts"
|
||
Expect Syntax Error: "compiler/forwardRefInClassProperties.ts"
|
||
Expect Syntax Error: "compiler/forwardRefInEnum.ts"
|
||
Expect Syntax Error: "compiler/functionAndInterfaceWithSeparateErrors.ts"
|
||
Expect Syntax Error: "compiler/functionAndPropertyNameConflict.ts"
|
||
Expect Syntax Error: "compiler/functionArgShadowing.ts"
|
||
Expect Syntax Error: "compiler/functionAssignment.ts"
|
||
Expect Syntax Error: "compiler/functionCall10.ts"
|
||
Expect Syntax Error: "compiler/functionCall11.ts"
|
||
Expect Syntax Error: "compiler/functionCall12.ts"
|
||
Expect Syntax Error: "compiler/functionCall13.ts"
|
||
Expect Syntax Error: "compiler/functionCall14.ts"
|
||
Expect Syntax Error: "compiler/functionCall16.ts"
|
||
Expect Syntax Error: "compiler/functionCall17.ts"
|
||
Expect Syntax Error: "compiler/functionCall18.ts"
|
||
Expect Syntax Error: "compiler/functionCall6.ts"
|
||
Expect Syntax Error: "compiler/functionCall7.ts"
|
||
Expect Syntax Error: "compiler/functionCall8.ts"
|
||
Expect Syntax Error: "compiler/functionCall9.ts"
|
||
Expect Syntax Error: "compiler/functionCallOnConstrainedTypeVariable.ts"
|
||
Expect Syntax Error: "compiler/functionExpressionShadowedByParams.ts"
|
||
Expect Syntax Error: "compiler/functionOverloadAmbiguity1.ts"
|
||
Expect Syntax Error: "compiler/functionOverloadImplementationOfWrongName.ts"
|
||
Expect Syntax Error: "compiler/functionOverloadImplementationOfWrongName2.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads1.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads11.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads17.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads18.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads19.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads2.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads20.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads27.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads29.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads3.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads34.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads37.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads4.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads40.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads41.ts"
|
||
Expect Syntax Error: "compiler/functionOverloads5.ts"
|
||
Expect Syntax Error: "compiler/functionOverloadsOutOfOrder.ts"
|
||
Expect Syntax Error: "compiler/functionParameterArityMismatch.ts"
|
||
Expect Syntax Error: "compiler/functionSignatureAssignmentCompat1.ts"
|
||
Expect Syntax Error: "compiler/functionToFunctionWithPropError.ts"
|
||
Expect Syntax Error: "compiler/functionTypeArgumentArityErrors.ts"
|
||
Expect Syntax Error: "compiler/functionTypeArgumentAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/functionVariableInReturnTypeAnnotation.ts"
|
||
Expect Syntax Error: "compiler/functionWithSameNameAsField.ts"
|
||
Expect Syntax Error: "compiler/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.ts"
|
||
Expect Syntax Error: "compiler/functionsWithModifiersInBlocks1.ts"
|
||
Expect Syntax Error: "compiler/fuzzy.ts"
|
||
Expect Syntax Error: "compiler/generatorES6_5.ts"
|
||
Expect Syntax Error: "compiler/generatorReturnExpressionIsChecked.ts"
|
||
Expect Syntax Error: "compiler/genericAndNonGenericInheritedSignature1.ts"
|
||
Expect Syntax Error: "compiler/genericAndNonGenericInheritedSignature2.ts"
|
||
Expect Syntax Error: "compiler/genericArgumentCallSigAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/genericArrayAssignment1.ts"
|
||
Expect Syntax Error: "compiler/genericArrayAssignmentCompatErrors.ts"
|
||
Expect Syntax Error: "compiler/genericArrayExtenstions.ts"
|
||
Expect Syntax Error: "compiler/genericArrayMethods1.ts"
|
||
Expect Syntax Error: "compiler/genericArrayWithoutTypeAnnotation.ts"
|
||
Expect Syntax Error: "compiler/genericAssignmentCompatOfFunctionSignatures1.ts"
|
||
Expect Syntax Error: "compiler/genericAssignmentCompatWithInterfaces1.ts"
|
||
Expect Syntax Error: "compiler/genericCallSpecializedToTypeArg.ts"
|
||
Expect Syntax Error: "compiler/genericCallWithObjectLiteralArguments1.ts"
|
||
Expect Syntax Error: "compiler/genericCallbackInvokedInsideItsContainingFunction1.ts"
|
||
Expect Syntax Error: "compiler/genericChainedCalls.ts"
|
||
Expect Syntax Error: "compiler/genericClassInheritsConstructorFromNonGenericClass.ts"
|
||
Expect Syntax Error: "compiler/genericClassWithStaticsUsingTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/genericClassesRedeclaration.ts"
|
||
Expect Syntax Error: "compiler/genericCloduleInModule2.ts"
|
||
Expect Syntax Error: "compiler/genericCloneReturnTypes.ts"
|
||
Expect Syntax Error: "compiler/genericCloneReturnTypes2.ts"
|
||
Expect Syntax Error: "compiler/genericCombinators2.ts"
|
||
Expect Syntax Error: "compiler/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.ts"
|
||
Expect Syntax Error: "compiler/genericConstraint1.ts"
|
||
Expect Syntax Error: "compiler/genericConstraint2.ts"
|
||
Expect Syntax Error: "compiler/genericConstraintSatisfaction1.ts"
|
||
Expect Syntax Error: "compiler/genericConstructInvocationWithNoTypeArg.ts"
|
||
Expect Syntax Error: "compiler/genericConstructorFunction1.ts"
|
||
Expect Syntax Error: "compiler/genericDefaults.ts"
|
||
Expect Syntax Error: "compiler/genericDefaultsErrors.ts"
|
||
Expect Syntax Error: "compiler/genericDerivedTypeWithSpecializedBase.ts"
|
||
Expect Syntax Error: "compiler/genericDerivedTypeWithSpecializedBase2.ts"
|
||
Expect Syntax Error: "compiler/genericFunctionCallSignatureReturnTypeMismatch.ts"
|
||
Expect Syntax Error: "compiler/genericFunctionInference1.ts"
|
||
Expect Syntax Error: "compiler/genericFunctionTypedArgumentsAreFixed.ts"
|
||
Expect Syntax Error: "compiler/genericFunctionsWithOptionalParameters2.ts"
|
||
Expect Syntax Error: "compiler/genericFunduleInModule.ts"
|
||
Expect Syntax Error: "compiler/genericFunduleInModule2.ts"
|
||
Expect Syntax Error: "compiler/genericGetter.ts"
|
||
Expect Syntax Error: "compiler/genericGetter2.ts"
|
||
Expect Syntax Error: "compiler/genericGetter3.ts"
|
||
Expect Syntax Error: "compiler/genericImplements.ts"
|
||
Expect Syntax Error: "compiler/genericIndexTypeHasSensibleErrorMessage.ts"
|
||
Expect Syntax Error: "compiler/genericInterfacesWithoutTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/genericLambaArgWithoutTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/genericMappedTypeAsClause.ts"
|
||
Expect Syntax Error: "compiler/genericMemberFunction.ts"
|
||
Expect Syntax Error: "compiler/genericMergedDeclarationUsingTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/genericMergedDeclarationUsingTypeParameter2.ts"
|
||
Expect Syntax Error: "compiler/genericNewInterface.ts"
|
||
Expect Syntax Error: "compiler/genericRecursiveImplicitConstructorErrors1.ts"
|
||
Expect Syntax Error: "compiler/genericRecursiveImplicitConstructorErrors3.ts"
|
||
Expect Syntax Error: "compiler/genericReduce.ts"
|
||
Expect Syntax Error: "compiler/genericRestArgs.ts"
|
||
Expect Syntax Error: "compiler/genericRestTypes.ts"
|
||
Expect Syntax Error: "compiler/genericReturnTypeFromGetter1.ts"
|
||
Expect Syntax Error: "compiler/genericSignatureIdentity.ts"
|
||
Expect Syntax Error: "compiler/genericSpecializations1.ts"
|
||
Expect Syntax Error: "compiler/genericSpecializations2.ts"
|
||
Expect Syntax Error: "compiler/genericSpecializations3.ts"
|
||
Expect Syntax Error: "compiler/genericTypeArgumentInference1.ts"
|
||
Expect Syntax Error: "compiler/genericTypeAssertions1.ts"
|
||
Expect Syntax Error: "compiler/genericTypeAssertions2.ts"
|
||
Expect Syntax Error: "compiler/genericTypeAssertions4.ts"
|
||
Expect Syntax Error: "compiler/genericTypeAssertions5.ts"
|
||
Expect Syntax Error: "compiler/genericTypeAssertions6.ts"
|
||
Expect Syntax Error: "compiler/genericTypeConstraints.ts"
|
||
Expect Syntax Error: "compiler/genericTypeReferencesRequireTypeArgs.ts"
|
||
Expect Syntax Error: "compiler/genericTypeUsedWithoutTypeArguments1.ts"
|
||
Expect Syntax Error: "compiler/genericTypeUsedWithoutTypeArguments3.ts"
|
||
Expect Syntax Error: "compiler/genericTypeWithNonGenericBaseMisMatch.ts"
|
||
Expect Syntax Error: "compiler/genericUnboundedTypeParamAssignability.ts"
|
||
Expect Syntax Error: "compiler/genericWithNoConstraintComparableWithCurlyCurly.ts"
|
||
Expect Syntax Error: "compiler/genericWithOpenTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/generics1.ts"
|
||
Expect Syntax Error: "compiler/generics2.ts"
|
||
Expect Syntax Error: "compiler/generics4.ts"
|
||
Expect Syntax Error: "compiler/generics5.ts"
|
||
Expect Syntax Error: "compiler/genericsWithDuplicateTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/genericsWithoutTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/getAndSetNotIdenticalType2.ts"
|
||
Expect Syntax Error: "compiler/getAndSetNotIdenticalType3.ts"
|
||
Expect Syntax Error: "compiler/getterControlFlowStrictNull.ts"
|
||
Expect Syntax Error: "compiler/getterMissingReturnError.ts"
|
||
Expect Syntax Error: "compiler/gettersAndSetters.ts"
|
||
Expect Syntax Error: "compiler/gettersAndSettersAccessibility.ts"
|
||
Expect Syntax Error: "compiler/grammarAmbiguities1.ts"
|
||
Expect Syntax Error: "compiler/heterogeneousArrayAndOverloads.ts"
|
||
Expect Syntax Error: "compiler/hugeDeclarationOutputGetsTruncatedWithError.ts"
|
||
Expect Syntax Error: "compiler/i3.ts"
|
||
Expect Syntax Error: "compiler/identityForSignaturesWithTypeParametersAndAny.ts"
|
||
Expect Syntax Error: "compiler/identityForSignaturesWithTypeParametersSwitched.ts"
|
||
Expect Syntax Error: "compiler/ifElseWithStatements1.ts"
|
||
Expect Syntax Error: "compiler/ignoredJsxAttributes.tsx"
|
||
Expect Syntax Error: "compiler/implementClausePrecedingExtends.ts"
|
||
Expect Syntax Error: "compiler/implementGenericWithMismatchedTypes.ts"
|
||
Expect Syntax Error: "compiler/implementPublicPropertyAsPrivate.ts"
|
||
Expect Syntax Error: "compiler/implementsClauseAlreadySeen.ts"
|
||
Expect Syntax Error: "compiler/implementsIncorrectlyNoAssertion.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyAmbients.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyCastedValue.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyDeclareFunctionExprWithoutFormalType.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyDeclareFunctionWithoutFormalType.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyDeclareMemberWithoutType.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyDeclareMemberWithoutType2.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyDeclareTypePropertyWithoutType.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyDeclareVariablesWithoutTypeAndInit.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyFromCircularInference.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyFunctionInvocationWithAnyArguements.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyFunctionOverloadWithImplicitAnyReturnType.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyFunctionReturnNullOrUndefined.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyGetAndSetAccessorWithAnyReturnType.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyInAmbientDeclaration.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyInAmbientDeclaration2.d.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyNewExprLackConstructorSignature.ts"
|
||
Expect Syntax Error: "compiler/implicitAnyWidenToAny.ts"
|
||
Expect Syntax Error: "compiler/implicitConstParameters.ts"
|
||
Expect Syntax Error: "compiler/importAnImport.ts"
|
||
Expect Syntax Error: "compiler/importAndVariableDeclarationConflict1.ts"
|
||
Expect Syntax Error: "compiler/importAndVariableDeclarationConflict3.ts"
|
||
Expect Syntax Error: "compiler/importAndVariableDeclarationConflict4.ts"
|
||
Expect Syntax Error: "compiler/importDeclRefereingExternalModuleWithNoResolve.ts"
|
||
Expect Syntax Error: "compiler/importDeclWithClassModifiers.ts"
|
||
Expect Syntax Error: "compiler/importDeclWithDeclareModifier.ts"
|
||
Expect Syntax Error: "compiler/importDeclWithDeclareModifierInAmbientContext.ts"
|
||
Expect Syntax Error: "compiler/importDeclWithExportModifier.ts"
|
||
Expect Syntax Error: "compiler/importDeclWithExportModifierAndExportAssignment.ts"
|
||
Expect Syntax Error: "compiler/importDeclWithExportModifierAndExportAssignmentInAmbientContext.ts"
|
||
Expect Syntax Error: "compiler/importDeclarationInModuleDeclaration1.ts"
|
||
Expect Syntax Error: "compiler/importDeclarationInModuleDeclaration2.ts"
|
||
Expect Syntax Error: "compiler/importNotElidedWhenNotFound.ts"
|
||
Expect Syntax Error: "compiler/importTypeWithUnparenthesizedGenericFunctionParsed.ts"
|
||
Expect Syntax Error: "compiler/importWithTrailingSlash_noResolve.ts"
|
||
Expect Syntax Error: "compiler/importedModuleAddToGlobal.ts"
|
||
Expect Syntax Error: "compiler/inDoesNotOperateOnPrimitiveTypes.ts"
|
||
Expect Syntax Error: "compiler/inKeywordAndUnknown.ts"
|
||
Expect Syntax Error: "compiler/inOperator.ts"
|
||
Expect Syntax Error: "compiler/incompatibleAssignmentOfIdenticallyNamedTypes.ts"
|
||
Expect Syntax Error: "compiler/incompatibleExports1.ts"
|
||
Expect Syntax Error: "compiler/incompatibleExports2.ts"
|
||
Expect Syntax Error: "compiler/incompatibleGenericTypes.ts"
|
||
Expect Syntax Error: "compiler/incompatibleTypes.ts"
|
||
Expect Syntax Error: "compiler/incorrectClassOverloadChain.ts"
|
||
Expect Syntax Error: "compiler/incorrectNumberOfTypeArgumentsDuringErrorReporting.ts"
|
||
Expect Syntax Error: "compiler/incorrectRecursiveMappedTypeConstraint.ts"
|
||
Expect Syntax Error: "compiler/incrementOnTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/incrementalInvalid.ts"
|
||
Expect Syntax Error: "compiler/incrementalOut.ts"
|
||
Expect Syntax Error: "compiler/indexAt.ts"
|
||
Expect Syntax Error: "compiler/indexIntoArraySubclass.ts"
|
||
Expect Syntax Error: "compiler/indexSignatureAndMappedType.ts"
|
||
Expect Syntax Error: "compiler/indexSignatureOfTypeUnknownStillRequiresIndexSignature.ts"
|
||
Expect Syntax Error: "compiler/indexSignatureWithInitializer.ts"
|
||
Expect Syntax Error: "compiler/indexWithUndefinedAndNull.ts"
|
||
Expect Syntax Error: "compiler/indexWithUndefinedAndNullStrictNullChecks.ts"
|
||
Expect Syntax Error: "compiler/indexWithoutParamType2.ts"
|
||
Expect Syntax Error: "compiler/indexedAccessImplicitlyAny.ts"
|
||
Expect Syntax Error: "compiler/indexedAccessPrivateMemberOfGenericConstraint.ts"
|
||
Expect Syntax Error: "compiler/indexedAccessRelation.ts"
|
||
Expect Syntax Error: "compiler/indexedAccessWithFreshObjectLiteral.ts"
|
||
Expect Syntax Error: "compiler/indexer2A.ts"
|
||
Expect Syntax Error: "compiler/indexerConstraints.ts"
|
||
Expect Syntax Error: "compiler/indirectSelfReference.ts"
|
||
Expect Syntax Error: "compiler/indirectSelfReferenceGeneric.ts"
|
||
Expect Syntax Error: "compiler/inexistentPropertyInsideToStringType.ts"
|
||
Expect Syntax Error: "compiler/inferFromGenericFunctionReturnTypes1.ts"
|
||
Expect Syntax Error: "compiler/inferFromGenericFunctionReturnTypes3.ts"
|
||
Expect Syntax Error: "compiler/inferFromNestedSameShapeTuple.ts"
|
||
Expect Syntax Error: "compiler/inferSetterParamType.ts"
|
||
Expect Syntax Error: "compiler/inferenceFromIncompleteSource.ts"
|
||
Expect Syntax Error: "compiler/inferenceShouldFailOnEvolvingArrays.ts"
|
||
Expect Syntax Error: "compiler/inferentialTypingWithObjectLiteralProperties.ts"
|
||
Expect Syntax Error: "compiler/infiniteConstraints.ts"
|
||
Expect Syntax Error: "compiler/infinitelyExpandingTypes1.ts"
|
||
Expect Syntax Error: "compiler/inheritFromGenericTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/inheritSameNamePrivatePropertiesFromDifferentOrigins.ts"
|
||
Expect Syntax Error: "compiler/inheritSameNamePropertiesWithDifferentOptionality.ts"
|
||
Expect Syntax Error: "compiler/inheritSameNamePropertiesWithDifferentVisibility.ts"
|
||
Expect Syntax Error: "compiler/inheritance.ts"
|
||
Expect Syntax Error: "compiler/inheritance1.ts"
|
||
Expect Syntax Error: "compiler/inheritanceGrandParentPrivateMemberCollision.ts"
|
||
Expect Syntax Error: "compiler/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.ts"
|
||
Expect Syntax Error: "compiler/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.ts"
|
||
Expect Syntax Error: "compiler/inheritanceMemberAccessorOverridingMethod.ts"
|
||
Expect Syntax Error: "compiler/inheritanceMemberAccessorOverridingProperty.ts"
|
||
Expect Syntax Error: "compiler/inheritanceMemberFuncOverridingAccessor.ts"
|
||
Expect Syntax Error: "compiler/inheritanceMemberFuncOverridingProperty.ts"
|
||
Expect Syntax Error: "compiler/inheritanceMemberPropertyOverridingAccessor.ts"
|
||
Expect Syntax Error: "compiler/inheritanceStaticAccessorOverridingMethod.ts"
|
||
Expect Syntax Error: "compiler/inheritanceStaticFuncOverridingAccessor.ts"
|
||
Expect Syntax Error: "compiler/inheritanceStaticFuncOverridingProperty.ts"
|
||
Expect Syntax Error: "compiler/inheritanceStaticMembersIncompatible.ts"
|
||
Expect Syntax Error: "compiler/inheritanceStaticPropertyOverridingMethod.ts"
|
||
Expect Syntax Error: "compiler/inheritedConstructorWithRestParams.ts"
|
||
Expect Syntax Error: "compiler/inheritedConstructorWithRestParams2.ts"
|
||
Expect Syntax Error: "compiler/inheritedMembersAndIndexSignaturesFromDifferentBases.ts"
|
||
Expect Syntax Error: "compiler/inheritedModuleMembersForClodule.ts"
|
||
Expect Syntax Error: "compiler/inheritedStringIndexersFromDifferentBaseTypes.ts"
|
||
Expect Syntax Error: "compiler/inheritedStringIndexersFromDifferentBaseTypes2.ts"
|
||
Expect Syntax Error: "compiler/initializedDestructuringAssignmentTypes.ts"
|
||
Expect Syntax Error: "compiler/initializerWithThisPropertyAccess.ts"
|
||
Expect Syntax Error: "compiler/inlineSourceMap.ts"
|
||
Expect Syntax Error: "compiler/inlineSourceMap2.ts"
|
||
Expect Syntax Error: "compiler/innerAliases.ts"
|
||
Expect Syntax Error: "compiler/innerTypeCheckOfLambdaArgument.ts"
|
||
Expect Syntax Error: "compiler/instanceSubtypeCheck2.ts"
|
||
Expect Syntax Error: "compiler/instanceofOperator.ts"
|
||
Expect Syntax Error: "compiler/instanceofWithPrimitiveUnion.ts"
|
||
Expect Syntax Error: "compiler/instanceofWithStructurallyIdenticalTypes.ts"
|
||
Expect Syntax Error: "compiler/instantiateTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/interfaceAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/interfaceDeclaration1.ts"
|
||
Expect Syntax Error: "compiler/interfaceDeclaration3.ts"
|
||
Expect Syntax Error: "compiler/interfaceDeclaration6.ts"
|
||
Expect Syntax Error: "compiler/interfaceExtendsClassWithPrivate1.ts"
|
||
Expect Syntax Error: "compiler/interfaceExtendsClassWithPrivate2.ts"
|
||
Expect Syntax Error: "compiler/interfaceImplementation1.ts"
|
||
Expect Syntax Error: "compiler/interfaceImplementation2.ts"
|
||
Expect Syntax Error: "compiler/interfaceImplementation3.ts"
|
||
Expect Syntax Error: "compiler/interfaceImplementation4.ts"
|
||
Expect Syntax Error: "compiler/interfaceImplementation6.ts"
|
||
Expect Syntax Error: "compiler/interfaceImplementation7.ts"
|
||
Expect Syntax Error: "compiler/interfaceImplementation8.ts"
|
||
Expect Syntax Error: "compiler/interfaceInheritance.ts"
|
||
Expect Syntax Error: "compiler/interfaceMayNotBeExtendedWitACall.ts"
|
||
Expect Syntax Error: "compiler/interfaceMemberValidation.ts"
|
||
Expect Syntax Error: "compiler/interfaceNameAsIdentifier.ts"
|
||
Expect Syntax Error: "compiler/interfacePropertiesWithSameName2.ts"
|
||
Expect Syntax Error: "compiler/interfacePropertiesWithSameName3.ts"
|
||
Expect Syntax Error: "compiler/interfaceWithImplements1.ts"
|
||
Expect Syntax Error: "compiler/interfaceWithMultipleDeclarations.ts"
|
||
Expect Syntax Error: "compiler/interfacedeclWithIndexerErrors.ts"
|
||
Expect Syntax Error: "compiler/internalAliasClassInsideLocalModuleWithoutExportAccessError.ts"
|
||
Expect Syntax Error: "compiler/internalAliasEnumInsideLocalModuleWithoutExportAccessError.ts"
|
||
Expect Syntax Error: "compiler/internalAliasFunctionInsideLocalModuleWithoutExportAccessError.ts"
|
||
Expect Syntax Error: "compiler/internalAliasInitializedModuleInsideLocalModuleWithoutExportAccessError.ts"
|
||
Expect Syntax Error: "compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.ts"
|
||
Expect Syntax Error: "compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts"
|
||
Expect Syntax Error: "compiler/internalAliasVarInsideLocalModuleWithoutExportAccessError.ts"
|
||
Expect Syntax Error: "compiler/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.ts"
|
||
Expect Syntax Error: "compiler/internalImportInstantiatedModuleNotReferencingInstance.ts"
|
||
Expect Syntax Error: "compiler/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.ts"
|
||
Expect Syntax Error: "compiler/intersectionPropertyCheck.ts"
|
||
Expect Syntax Error: "compiler/intersectionWithConflictingPrivates.ts"
|
||
Expect Syntax Error: "compiler/intersectionsAndOptionalProperties.ts"
|
||
Expect Syntax Error: "compiler/intersectionsAndReadonlyProperties.ts"
|
||
Expect Syntax Error: "compiler/intersectionsOfLargeUnions.ts"
|
||
Expect Syntax Error: "compiler/intersectionsOfLargeUnions2.ts"
|
||
Expect Syntax Error: "compiler/intrinsics.ts"
|
||
Expect Syntax Error: "compiler/invalidConstraint1.ts"
|
||
Expect Syntax Error: "compiler/invalidReferenceSyntax1.ts"
|
||
Expect Syntax Error: "compiler/invalidStaticField.ts"
|
||
Expect Syntax Error: "compiler/invalidSymbolInTypeParameter1.ts"
|
||
Expect Syntax Error: "compiler/invalidTripleSlashReference.ts"
|
||
Expect Syntax Error: "compiler/invalidUseOfTypeAsNamespace.ts"
|
||
Expect Syntax Error: "compiler/invariantGenericErrorElaboration.ts"
|
||
Expect Syntax Error: "compiler/invocationExpressionInFunctionParameter.ts"
|
||
Expect Syntax Error: "compiler/invokingNonGenericMethodWithTypeArguments1.ts"
|
||
Expect Syntax Error: "compiler/invokingNonGenericMethodWithTypeArguments2.ts"
|
||
Expect Syntax Error: "compiler/isLiteral1.ts"
|
||
Expect Syntax Error: "compiler/isLiteral2.ts"
|
||
Expect Syntax Error: "compiler/isolatedModulesAmbientConstEnum.ts"
|
||
Expect Syntax Error: "compiler/isolatedModulesImportExportElision.ts"
|
||
Expect Syntax Error: "compiler/isolatedModulesNoEmitOnError.ts"
|
||
Expect Syntax Error: "compiler/isolatedModulesRequiresPreserveConstEnum.ts"
|
||
Expect Syntax Error: "compiler/javascriptThisAssignmentInStaticBlock.ts"
|
||
Expect Syntax Error: "compiler/jsCheckObjectDefineThisNoCrash.ts"
|
||
Expect Syntax Error: "compiler/jsElementAccessNoContextualTypeCrash.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationAbstractModifier.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationAmbientVarDeclarationSyntax.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationBindDeepExportsAssignment.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationBindReachabilityErrors.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationClassMethodContainingArrowFunction.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationEnumSyntax.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationExportAssignmentSyntax.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationHeritageClauseSyntaxOfClass.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationImportEqualsSyntax.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationInterfaceSyntax.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationLetBeingRenamed.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationModuleSyntax.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationNonNullAssertion.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationOptionalClassElementSyntaxOfClass.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationOptionalParameter.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationPublicMethodSyntaxOfClass.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationPublicParameterModifier.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationRestParamJsDocFunction.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationRestParameter.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationReturnTypeSyntaxOfFunction.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationShortHandProperty.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationSyntaxError.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationTypeAliasSyntax.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationTypeAssertions.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationTypeOfParameter.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationTypeParameterSyntaxOfClass.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationTypeParameterSyntaxOfClassExpression.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationTypeParameterSyntaxOfFunction.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationTypeSyntaxOfVar.ts"
|
||
Expect Syntax Error: "compiler/jsFileCompilationWithoutJsExtensions.ts"
|
||
Expect Syntax Error: "compiler/jsFileMethodOverloads3.ts"
|
||
Expect Syntax Error: "compiler/jsFunctionWithPrototypeNoErrorTruncationNoCrash.ts"
|
||
Expect Syntax Error: "compiler/jsPropertyAssignedAfterMethodDeclaration.ts"
|
||
Expect Syntax Error: "compiler/jsdocArrayObjectPromiseNoImplicitAny.ts"
|
||
Expect Syntax Error: "compiler/jsdocCallbackAndType.ts"
|
||
Expect Syntax Error: "compiler/jsdocClassMissingTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/jsdocFunctionTypeFalsePositive.ts"
|
||
Expect Syntax Error: "compiler/jsdocIllegalTags.ts"
|
||
Expect Syntax Error: "compiler/jsdocInTypeScript.ts"
|
||
Expect Syntax Error: "compiler/jsdocParamTagInvalid.ts"
|
||
Expect Syntax Error: "compiler/jsdocParameterParsingInfiniteLoop.ts"
|
||
Expect Syntax Error: "compiler/jsdocResolveNameFailureInTypedef.ts"
|
||
Expect Syntax Error: "compiler/jsdocRestParameter.ts"
|
||
Expect Syntax Error: "compiler/jsdocTypeCast.ts"
|
||
Expect Syntax Error: "compiler/jsdocTypedefMissingType.ts"
|
||
Expect Syntax Error: "compiler/jsdocTypedefNoCrash2.ts"
|
||
Expect Syntax Error: "compiler/jsxAttributeWithoutExpressionReact.tsx"
|
||
Expect Syntax Error: "compiler/jsxCallElaborationCheckNoCrash1.tsx"
|
||
Expect Syntax Error: "compiler/jsxChildWrongType.tsx"
|
||
Expect Syntax Error: "compiler/jsxChildrenArrayWrongType.tsx"
|
||
Expect Syntax Error: "compiler/jsxChildrenGenericContextualTypes.tsx"
|
||
Expect Syntax Error: "compiler/jsxChildrenIndividualErrorElaborations.tsx"
|
||
Expect Syntax Error: "compiler/jsxChildrenWrongType.tsx"
|
||
Expect Syntax Error: "compiler/jsxComponentTypeErrors.tsx"
|
||
Expect Syntax Error: "compiler/jsxElementType.tsx"
|
||
Expect Syntax Error: "compiler/jsxElementTypeLiteral.tsx"
|
||
Expect Syntax Error: "compiler/jsxEmptyExpressionNotCountedAsChild2.tsx"
|
||
Expect Syntax Error: "compiler/jsxExcessPropsAndAssignability.tsx"
|
||
Expect Syntax Error: "compiler/jsxFactoryAndJsxFragmentFactoryErrorNotIdentifier.tsx"
|
||
Expect Syntax Error: "compiler/jsxFactoryButNoJsxFragmentFactory.tsx"
|
||
Expect Syntax Error: "compiler/jsxFactoryIdentifierWithAbsentParameter.ts"
|
||
Expect Syntax Error: "compiler/jsxFactoryMissingErrorInsideAClass.ts"
|
||
Expect Syntax Error: "compiler/jsxFactoryQualifiedNameResolutionError.ts"
|
||
Expect Syntax Error: "compiler/jsxImportSourceNonPragmaComment.tsx"
|
||
Expect Syntax Error: "compiler/jsxIntrinsicElementsTypeArgumentErrors.tsx"
|
||
Expect Syntax Error: "compiler/jsxIssuesErrorWhenTagExpectsTooManyArguments.tsx"
|
||
Expect Syntax Error: "compiler/jsxNamespacePrefixIntrinsics.tsx"
|
||
Expect Syntax Error: "compiler/keyofDoesntContainSymbols.ts"
|
||
Expect Syntax Error: "compiler/keyofIsLiteralContexualType.ts"
|
||
Expect Syntax Error: "compiler/knockout.ts"
|
||
Expect Syntax Error: "compiler/lambdaArgCrash.ts"
|
||
Expect Syntax Error: "compiler/lambdaParamTypes.ts"
|
||
Expect Syntax Error: "compiler/lambdaPropSelf.ts"
|
||
Expect Syntax Error: "compiler/largeControlFlowGraph.ts"
|
||
Expect Syntax Error: "compiler/lastPropertyInLiteralWins.ts"
|
||
Expect Syntax Error: "compiler/lateBoundConstraintTypeChecksCorrectly.ts"
|
||
Expect Syntax Error: "compiler/lateBoundDestructuringImplicitAnyError.ts"
|
||
Expect Syntax Error: "compiler/letAsIdentifier.ts"
|
||
Expect Syntax Error: "compiler/letConstInCaseClauses.ts"
|
||
Expect Syntax Error: "compiler/letDeclarations-scopes2.ts"
|
||
Expect Syntax Error: "compiler/letDeclarations-useBeforeDefinition.ts"
|
||
Expect Syntax Error: "compiler/lift.ts"
|
||
Expect Syntax Error: "compiler/limitDeepInstantiations.ts"
|
||
Expect Syntax Error: "compiler/literalFreshnessPropagationOnNarrowing.ts"
|
||
Expect Syntax Error: "compiler/literals-negative.ts"
|
||
Expect Syntax Error: "compiler/literalsInComputedProperties1.ts"
|
||
Expect Syntax Error: "compiler/logicalNotExpression1.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeAsStringTemplate.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeGenericWithKnownKeys.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeIndexedAccess.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeNotMistakenlyHomomorphic.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeRecursiveInference.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeUnionConstrainTupleTreatedAsArrayLike.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeUnionConstraintInferences.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeWithAsClauseAndLateBoundProperty.ts"
|
||
Expect Syntax Error: "compiler/mappedTypeWithCombinedTypeMappers.ts"
|
||
Expect Syntax Error: "compiler/matchReturnTypeInAllBranches.ts"
|
||
Expect Syntax Error: "compiler/maxConstraints.ts"
|
||
Expect Syntax Error: "compiler/maximum10SpellingSuggestions.ts"
|
||
Expect Syntax Error: "compiler/memberOverride.ts"
|
||
Expect Syntax Error: "compiler/memberScope.ts"
|
||
Expect Syntax Error: "compiler/mergedClassNamespaceRecordCast.ts"
|
||
Expect Syntax Error: "compiler/mergedDeclarationExports.ts"
|
||
Expect Syntax Error: "compiler/mergedDeclarations2.ts"
|
||
Expect Syntax Error: "compiler/mergedDeclarations3.ts"
|
||
Expect Syntax Error: "compiler/metadataImportType.ts"
|
||
Expect Syntax Error: "compiler/methodChainError.ts"
|
||
Expect Syntax Error: "compiler/methodInAmbientClass1.ts"
|
||
Expect Syntax Error: "compiler/methodSignatureHandledDeclarationKindForSymbol.ts"
|
||
Expect Syntax Error: "compiler/mismatchedExplicitTypeParameterAndArgumentType.ts"
|
||
Expect Syntax Error: "compiler/mismatchedGenericArguments1.ts"
|
||
Expect Syntax Error: "compiler/missingCommaInTemplateStringsArray.ts"
|
||
Expect Syntax Error: "compiler/missingDomElements.ts"
|
||
Expect Syntax Error: "compiler/missingFunctionImplementation.ts"
|
||
Expect Syntax Error: "compiler/missingPropertiesOfClassExpression.ts"
|
||
Expect Syntax Error: "compiler/missingRequiredDeclare.d.ts"
|
||
Expect Syntax Error: "compiler/missingReturnStatement.ts"
|
||
Expect Syntax Error: "compiler/missingReturnStatement1.ts"
|
||
Expect Syntax Error: "compiler/missingTypeArguments1.ts"
|
||
Expect Syntax Error: "compiler/missingTypeArguments2.ts"
|
||
Expect Syntax Error: "compiler/mixedStaticAndInstanceClassMembers.ts"
|
||
Expect Syntax Error: "compiler/mixinPrivateAndProtected.ts"
|
||
Expect Syntax Error: "compiler/mixingStaticAndInstanceOverloads.ts"
|
||
Expect Syntax Error: "compiler/modifierOnParameter1.ts"
|
||
Expect Syntax Error: "compiler/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.ts"
|
||
Expect Syntax Error: "compiler/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.ts"
|
||
Expect Syntax Error: "compiler/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.ts"
|
||
Expect Syntax Error: "compiler/moduleAndInterfaceSharingName2.ts"
|
||
Expect Syntax Error: "compiler/moduleAndInterfaceWithSameName.ts"
|
||
Expect Syntax Error: "compiler/moduleAsBaseType.ts"
|
||
Expect Syntax Error: "compiler/moduleAssignmentCompat1.ts"
|
||
Expect Syntax Error: "compiler/moduleAssignmentCompat2.ts"
|
||
Expect Syntax Error: "compiler/moduleAssignmentCompat3.ts"
|
||
Expect Syntax Error: "compiler/moduleAssignmentCompat4.ts"
|
||
Expect Syntax Error: "compiler/moduleAugmentationGlobal6.ts"
|
||
Expect Syntax Error: "compiler/moduleAugmentationGlobal6_1.ts"
|
||
Expect Syntax Error: "compiler/moduleAugmentationGlobal7.ts"
|
||
Expect Syntax Error: "compiler/moduleAugmentationGlobal7_1.ts"
|
||
Expect Syntax Error: "compiler/moduleAugmentationGlobal8.ts"
|
||
Expect Syntax Error: "compiler/moduleAugmentationGlobal8_1.ts"
|
||
Expect Syntax Error: "compiler/moduleClassArrayCodeGenTest.ts"
|
||
Expect Syntax Error: "compiler/moduleCrashBug1.ts"
|
||
Expect Syntax Error: "compiler/moduleElementsInWrongContext.ts"
|
||
Expect Syntax Error: "compiler/moduleElementsInWrongContext2.ts"
|
||
Expect Syntax Error: "compiler/moduleElementsInWrongContext3.ts"
|
||
Expect Syntax Error: "compiler/moduleExports1.ts"
|
||
Expect Syntax Error: "compiler/moduleImport.ts"
|
||
Expect Syntax Error: "compiler/moduleNewExportBug.ts"
|
||
Expect Syntax Error: "compiler/moduleNoneErrors.ts"
|
||
Expect Syntax Error: "compiler/moduleProperty2.ts"
|
||
Expect Syntax Error: "compiler/moduleSharesNameWithImportDeclarationInsideIt3.ts"
|
||
Expect Syntax Error: "compiler/moduleSharesNameWithImportDeclarationInsideIt5.ts"
|
||
Expect Syntax Error: "compiler/moduleVariableArrayIndexer.ts"
|
||
Expect Syntax Error: "compiler/moduleVisibilityTest2.ts"
|
||
Expect Syntax Error: "compiler/moduleVisibilityTest3.ts"
|
||
Expect Syntax Error: "compiler/moduleVisibilityTest4.ts"
|
||
Expect Syntax Error: "compiler/moduleWithNoValuesAsType.ts"
|
||
Expect Syntax Error: "compiler/moduleWithValuesAsType.ts"
|
||
Expect Syntax Error: "compiler/module_augmentExistingAmbientVariable.ts"
|
||
Expect Syntax Error: "compiler/module_augmentExistingVariable.ts"
|
||
Expect Syntax Error: "compiler/multiLineContextDiagnosticWithPretty.ts"
|
||
Expect Syntax Error: "compiler/multiLineErrors.ts"
|
||
Expect Syntax Error: "compiler/multipleBaseInterfaesWithIncompatibleProperties.ts"
|
||
Expect Syntax Error: "compiler/multipleClassPropertyModifiers.ts"
|
||
Expect Syntax Error: "compiler/multipleClassPropertyModifiersErrors.ts"
|
||
Expect Syntax Error: "compiler/multipleExportAssignments.ts"
|
||
Expect Syntax Error: "compiler/multipleExportAssignmentsInAmbientDeclaration.ts"
|
||
Expect Syntax Error: "compiler/multipleExports.ts"
|
||
Expect Syntax Error: "compiler/multipleInheritance.ts"
|
||
Expect Syntax Error: "compiler/multivar.ts"
|
||
Expect Syntax Error: "compiler/mutuallyRecursiveCallbacks.ts"
|
||
Expect Syntax Error: "compiler/namedFunctionExpressionCallErrors.ts"
|
||
Expect Syntax Error: "compiler/namespaceDisambiguationInUnion.ts"
|
||
Expect Syntax Error: "compiler/namespacesDeclaration2.ts"
|
||
Expect Syntax Error: "compiler/nanEquality.ts"
|
||
Expect Syntax Error: "compiler/narrowByEquality.ts"
|
||
Expect Syntax Error: "compiler/narrowingMutualSubtypes.ts"
|
||
Expect Syntax Error: "compiler/narrowingOfDottedNames.ts"
|
||
Expect Syntax Error: "compiler/narrowingOfQualifiedNames.ts"
|
||
Expect Syntax Error: "compiler/narrowingTruthyObject.ts"
|
||
Expect Syntax Error: "compiler/nativeToBoxedTypes.ts"
|
||
Expect Syntax Error: "compiler/nestedCallbackErrorNotFlattened.ts"
|
||
Expect Syntax Error: "compiler/nestedExcessPropertyChecking.ts"
|
||
Expect Syntax Error: "compiler/nestedFreshLiteral.ts"
|
||
Expect Syntax Error: "compiler/nestedRecursiveArraysOrObjectsError01.ts"
|
||
Expect Syntax Error: "compiler/newAbstractInstance.ts"
|
||
Expect Syntax Error: "compiler/newFunctionImplicitAny.ts"
|
||
Expect Syntax Error: "compiler/newMap.ts"
|
||
Expect Syntax Error: "compiler/newNonReferenceType.ts"
|
||
Expect Syntax Error: "compiler/newOnInstanceSymbol.ts"
|
||
Expect Syntax Error: "compiler/noCrashOnMixin.ts"
|
||
Expect Syntax Error: "compiler/noCrashOnNoLib.ts"
|
||
Expect Syntax Error: "compiler/noCrashOnParameterNamedRequire.ts"
|
||
Expect Syntax Error: "compiler/noDefaultLib.ts"
|
||
Expect Syntax Error: "compiler/noEmitOnError.ts"
|
||
Expect Syntax Error: "compiler/noErrorTruncation.ts"
|
||
Expect Syntax Error: "compiler/noErrorsInCallback.ts"
|
||
Expect Syntax Error: "compiler/noExcessiveStackDepthError.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyDestructuringParameterDeclaration.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyForIn.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyForMethodParameters.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyForwardReferencedInterface.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyFunctions.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyInBareInterface.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyInCastExpression.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyIndexing.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyIndexingSuppressed.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyLoopCrash.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyMissingGetAccessor.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyMissingSetAccessor.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyModule.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyNamelessParameter.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyParametersInAmbientClass.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyParametersInAmbientFunctions.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyParametersInAmbientModule.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyParametersInBareFunctions.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyParametersInClass.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyParametersInInterface.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyParametersInModule.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyReferencingDeclaredInterface.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyStringIndexerOnObject.ts"
|
||
Expect Syntax Error: "compiler/noImplicitAnyWithOverloads.ts"
|
||
Expect Syntax Error: "compiler/noImplicitReturnsExclusions.ts"
|
||
Expect Syntax Error: "compiler/noImplicitReturnsInAsync2.ts"
|
||
Expect Syntax Error: "compiler/noImplicitReturnsWithProtectedBlocks2.ts"
|
||
Expect Syntax Error: "compiler/noImplicitReturnsWithProtectedBlocks3.ts"
|
||
Expect Syntax Error: "compiler/noImplicitReturnsWithoutReturnExpression.ts"
|
||
Expect Syntax Error: "compiler/noImplicitSymbolToString.ts"
|
||
Expect Syntax Error: "compiler/noImplicitThisFunctions.ts"
|
||
Expect Syntax Error: "compiler/noImplicitUseStrict_amd.ts"
|
||
Expect Syntax Error: "compiler/noImplicitUseStrict_commonjs.ts"
|
||
Expect Syntax Error: "compiler/noImplicitUseStrict_es6.ts"
|
||
Expect Syntax Error: "compiler/noImplicitUseStrict_system.ts"
|
||
Expect Syntax Error: "compiler/noImplicitUseStrict_umd.ts"
|
||
Expect Syntax Error: "compiler/noMappedGetSet.ts"
|
||
Expect Syntax Error: "compiler/noParameterReassignmentIIFEAnnotated.ts"
|
||
Expect Syntax Error: "compiler/noRepeatedPropertyNames.ts"
|
||
Expect Syntax Error: "compiler/noStrictGenericChecks.ts"
|
||
Expect Syntax Error: "compiler/noTypeArgumentOnReturnType1.ts"
|
||
Expect Syntax Error: "compiler/noUnusedLocals_destructuringAssignment.ts"
|
||
Expect Syntax Error: "compiler/noUnusedLocals_selfReference.ts"
|
||
Expect Syntax Error: "compiler/noUnusedLocals_selfReference_skipsBlockLocations.ts"
|
||
Expect Syntax Error: "compiler/noUnusedLocals_typeParameterMergedWithParameter.ts"
|
||
Expect Syntax Error: "compiler/noUnusedLocals_writeOnly.ts"
|
||
Expect Syntax Error: "compiler/noUnusedLocals_writeOnlyProperty.ts"
|
||
Expect Syntax Error: "compiler/noUnusedLocals_writeOnlyProperty_dynamicNames.ts"
|
||
Expect Syntax Error: "compiler/nonArrayRestArgs.ts"
|
||
Expect Syntax Error: "compiler/nonExportedElementsOfMergedModules.ts"
|
||
Expect Syntax Error: "compiler/nonIdenticalTypeConstraints.ts"
|
||
Expect Syntax Error: "compiler/nonMergedDeclarationsAndOverloads.ts"
|
||
Expect Syntax Error: "compiler/nonMergedOverloads.ts"
|
||
Expect Syntax Error: "compiler/nonObjectUnionNestedExcessPropertyCheck.ts"
|
||
Expect Syntax Error: "compiler/nonexistentPropertyOnUnion.ts"
|
||
Expect Syntax Error: "compiler/nonexistentPropertyUnavailableOnPromisedType.ts"
|
||
Expect Syntax Error: "compiler/normalizedIntersectionTooComplex.ts"
|
||
Expect Syntax Error: "compiler/null.ts"
|
||
Expect Syntax Error: "compiler/nullKeyword.ts"
|
||
Expect Syntax Error: "compiler/nullableFunctionError.ts"
|
||
Expect Syntax Error: "compiler/numberToString.ts"
|
||
Expect Syntax Error: "compiler/numericClassMembers1.ts"
|
||
Expect Syntax Error: "compiler/numericIndexExpressions.ts"
|
||
Expect Syntax Error: "compiler/numericIndexerConstraint.ts"
|
||
Expect Syntax Error: "compiler/numericIndexerConstraint1.ts"
|
||
Expect Syntax Error: "compiler/numericIndexerConstraint2.ts"
|
||
Expect Syntax Error: "compiler/numericIndexerConstraint5.ts"
|
||
Expect Syntax Error: "compiler/numericIndexerTyping1.ts"
|
||
Expect Syntax Error: "compiler/numericIndexerTyping2.ts"
|
||
Expect Syntax Error: "compiler/numericUnderscoredSeparator.ts"
|
||
Expect Syntax Error: "compiler/objectBindingPattern_restElementWithPropertyName.ts"
|
||
Expect Syntax Error: "compiler/objectCreate-errors.ts"
|
||
Expect Syntax Error: "compiler/objectCreationOfElementAccessExpression.ts"
|
||
Expect Syntax Error: "compiler/objectFreeze.ts"
|
||
Expect Syntax Error: "compiler/objectFreezeLiteralsDontWiden.ts"
|
||
Expect Syntax Error: "compiler/objectLitIndexerContextualType.ts"
|
||
Expect Syntax Error: "compiler/objectLitStructuralTypeMismatch.ts"
|
||
Expect Syntax Error: "compiler/objectLitTargetTypeCallSite.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralExcessProperties.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralFreshnessWithSpread.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralFunctionArgContextualTyping.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralFunctionArgContextualTyping2.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralIndexerErrors.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralMemberWithoutBlock1.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralParameterResolution.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralPropertyImplicitlyAny.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralReferencingInternalProperties.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralThisWidenedOnUse.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralWithNumericPropertyName.ts"
|
||
Expect Syntax Error: "compiler/objectLiteralsAgainstUnionsOfArrays01.ts"
|
||
Expect Syntax Error: "compiler/omitTypeHelperModifiers01.ts"
|
||
Expect Syntax Error: "compiler/omitTypeTestErrors01.ts"
|
||
Expect Syntax Error: "compiler/omittedExpressionForOfLoop.ts"
|
||
Expect Syntax Error: "compiler/operationsAvailableOnPromisedType.ts"
|
||
Expect Syntax Error: "compiler/operatorAddNullUndefined.ts"
|
||
Expect Syntax Error: "compiler/optionalArgsWithDefaultValues.ts"
|
||
Expect Syntax Error: "compiler/optionalChainWithInstantiationExpression1.ts"
|
||
Expect Syntax Error: "compiler/optionalFunctionArgAssignability.ts"
|
||
Expect Syntax Error: "compiler/optionalParamArgsTest.ts"
|
||
Expect Syntax Error: "compiler/optionalParamAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/optionalParamReferencingOtherParams2.ts"
|
||
Expect Syntax Error: "compiler/optionalParamReferencingOtherParams3.ts"
|
||
Expect Syntax Error: "compiler/optionalParamTypeComparison.ts"
|
||
Expect Syntax Error: "compiler/optionalParameterInDestructuringWithInitializer.ts"
|
||
Expect Syntax Error: "compiler/optionalParameterProperty.ts"
|
||
Expect Syntax Error: "compiler/optionalParamterAndVariableDeclaration2.ts"
|
||
Expect Syntax Error: "compiler/optionalPropertiesInClasses.ts"
|
||
Expect Syntax Error: "compiler/optionalPropertiesTest.ts"
|
||
Expect Syntax Error: "compiler/optionalSetterParam.ts"
|
||
Expect Syntax Error: "compiler/optionsCompositeWithIncrementalFalse.ts"
|
||
Expect Syntax Error: "compiler/optionsInlineSourceMapMapRoot.ts"
|
||
Expect Syntax Error: "compiler/optionsInlineSourceMapSourcemap.ts"
|
||
Expect Syntax Error: "compiler/optionsOutAndNoModuleGen.ts"
|
||
Expect Syntax Error: "compiler/optionsStrictPropertyInitializationStrictNullChecks.ts"
|
||
Expect Syntax Error: "compiler/optionsTsBuildInfoFileWithoutIncrementalAndComposite.ts"
|
||
Expect Syntax Error: "compiler/orderMattersForSignatureGroupIdentity.ts"
|
||
Expect Syntax Error: "compiler/overEagerReturnTypeSpecialization.ts"
|
||
Expect Syntax Error: "compiler/overload1.ts"
|
||
Expect Syntax Error: "compiler/overloadAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/overloadErrorMatchesImplementationElaboaration.ts"
|
||
Expect Syntax Error: "compiler/overloadModifiersMustAgree.ts"
|
||
Expect Syntax Error: "compiler/overloadOnConstInheritance2.ts"
|
||
Expect Syntax Error: "compiler/overloadOnConstNoAnyImplementation.ts"
|
||
Expect Syntax Error: "compiler/overloadOnConstNoAnyImplementation2.ts"
|
||
Expect Syntax Error: "compiler/overloadOnConstNoStringImplementation2.ts"
|
||
Expect Syntax Error: "compiler/overloadOnConstantsInvalidOverload1.ts"
|
||
Expect Syntax Error: "compiler/overloadResolutionOnDefaultConstructor1.ts"
|
||
Expect Syntax Error: "compiler/overloadResolutionOverCTLambda.ts"
|
||
Expect Syntax Error: "compiler/overloadResolutionTest1.ts"
|
||
Expect Syntax Error: "compiler/overloadingOnConstants1.ts"
|
||
Expect Syntax Error: "compiler/overloadingOnConstants2.ts"
|
||
Expect Syntax Error: "compiler/overloadresolutionWithConstraintCheckingDeferred.ts"
|
||
Expect Syntax Error: "compiler/overloadsAndTypeArgumentArityErrors.ts"
|
||
Expect Syntax Error: "compiler/overloadsInDifferentContainersDisagreeOnAmbient.ts"
|
||
Expect Syntax Error: "compiler/overloadsWithComputedNames.ts"
|
||
Expect Syntax Error: "compiler/overloadsWithProvisionalErrors.ts"
|
||
Expect Syntax Error: "compiler/overloadsWithinClasses.ts"
|
||
Expect Syntax Error: "compiler/overridingPrivateStaticMembers.ts"
|
||
Expect Syntax Error: "compiler/paramPropertiesInSignatures.ts"
|
||
Expect Syntax Error: "compiler/parameterListAsTupleType.ts"
|
||
Expect Syntax Error: "compiler/parameterNamesInTypeParameterList.ts"
|
||
Expect Syntax Error: "compiler/parameterPropertyInConstructor1.ts"
|
||
Expect Syntax Error: "compiler/parameterPropertyInConstructor2.ts"
|
||
Expect Syntax Error: "compiler/parameterPropertyInConstructor3.ts"
|
||
Expect Syntax Error: "compiler/parameterPropertyOutsideConstructor.ts"
|
||
Expect Syntax Error: "compiler/paramsOnlyHaveLiteralTypesWhenAppropriatelyContextualized.ts"
|
||
Expect Syntax Error: "compiler/paramterDestrcuturingDeclaration.ts"
|
||
Expect Syntax Error: "compiler/parseCommaSeparatedNewlineNumber.ts"
|
||
Expect Syntax Error: "compiler/parseCommaSeparatedNewlineString.ts"
|
||
Expect Syntax Error: "compiler/parseTypes.ts"
|
||
Expect Syntax Error: "compiler/parseUnaryExpressionNoTypeAssertionInJsx1.ts"
|
||
Expect Syntax Error: "compiler/parseUnaryExpressionNoTypeAssertionInJsx3.ts"
|
||
Expect Syntax Error: "compiler/partialDiscriminatedUnionMemberHasGoodError.ts"
|
||
Expect Syntax Error: "compiler/potentiallyUncalledDecorators.ts"
|
||
Expect Syntax Error: "compiler/prettyFileWithErrorsAndTabs.ts"
|
||
Expect Syntax Error: "compiler/primaryExpressionMods.ts"
|
||
Expect Syntax Error: "compiler/primitiveConstraints1.ts"
|
||
Expect Syntax Error: "compiler/primitiveConstraints2.ts"
|
||
Expect Syntax Error: "compiler/primitiveMembers.ts"
|
||
Expect Syntax Error: "compiler/primitiveTypeAsClassName.ts"
|
||
Expect Syntax Error: "compiler/primitiveTypeAsInterfaceName.ts"
|
||
Expect Syntax Error: "compiler/primitiveTypeAsInterfaceNameGeneric.ts"
|
||
Expect Syntax Error: "compiler/primitiveTypeAssignment.ts"
|
||
Expect Syntax Error: "compiler/privacyGloImportParseErrors.ts"
|
||
Expect Syntax Error: "compiler/privacyImportParseErrors.ts"
|
||
Expect Syntax Error: "compiler/privateAccessInSubclass1.ts"
|
||
Expect Syntax Error: "compiler/privateFieldAssignabilityFromUnknown.ts"
|
||
Expect Syntax Error: "compiler/privateInterfaceProperties.ts"
|
||
Expect Syntax Error: "compiler/privateNameWeakMapCollision.ts"
|
||
Expect Syntax Error: "compiler/privateVisibility.ts"
|
||
Expect Syntax Error: "compiler/promiseChaining1.ts"
|
||
Expect Syntax Error: "compiler/promiseChaining2.ts"
|
||
Expect Syntax Error: "compiler/promiseEmptyTupleNoException.ts"
|
||
Expect Syntax Error: "compiler/promiseIdentity.ts"
|
||
Expect Syntax Error: "compiler/promiseIdentity2.ts"
|
||
Expect Syntax Error: "compiler/promiseIdentityWithAny.ts"
|
||
Expect Syntax Error: "compiler/promiseIdentityWithAny2.ts"
|
||
Expect Syntax Error: "compiler/promiseIdentityWithConstraints.ts"
|
||
Expect Syntax Error: "compiler/promisePermutations.ts"
|
||
Expect Syntax Error: "compiler/promisePermutations2.ts"
|
||
Expect Syntax Error: "compiler/promisePermutations3.ts"
|
||
Expect Syntax Error: "compiler/promisesWithConstraints.ts"
|
||
Expect Syntax Error: "compiler/propertiesAndIndexers.ts"
|
||
Expect Syntax Error: "compiler/propertiesAndIndexers2.ts"
|
||
Expect Syntax Error: "compiler/propertiesAndIndexersForNumericNames.ts"
|
||
Expect Syntax Error: "compiler/propertyAccess1.ts"
|
||
Expect Syntax Error: "compiler/propertyAccess2.ts"
|
||
Expect Syntax Error: "compiler/propertyAccess3.ts"
|
||
Expect Syntax Error: "compiler/propertyAccess4.ts"
|
||
Expect Syntax Error: "compiler/propertyAccess5.ts"
|
||
Expect Syntax Error: "compiler/propertyAccessOfReadonlyIndexSignature.ts"
|
||
Expect Syntax Error: "compiler/propertyAccessibility1.ts"
|
||
Expect Syntax Error: "compiler/propertyAccessibility2.ts"
|
||
Expect Syntax Error: "compiler/propertyAssignment.ts"
|
||
Expect Syntax Error: "compiler/propertyOrdering.ts"
|
||
Expect Syntax Error: "compiler/propertyOrdering2.ts"
|
||
Expect Syntax Error: "compiler/propertyParameterWithQuestionMark.ts"
|
||
Expect Syntax Error: "compiler/propertySignatures.ts"
|
||
Expect Syntax Error: "compiler/protectedMembers.ts"
|
||
Expect Syntax Error: "compiler/protectedMembersThisParameter.ts"
|
||
Expect Syntax Error: "compiler/protoAssignment.ts"
|
||
Expect Syntax Error: "compiler/prototypes.ts"
|
||
Expect Syntax Error: "compiler/publicGetterProtectedSetterFromThisParameter.ts"
|
||
Expect Syntax Error: "compiler/publicMemberImplementedAsPrivateInDerivedClass.ts"
|
||
Expect Syntax Error: "compiler/qualifiedModuleLocals.ts"
|
||
Expect Syntax Error: "compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.ts"
|
||
Expect Syntax Error: "compiler/qualify.ts"
|
||
Expect Syntax Error: "compiler/quickIntersectionCheckCorrectlyCachesErrors.ts"
|
||
Expect Syntax Error: "compiler/quickinfoTypeAtReturnPositionsInaccurate.ts"
|
||
Expect Syntax Error: "compiler/quotedModuleNameMustBeAmbient.ts"
|
||
Expect Syntax Error: "compiler/raiseErrorOnParameterProperty.ts"
|
||
Expect Syntax Error: "compiler/reExportUndefined1.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks1.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks2.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks3.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks4.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks5.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks6.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks7.ts"
|
||
Expect Syntax Error: "compiler/reachabilityChecks8.ts"
|
||
Expect Syntax Error: "compiler/reactDefaultPropsInferenceSuccess.tsx"
|
||
Expect Syntax Error: "compiler/reactImportUnusedInNewJSXEmit.tsx"
|
||
Expect Syntax Error: "compiler/reactNamespaceInvalidInput.tsx"
|
||
Expect Syntax Error: "compiler/reactNamespaceMissingDeclaration.tsx"
|
||
Expect Syntax Error: "compiler/reactReduxLikeDeferredInferenceAllowsAssignment.ts"
|
||
Expect Syntax Error: "compiler/readonlyAssignmentInSubclassOfClassExpression.ts"
|
||
Expect Syntax Error: "compiler/readonlyMembers.ts"
|
||
Expect Syntax Error: "compiler/readonlyTupleAndArrayElaboration.ts"
|
||
Expect Syntax Error: "compiler/reassignStaticProp.ts"
|
||
Expect Syntax Error: "compiler/reboundIdentifierOnImportAlias.ts"
|
||
Expect Syntax Error: "compiler/recursiveBaseCheck.ts"
|
||
Expect Syntax Error: "compiler/recursiveBaseCheck2.ts"
|
||
Expect Syntax Error: "compiler/recursiveBaseCheck3.ts"
|
||
Expect Syntax Error: "compiler/recursiveBaseCheck4.ts"
|
||
Expect Syntax Error: "compiler/recursiveBaseCheck5.ts"
|
||
Expect Syntax Error: "compiler/recursiveBaseCheck6.ts"
|
||
Expect Syntax Error: "compiler/recursiveBaseConstructorCreation3.ts"
|
||
Expect Syntax Error: "compiler/recursiveClassReferenceTest.ts"
|
||
Expect Syntax Error: "compiler/recursiveConditionalCrash4.ts"
|
||
Expect Syntax Error: "compiler/recursiveConditionalTypes.ts"
|
||
Expect Syntax Error: "compiler/recursiveFunctionTypes.ts"
|
||
Expect Syntax Error: "compiler/recursiveInheritance.ts"
|
||
Expect Syntax Error: "compiler/recursiveInheritance3.ts"
|
||
Expect Syntax Error: "compiler/recursiveInheritanceGeneric.ts"
|
||
Expect Syntax Error: "compiler/recursiveLetConst.ts"
|
||
Expect Syntax Error: "compiler/recursiveNamedLambdaCall.ts"
|
||
Expect Syntax Error: "compiler/recursiveResolveTypeMembers.ts"
|
||
Expect Syntax Error: "compiler/recursiveTupleTypeInference.ts"
|
||
Expect Syntax Error: "compiler/recursiveTypeComparison2.ts"
|
||
Expect Syntax Error: "compiler/recursiveTypeParameterConstraintReferenceLacksTypeArgs.ts"
|
||
Expect Syntax Error: "compiler/recursiveTypeRelations.ts"
|
||
Expect Syntax Error: "compiler/recursivelyExpandingUnionNoStackoverflow.ts"
|
||
Expect Syntax Error: "compiler/redefineArray.ts"
|
||
Expect Syntax Error: "compiler/relationalOperatorComparable.ts"
|
||
Expect Syntax Error: "compiler/renamingDestructuredPropertyInFunctionType.ts"
|
||
Expect Syntax Error: "compiler/renamingDestructuredPropertyInFunctionType3.ts"
|
||
Expect Syntax Error: "compiler/requiredInitializedParameter1.ts"
|
||
Expect Syntax Error: "compiler/requiredInitializedParameter2.ts"
|
||
Expect Syntax Error: "compiler/requiredMappedTypeModifierTrumpsVariance.ts"
|
||
Expect Syntax Error: "compiler/reservedNameOnInterfaceImport.ts"
|
||
Expect Syntax Error: "compiler/reservedNameOnModuleImportWithInterface.ts"
|
||
Expect Syntax Error: "compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts"
|
||
Expect Syntax Error: "compiler/restArgAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/restInvalidArgumentType.ts"
|
||
Expect Syntax Error: "compiler/restParamModifier2.ts"
|
||
Expect Syntax Error: "compiler/restParamsWithNonRestParams.ts"
|
||
Expect Syntax Error: "compiler/restUnion3.ts"
|
||
Expect Syntax Error: "compiler/returnInConstructor1.ts"
|
||
Expect Syntax Error: "compiler/returnTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/returnTypeTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/returnValueInSetter.ts"
|
||
Expect Syntax Error: "compiler/reverseMappedPartiallyInferableTypes.ts"
|
||
Expect Syntax Error: "compiler/reverseMappedTypeContextualTypeNotCircular.ts"
|
||
Expect Syntax Error: "compiler/satisfiesEmit.ts"
|
||
Expect Syntax Error: "compiler/scopeCheckExtendedClassInsidePublicMethod2.ts"
|
||
Expect Syntax Error: "compiler/scopeCheckExtendedClassInsideStaticMethod1.ts"
|
||
Expect Syntax Error: "compiler/scopeCheckInsidePublicMethod1.ts"
|
||
Expect Syntax Error: "compiler/scopeCheckInsideStaticMethod1.ts"
|
||
Expect Syntax Error: "compiler/scopeCheckStaticInitializer.ts"
|
||
Expect Syntax Error: "compiler/scopeTests.ts"
|
||
Expect Syntax Error: "compiler/scopingInCatchBlocks.ts"
|
||
Expect Syntax Error: "compiler/selfRef.ts"
|
||
Expect Syntax Error: "compiler/selfReferencesInFunctionParameters.ts"
|
||
Expect Syntax Error: "compiler/selfReferencingFile.ts"
|
||
Expect Syntax Error: "compiler/selfReferencingFile2.ts"
|
||
Expect Syntax Error: "compiler/selfReferencingFile3.ts"
|
||
Expect Syntax Error: "compiler/selfReferencingSpreadInLoop.ts"
|
||
Expect Syntax Error: "compiler/selfReferentialDefaultNoStackOverflow.ts"
|
||
Expect Syntax Error: "compiler/semicolonsInModuleDeclarations.ts"
|
||
Expect Syntax Error: "compiler/separate1-1.ts"
|
||
Expect Syntax Error: "compiler/setterWithReturn.ts"
|
||
Expect Syntax Error: "compiler/shadowPrivateMembers.ts"
|
||
Expect Syntax Error: "compiler/shadowedReservedCompilerDeclarationsWithNoEmit.ts"
|
||
Expect Syntax Error: "compiler/shorthand-property-es5-es6.ts"
|
||
Expect Syntax Error: "compiler/shorthand-property-es6-amd.ts"
|
||
Expect Syntax Error: "compiler/shorthand-property-es6-es6.ts"
|
||
Expect Syntax Error: "compiler/shorthandPropertyUndefined.ts"
|
||
Expect Syntax Error: "compiler/signatureLengthMismatchCall.ts"
|
||
Expect Syntax Error: "compiler/signatureLengthMismatchInOverload.ts"
|
||
Expect Syntax Error: "compiler/signatureLengthMismatchWithOptionalParameters.ts"
|
||
Expect Syntax Error: "compiler/signaturesUseJSDocForOptionalParameters.ts"
|
||
Expect Syntax Error: "compiler/slightlyIndirectedDeepObjectLiteralElaborations.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-Comment1.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-EmptyFile1.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-InterfacePrecedingVariableDeclaration1.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-LineBreaks.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-NewLine1.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-SemiColon1.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-SingleSpace1.ts"
|
||
Expect Syntax Error: "compiler/sourceMap-StringLiteralWithNewLine.ts"
|
||
Expect Syntax Error: "compiler/sourceMapSample.ts"
|
||
Expect Syntax Error: "compiler/sourceMapValidationEnums.ts"
|
||
Expect Syntax Error: "compiler/sourceMapValidationFor.ts"
|
||
Expect Syntax Error: "compiler/specialIntersectionsInMappedTypes.ts"
|
||
Expect Syntax Error: "compiler/specializedSignatureAsCallbackParameter1.ts"
|
||
Expect Syntax Error: "compiler/spellingSuggestionGlobal1.ts"
|
||
Expect Syntax Error: "compiler/spellingSuggestionGlobal2.ts"
|
||
Expect Syntax Error: "compiler/spellingSuggestionGlobal3.ts"
|
||
Expect Syntax Error: "compiler/spellingSuggestionGlobal4.ts"
|
||
Expect Syntax Error: "compiler/spellingSuggestionJSXAttribute.tsx"
|
||
Expect Syntax Error: "compiler/spellingSuggestionLeadingUnderscores01.ts"
|
||
Expect Syntax Error: "compiler/spellingSuggestionModule.ts"
|
||
Expect Syntax Error: "compiler/spliceTuples.ts"
|
||
Expect Syntax Error: "compiler/spreadInvalidArgumentType.ts"
|
||
Expect Syntax Error: "compiler/spreadOfParamsFromGeneratorMakesRequiredParams.ts"
|
||
Expect Syntax Error: "compiler/spyComparisonChecking.ts"
|
||
Expect Syntax Error: "compiler/staticAsIdentifier.ts"
|
||
Expect Syntax Error: "compiler/staticClassMemberError.ts"
|
||
Expect Syntax Error: "compiler/staticInstanceResolution4.ts"
|
||
Expect Syntax Error: "compiler/staticMemberExportAccess.ts"
|
||
Expect Syntax Error: "compiler/staticMemberOfClassAndPublicMemberOfAnotherClassAssignment.ts"
|
||
Expect Syntax Error: "compiler/staticMethodReferencingTypeArgument1.ts"
|
||
Expect Syntax Error: "compiler/staticMethodsReferencingClassTypeParameters.ts"
|
||
Expect Syntax Error: "compiler/staticMismatchBecauseOfPrototype.ts"
|
||
Expect Syntax Error: "compiler/staticModifierAlreadySeen.ts"
|
||
Expect Syntax Error: "compiler/staticMustPrecedePublic.ts"
|
||
Expect Syntax Error: "compiler/staticOffOfInstance1.ts"
|
||
Expect Syntax Error: "compiler/staticOffOfInstance2.ts"
|
||
Expect Syntax Error: "compiler/staticPropSuper.ts"
|
||
Expect Syntax Error: "compiler/staticVisibility.ts"
|
||
Expect Syntax Error: "compiler/staticVisibility2.ts"
|
||
Expect Syntax Error: "compiler/statics.ts"
|
||
Expect Syntax Error: "compiler/staticsNotInScopeInClodule.ts"
|
||
Expect Syntax Error: "compiler/strictFunctionTypesErrors.ts"
|
||
Expect Syntax Error: "compiler/strictModeInConstructor.ts"
|
||
Expect Syntax Error: "compiler/strictModeReservedWordInModuleDeclaration.ts"
|
||
Expect Syntax Error: "compiler/strictNullEmptyDestructuring.ts"
|
||
Expect Syntax Error: "compiler/strictNullNotNullIndexTypeNoLib.ts"
|
||
Expect Syntax Error: "compiler/strictOptionalProperties1.ts"
|
||
Expect Syntax Error: "compiler/strictOptionalProperties3.ts"
|
||
Expect Syntax Error: "compiler/stringIndexerAndConstructor.ts"
|
||
Expect Syntax Error: "compiler/stringIndexerAndConstructor1.ts"
|
||
Expect Syntax Error: "compiler/stringIndexerAssignments1.ts"
|
||
Expect Syntax Error: "compiler/stringIndexerAssignments2.ts"
|
||
Expect Syntax Error: "compiler/stringMappingAssignability.ts"
|
||
Expect Syntax Error: "compiler/super.ts"
|
||
Expect Syntax Error: "compiler/super1.ts"
|
||
Expect Syntax Error: "compiler/superAccess.ts"
|
||
Expect Syntax Error: "compiler/superCallArgsMustMatch.ts"
|
||
Expect Syntax Error: "compiler/superCallAssignResult.ts"
|
||
Expect Syntax Error: "compiler/superCallFromClassThatDerivesFromGenericTypeButWithIncorrectNumberOfTypeArguments1.ts"
|
||
Expect Syntax Error: "compiler/superCallFromClassThatDerivesFromGenericTypeButWithNoTypeArguments1.ts"
|
||
Expect Syntax Error: "compiler/superCallFromClassThatDerivesNonGenericTypeButWithTypeArguments1.ts"
|
||
Expect Syntax Error: "compiler/superCallInsideClassDeclaration.ts"
|
||
Expect Syntax Error: "compiler/superCallInsideClassExpression.ts"
|
||
Expect Syntax Error: "compiler/superCallWithMissingBaseClass.ts"
|
||
Expect Syntax Error: "compiler/superInConstructorParam1.ts"
|
||
Expect Syntax Error: "compiler/superInObjectLiterals_ES5.ts"
|
||
Expect Syntax Error: "compiler/superInObjectLiterals_ES6.ts"
|
||
Expect Syntax Error: "compiler/superNewCall1.ts"
|
||
Expect Syntax Error: "compiler/superPropertyAccess.ts"
|
||
Expect Syntax Error: "compiler/superPropertyAccess1.ts"
|
||
Expect Syntax Error: "compiler/superPropertyAccess2.ts"
|
||
Expect Syntax Error: "compiler/superPropertyAccessInSuperCall01.ts"
|
||
Expect Syntax Error: "compiler/superPropertyAccess_ES5.ts"
|
||
Expect Syntax Error: "compiler/super_inside-object-literal-getters-and-setters.ts"
|
||
Expect Syntax Error: "compiler/switchAssignmentCompat.ts"
|
||
Expect Syntax Error: "compiler/switchCaseCircularRefeference.ts"
|
||
Expect Syntax Error: "compiler/switchCases.ts"
|
||
Expect Syntax Error: "compiler/switchCasesExpressionTypeMismatch.ts"
|
||
Expect Syntax Error: "compiler/systemModule10.ts"
|
||
Expect Syntax Error: "compiler/systemModule10_ES5.ts"
|
||
Expect Syntax Error: "compiler/systemModule12.ts"
|
||
Expect Syntax Error: "compiler/systemModule14.ts"
|
||
Expect Syntax Error: "compiler/systemModule16.ts"
|
||
Expect Syntax Error: "compiler/systemModule2.ts"
|
||
Expect Syntax Error: "compiler/systemModule9.ts"
|
||
Expect Syntax Error: "compiler/taggedTemplateStringsWithCurriedFunction.ts"
|
||
Expect Syntax Error: "compiler/targetTypeBaseCalls.ts"
|
||
Expect Syntax Error: "compiler/targetTypeCastTest.ts"
|
||
Expect Syntax Error: "compiler/targetTypeTest1.ts"
|
||
Expect Syntax Error: "compiler/targetTypeTest3.ts"
|
||
Expect Syntax Error: "compiler/targetTypeVoidFunc.ts"
|
||
Expect Syntax Error: "compiler/templateLiteralIntersection2.ts"
|
||
Expect Syntax Error: "compiler/templateLiteralsInTypes.ts"
|
||
Expect Syntax Error: "compiler/templateStringsArrayTypeDefinedInES5Mode.ts"
|
||
Expect Syntax Error: "compiler/templateStringsArrayTypeNotDefinedES5Mode.ts"
|
||
Expect Syntax Error: "compiler/templateStringsArrayTypeRedefinedInES6Mode.ts"
|
||
Expect Syntax Error: "compiler/thisBinding.ts"
|
||
Expect Syntax Error: "compiler/thisBinding2.ts"
|
||
Expect Syntax Error: "compiler/thisExpressionInCallExpressionWithTypeArguments.ts"
|
||
Expect Syntax Error: "compiler/thisInConstructorParameter1.ts"
|
||
Expect Syntax Error: "compiler/thisInConstructorParameter2.ts"
|
||
Expect Syntax Error: "compiler/thisInFunctionCall.ts"
|
||
Expect Syntax Error: "compiler/thisInFunctionCallJs.ts"
|
||
Expect Syntax Error: "compiler/thisInModule.ts"
|
||
Expect Syntax Error: "compiler/thisInOuterClassBody.ts"
|
||
Expect Syntax Error: "compiler/thisInSuperCall.ts"
|
||
Expect Syntax Error: "compiler/thisInSuperCall1.ts"
|
||
Expect Syntax Error: "compiler/thisInSuperCall2.ts"
|
||
Expect Syntax Error: "compiler/thisInSuperCall3.ts"
|
||
Expect Syntax Error: "compiler/thisKeyword.ts"
|
||
Expect Syntax Error: "compiler/thisShadowingErrorSpans.ts"
|
||
Expect Syntax Error: "compiler/thisWhenTypeCheckFails.ts"
|
||
Expect Syntax Error: "compiler/this_inside-enum-should-not-be-allowed.ts"
|
||
Expect Syntax Error: "compiler/tooManyTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/topFunctionTypeNotCallable.ts"
|
||
Expect Syntax Error: "compiler/topLevelLambda.ts"
|
||
Expect Syntax Error: "compiler/topLevelLambda4.ts"
|
||
Expect Syntax Error: "compiler/trailingCommaInHeterogenousArrayLiteral1.ts"
|
||
Expect Syntax Error: "compiler/trailingCommasES3.ts"
|
||
Expect Syntax Error: "compiler/trivialSubtypeReductionNoStructuralCheck.ts"
|
||
Expect Syntax Error: "compiler/truthinessCallExpressionCoercion.ts"
|
||
Expect Syntax Error: "compiler/truthinessCallExpressionCoercion1.ts"
|
||
Expect Syntax Error: "compiler/truthinessCallExpressionCoercion2.ts"
|
||
Expect Syntax Error: "compiler/truthinessPromiseCoercion.ts"
|
||
Expect Syntax Error: "compiler/tryCatchFinallyControlFlow.ts"
|
||
Expect Syntax Error: "compiler/tslibInJs.ts"
|
||
Expect Syntax Error: "compiler/tsxInvokeComponentType.tsx"
|
||
Expect Syntax Error: "compiler/tsxNoTypeAnnotatedSFC.tsx"
|
||
Expect Syntax Error: "compiler/tsxNotUsingApparentTypeOfSFC.tsx"
|
||
Expect Syntax Error: "compiler/tsxTypeArgumentPartialDefinitionStillErrors.ts"
|
||
Expect Syntax Error: "compiler/tupleTypes.ts"
|
||
Expect Syntax Error: "compiler/typeAliasDeclarationEmit.ts"
|
||
Expect Syntax Error: "compiler/typeArgInference2WithError.ts"
|
||
Expect Syntax Error: "compiler/typeArgumentConstraintResolution1.ts"
|
||
Expect Syntax Error: "compiler/typeArgumentDefaultUsesConstraintOnCircularDefault.ts"
|
||
Expect Syntax Error: "compiler/typeArgumentInferenceWithConstraintAsCommonRoot.ts"
|
||
Expect Syntax Error: "compiler/typeArgumentsOnFunctionsWithNoTypeParameters.ts"
|
||
Expect Syntax Error: "compiler/typeArgumentsShouldDisallowNonGenericOverloads.ts"
|
||
Expect Syntax Error: "compiler/typeAssertionToGenericFunctionType.ts"
|
||
Expect Syntax Error: "compiler/typeCheckExportsVariable.ts"
|
||
Expect Syntax Error: "compiler/typeCheckObjectLiteralMethodBody.ts"
|
||
Expect Syntax Error: "compiler/typeCheckReturnExpression.ts"
|
||
Expect Syntax Error: "compiler/typeCheckTypeArgument.ts"
|
||
Expect Syntax Error: "compiler/typeCheckingInsideFunctionExpressionInArray.ts"
|
||
Expect Syntax Error: "compiler/typeComparisonCaching.ts"
|
||
Expect Syntax Error: "compiler/typeGuardConstructorClassAndNumber.ts"
|
||
Expect Syntax Error: "compiler/typeGuardConstructorDerivedClass.ts"
|
||
Expect Syntax Error: "compiler/typeGuardNarrowsIndexedAccessOfKnownProperty10.ts"
|
||
Expect Syntax Error: "compiler/typeGuardNarrowsIndexedAccessOfKnownProperty9.ts"
|
||
Expect Syntax Error: "compiler/typeIdentityConsidersBrands.ts"
|
||
Expect Syntax Error: "compiler/typeInfer1.ts"
|
||
Expect Syntax Error: "compiler/typeInferenceConflictingCandidates.ts"
|
||
Expect Syntax Error: "compiler/typeMatch1.ts"
|
||
Expect Syntax Error: "compiler/typeMatch2.ts"
|
||
Expect Syntax Error: "compiler/typeName1.ts"
|
||
Expect Syntax Error: "compiler/typeOfEnumAndVarRedeclarations.ts"
|
||
Expect Syntax Error: "compiler/typeOfOnTypeArg.ts"
|
||
Expect Syntax Error: "compiler/typeOfOperator1.ts"
|
||
Expect Syntax Error: "compiler/typeParamExtendsOtherTypeParam.ts"
|
||
Expect Syntax Error: "compiler/typeParameterArgumentEquivalence.ts"
|
||
Expect Syntax Error: "compiler/typeParameterArgumentEquivalence2.ts"
|
||
Expect Syntax Error: "compiler/typeParameterArgumentEquivalence3.ts"
|
||
Expect Syntax Error: "compiler/typeParameterArgumentEquivalence4.ts"
|
||
Expect Syntax Error: "compiler/typeParameterArgumentEquivalence5.ts"
|
||
Expect Syntax Error: "compiler/typeParameterAsBaseClass.ts"
|
||
Expect Syntax Error: "compiler/typeParameterAssignmentCompat1.ts"
|
||
Expect Syntax Error: "compiler/typeParameterConstrainedToOuterTypeParameter.ts"
|
||
Expect Syntax Error: "compiler/typeParameterConstraints1.ts"
|
||
Expect Syntax Error: "compiler/typeParameterDiamond2.ts"
|
||
Expect Syntax Error: "compiler/typeParameterDiamond3.ts"
|
||
Expect Syntax Error: "compiler/typeParameterDiamond4.ts"
|
||
Expect Syntax Error: "compiler/typeParameterExplicitlyExtendsAny.ts"
|
||
Expect Syntax Error: "compiler/typeParameterFixingWithContextSensitiveArguments2.ts"
|
||
Expect Syntax Error: "compiler/typeParameterFixingWithContextSensitiveArguments3.ts"
|
||
Expect Syntax Error: "compiler/typeParameterHasSelfAsConstraint.ts"
|
||
Expect Syntax Error: "compiler/typeParameterWithInvalidConstraintType.ts"
|
||
Expect Syntax Error: "compiler/typeParametersAndParametersInComputedNames.ts"
|
||
Expect Syntax Error: "compiler/typeParametersInStaticAccessors.ts"
|
||
Expect Syntax Error: "compiler/typeParametersInStaticMethods.ts"
|
||
Expect Syntax Error: "compiler/typeParametersInStaticProperties.ts"
|
||
Expect Syntax Error: "compiler/typeParametersShouldNotBeEqual.ts"
|
||
Expect Syntax Error: "compiler/typeParametersShouldNotBeEqual2.ts"
|
||
Expect Syntax Error: "compiler/typeParametersShouldNotBeEqual3.ts"
|
||
Expect Syntax Error: "compiler/typePredicateInLoop.ts"
|
||
Expect Syntax Error: "compiler/typeUsedAsTypeLiteralIndex.ts"
|
||
Expect Syntax Error: "compiler/typeUsedAsValueError.ts"
|
||
Expect Syntax Error: "compiler/typeValueConflict1.ts"
|
||
Expect Syntax Error: "compiler/typeValueConflict2.ts"
|
||
Expect Syntax Error: "compiler/typeVariableConstraintedToAliasNotAssignableToUnion.ts"
|
||
Expect Syntax Error: "compiler/typecheckCommaExpression.ts"
|
||
Expect Syntax Error: "compiler/typecheckIfCondition.ts"
|
||
Expect Syntax Error: "compiler/typedArrays-es5.ts"
|
||
Expect Syntax Error: "compiler/typedArraysCrossAssignability01.ts"
|
||
Expect Syntax Error: "compiler/typeofClass.ts"
|
||
Expect Syntax Error: "compiler/typeofInObjectLiteralType.ts"
|
||
Expect Syntax Error: "compiler/typeofInternalModules.ts"
|
||
Expect Syntax Error: "compiler/typeofProperty.ts"
|
||
Expect Syntax Error: "compiler/typeofSimple.ts"
|
||
Expect Syntax Error: "compiler/typeofUnknownSymbol.ts"
|
||
Expect Syntax Error: "compiler/umdDependencyComment2.ts"
|
||
Expect Syntax Error: "compiler/umdDependencyCommentName1.ts"
|
||
Expect Syntax Error: "compiler/umdDependencyCommentName2.ts"
|
||
Expect Syntax Error: "compiler/unaryOperators1.ts"
|
||
Expect Syntax Error: "compiler/uncalledFunctionChecksInConditional.ts"
|
||
Expect Syntax Error: "compiler/uncalledFunctionChecksInConditional2.ts"
|
||
Expect Syntax Error: "compiler/undeclaredBase.ts"
|
||
Expect Syntax Error: "compiler/undeclaredMethod.ts"
|
||
Expect Syntax Error: "compiler/undeclaredModuleError.ts"
|
||
Expect Syntax Error: "compiler/undeclaredVarEmit.ts"
|
||
Expect Syntax Error: "compiler/undefinedAssignableToGenericMappedIntersection.ts"
|
||
Expect Syntax Error: "compiler/undefinedSymbolReferencedInArrayLiteral1.ts"
|
||
Expect Syntax Error: "compiler/undefinedTypeArgument1.ts"
|
||
Expect Syntax Error: "compiler/undefinedTypeArgument2.ts"
|
||
Expect Syntax Error: "compiler/undefinedTypeAssignment1.ts"
|
||
Expect Syntax Error: "compiler/undefinedTypeAssignment2.ts"
|
||
Expect Syntax Error: "compiler/undefinedTypeAssignment3.ts"
|
||
Expect Syntax Error: "compiler/undefinedTypeAssignment4.ts"
|
||
Expect Syntax Error: "compiler/unionErrorMessageOnMatchingDiscriminant.ts"
|
||
Expect Syntax Error: "compiler/unionOfClassCalls.ts"
|
||
Expect Syntax Error: "compiler/unionPropertyExistence.ts"
|
||
Expect Syntax Error: "compiler/unionPropertyOfProtectedAndIntersectionProperty.ts"
|
||
Expect Syntax Error: "compiler/unionSubtypeReductionErrors.ts"
|
||
Expect Syntax Error: "compiler/unionTypeErrorMessageTypeRefs01.ts"
|
||
Expect Syntax Error: "compiler/unionTypeWithRecursiveSubtypeReduction2.ts"
|
||
Expect Syntax Error: "compiler/unionTypeWithRecursiveSubtypeReduction3.ts"
|
||
Expect Syntax Error: "compiler/uniqueSymbolAllowsIndexInObjectWithIndexSignature.ts"
|
||
Expect Syntax Error: "compiler/unknownSymbolInGenericReturnType.ts"
|
||
Expect Syntax Error: "compiler/unknownSymbolOffContextualType1.ts"
|
||
Expect Syntax Error: "compiler/unknownSymbols1.ts"
|
||
Expect Syntax Error: "compiler/unknownSymbols2.ts"
|
||
Expect Syntax Error: "compiler/unknownTypeArgOnCall.ts"
|
||
Expect Syntax Error: "compiler/unknownTypeErrors.ts"
|
||
Expect Syntax Error: "compiler/unqualifiedCallToClassStatic1.ts"
|
||
Expect Syntax Error: "compiler/unreachableJavascriptChecked.ts"
|
||
Expect Syntax Error: "compiler/unreachableSwitchTypeofAny.ts"
|
||
Expect Syntax Error: "compiler/unreachableSwitchTypeofUnknown.ts"
|
||
Expect Syntax Error: "compiler/unresolvableSelfReferencingAwaitedUnion.ts"
|
||
Expect Syntax Error: "compiler/unresolvedTypeAssertionSymbol.ts"
|
||
Expect Syntax Error: "compiler/unspecializedConstraints.ts"
|
||
Expect Syntax Error: "compiler/untypedFunctionCallsWithTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/unusedClassesinModule1.ts"
|
||
Expect Syntax Error: "compiler/unusedClassesinNamespace1.ts"
|
||
Expect Syntax Error: "compiler/unusedClassesinNamespace2.ts"
|
||
Expect Syntax Error: "compiler/unusedClassesinNamespace4.ts"
|
||
Expect Syntax Error: "compiler/unusedClassesinNamespace5.ts"
|
||
Expect Syntax Error: "compiler/unusedDestructuring.ts"
|
||
Expect Syntax Error: "compiler/unusedDestructuringParameters.ts"
|
||
Expect Syntax Error: "compiler/unusedFunctionsinNamespaces1.ts"
|
||
Expect Syntax Error: "compiler/unusedFunctionsinNamespaces2.ts"
|
||
Expect Syntax Error: "compiler/unusedFunctionsinNamespaces3.ts"
|
||
Expect Syntax Error: "compiler/unusedFunctionsinNamespaces4.ts"
|
||
Expect Syntax Error: "compiler/unusedFunctionsinNamespaces5.ts"
|
||
Expect Syntax Error: "compiler/unusedFunctionsinNamespaces6.ts"
|
||
Expect Syntax Error: "compiler/unusedGetterInClass.ts"
|
||
Expect Syntax Error: "compiler/unusedIdentifiersConsolidated1.ts"
|
||
Expect Syntax Error: "compiler/unusedImports10.ts"
|
||
Expect Syntax Error: "compiler/unusedInterfaceinNamespace1.ts"
|
||
Expect Syntax Error: "compiler/unusedInterfaceinNamespace2.ts"
|
||
Expect Syntax Error: "compiler/unusedInterfaceinNamespace3.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsAndObjectSpread.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsAndObjectSpread2.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsAndParametersTypeAliases2.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsInMethod1.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsInMethod2.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsInMethod3.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionDeclarationWithinFunctionDeclaration1.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionDeclarationWithinFunctionDeclaration2.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionDeclarationWithinFunctionExpression1.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionDeclarationWithinFunctionExpression2.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionExpressionWithinFunctionDeclaration1.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionExpressionWithinFunctionDeclaration2.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionExpressionWithinFunctionExpression1.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsStartingWithUnderscore.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsinConstructor1.ts"
|
||
Expect Syntax Error: "compiler/unusedLocalsinConstructor2.ts"
|
||
Expect Syntax Error: "compiler/unusedModuleInModule.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameter1InContructor.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameter1InFunctionExpression.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameter2InContructor.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameter2InFunctionExpression.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameters1InFunctionDeclaration.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameters1InMethodDeclaration.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameters2InFunctionDeclaration.ts"
|
||
Expect Syntax Error: "compiler/unusedMultipleParameters2InMethodDeclaration.ts"
|
||
Expect Syntax Error: "compiler/unusedNamespaceInModule.ts"
|
||
Expect Syntax Error: "compiler/unusedNamespaceInNamespace.ts"
|
||
Expect Syntax Error: "compiler/unusedParameterProperty1.ts"
|
||
Expect Syntax Error: "compiler/unusedParameterProperty2.ts"
|
||
Expect Syntax Error: "compiler/unusedParametersInLambda1.ts"
|
||
Expect Syntax Error: "compiler/unusedParametersInLambda2.ts"
|
||
Expect Syntax Error: "compiler/unusedParametersWithUnderscore.ts"
|
||
Expect Syntax Error: "compiler/unusedParametersinConstructor1.ts"
|
||
Expect Syntax Error: "compiler/unusedParametersinConstructor2.ts"
|
||
Expect Syntax Error: "compiler/unusedParametersinConstructor3.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateMembers.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateMethodInClass1.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateMethodInClass2.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateMethodInClass3.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateMethodInClass4.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateStaticMembers.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateVariableInClass1.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateVariableInClass2.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateVariableInClass3.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateVariableInClass4.ts"
|
||
Expect Syntax Error: "compiler/unusedPrivateVariableInClass5.ts"
|
||
Expect Syntax Error: "compiler/unusedSetterInClass.ts"
|
||
Expect Syntax Error: "compiler/unusedSingleParameterInContructor.ts"
|
||
Expect Syntax Error: "compiler/unusedSingleParameterInFunctionDeclaration.ts"
|
||
Expect Syntax Error: "compiler/unusedSingleParameterInFunctionExpression.ts"
|
||
Expect Syntax Error: "compiler/unusedSingleParameterInMethodDeclaration.ts"
|
||
Expect Syntax Error: "compiler/unusedSwitchStatement.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInFunction1.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInFunction2.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInFunction3.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInFunction4.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInInterface1.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInInterface2.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInLambda1.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInLambda2.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInLambda3.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInMethod1.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInMethod2.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInMethod3.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInMethod4.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameterInMethod5.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters1.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters10.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters2.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters3.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters4.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters5.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParametersCheckedByNoUnusedParameters.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParametersWithUnderscore.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters_infer.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters_templateTag.ts"
|
||
Expect Syntax Error: "compiler/unusedTypeParameters_templateTag2.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesWithUnderscoreInBindingElement.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesWithUnderscoreInForOfLoop.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinBlocks1.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinBlocks2.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinForLoop.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinForLoop2.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinForLoop3.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinForLoop4.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinModules1.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinNamespaces1.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinNamespaces2.ts"
|
||
Expect Syntax Error: "compiler/unusedVariablesinNamespaces3.ts"
|
||
Expect Syntax Error: "compiler/useBeforeDeclaration_destructuring.ts"
|
||
Expect Syntax Error: "compiler/useBeforeDeclaration_jsx.tsx"
|
||
Expect Syntax Error: "compiler/useBeforeDeclaration_propertyAssignment.ts"
|
||
Expect Syntax Error: "compiler/useBeforeDeclaration_superClass.ts"
|
||
Expect Syntax Error: "compiler/useUnknownInCatchVariables01.ts"
|
||
Expect Syntax Error: "compiler/varAndFunctionShareName.ts"
|
||
Expect Syntax Error: "compiler/varArgConstructorMemberParameter.ts"
|
||
Expect Syntax Error: "compiler/varBlock.ts"
|
||
Expect Syntax Error: "compiler/varNameConflictsWithImportInDifferentPartOfModule.ts"
|
||
Expect Syntax Error: "compiler/vararg.ts"
|
||
Expect Syntax Error: "compiler/variableDeclaratorResolvedDuringContextualTyping.ts"
|
||
Expect Syntax Error: "compiler/varianceAnnotationValidation.ts"
|
||
Expect Syntax Error: "compiler/varianceMeasurement.ts"
|
||
Expect Syntax Error: "compiler/voidArrayLit.ts"
|
||
Expect Syntax Error: "compiler/weakType.ts"
|
||
Expect Syntax Error: "compiler/widenToAny1.ts"
|
||
Expect Syntax Error: "compiler/widenToAny2.ts"
|
||
Expect Syntax Error: "compiler/widenedTypes.ts"
|
||
Expect Syntax Error: "compiler/wrappedRecursiveGenericType.ts"
|
||
Expect Syntax Error: "compiler/yieldExpression1.ts"
|
||
Expect Syntax Error: "compiler/yieldExpressionInFlowLoop.ts"
|
||
Expect Syntax Error: "conformance/Symbols/ES5SymbolProperty2.ts"
|
||
Expect Syntax Error: "conformance/Symbols/ES5SymbolProperty6.ts"
|
||
Expect Syntax Error: "conformance/additionalChecks/noPropertyAccessFromIndexSignature1.ts"
|
||
Expect Syntax Error: "conformance/ambient/ambientDeclarationsPatterns_tooManyAsterisks.ts"
|
||
Expect Syntax Error: "conformance/ambient/ambientErrors.ts"
|
||
Expect Syntax Error: "conformance/ambient/ambientExternalModuleInsideNonAmbient.ts"
|
||
Expect Syntax Error: "conformance/ambient/ambientExternalModuleInsideNonAmbientExternalModule.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/asyncArrowFunction/asyncArrowFunction10_es2017.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/asyncArrowFunction/asyncArrowFunction3_es2017.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/asyncArrowFunction/asyncArrowFunction_allowJs.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/asyncAwaitIsolatedModules_es2017.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/await_incorrectThisType.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/await_unaryExpression_es2017_1.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/await_unaryExpression_es2017_2.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration13_es2017.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration3_es2017.ts"
|
||
Expect Syntax Error: "conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration8_es2017.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncAliasReturnType_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncArrowFunction/asyncArrowFunction10_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncArrowFunction/asyncArrowFunction3_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncArrowFunction/asyncArrowFunctionCapturesArguments_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncAwaitIsolatedModules_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncClass_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncDeclare_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncEnum_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncInterface_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/asyncModule_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/functionDeclarations/asyncFunctionDeclaration13_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/functionDeclarations/asyncFunctionDeclaration15_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/functionDeclarations/asyncFunctionDeclaration3_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/functionDeclarations/asyncFunctionDeclaration8_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es5/functionDeclarations/asyncFunctionDeclarationCapturesArguments_es5.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncArrowFunction/asyncArrowFunction10_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncArrowFunction/asyncArrowFunction3_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncAwaitIsolatedModules_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncClass_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncDeclare_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncEnum_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncInterface_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncModule_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/asyncQualifiedReturnType_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/await_unaryExpression_es6_1.ts"
|
||
Expect Syntax Error: "conformance/async/es6/await_unaryExpression_es6_2.ts"
|
||
Expect Syntax Error: "conformance/async/es6/functionDeclarations/asyncFunctionDeclaration13_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/functionDeclarations/asyncFunctionDeclaration15_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/functionDeclarations/asyncFunctionDeclaration3_es6.ts"
|
||
Expect Syntax Error: "conformance/async/es6/functionDeclarations/asyncFunctionDeclaration8_es6.ts"
|
||
Expect Syntax Error: "conformance/classes/awaitAndYieldInProperty.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAccessor.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractAssignabilityConstructorFunction.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractClinterfaceAssignability.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractConstructor.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractConstructorAssignability.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractDeclarations.d.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractExtends.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractFactoryFunction.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractGeneric.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractImportInstantiation.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInAModule.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInheritance.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations1.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMethodInNonAbstractClass.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMethodWithImplementation.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractOverloads.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractOverrideWithAbstract.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractProperties.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractSingleLineDecl.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractSuperCalls.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractUsingAbstractMethod1.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractUsingAbstractMethods2.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAbstractKeyword/classAbstractWithInterface.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classAndInterfaceMergeConflictingMembers.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classExtendingClassLikeType.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classExtendingNonConstructor.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItself.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly2.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classHeritageSpecification/classExtendsShadowedConstructorFunction.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classHeritageSpecification/classExtendsValidConstructorFunction.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classHeritageSpecification/classIsSubtypeOfBaseType.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classImplementsMergedClassInterface.ts"
|
||
Expect Syntax Error: "conformance/classes/classDeclarations/classWithPredefinedTypesAsNames.ts"
|
||
Expect Syntax Error: "conformance/classes/classExpressions/classWithStaticFieldInParameterBindingPattern.2.ts"
|
||
Expect Syntax Error: "conformance/classes/classExpressions/classWithStaticFieldInParameterInitializer.2.ts"
|
||
Expect Syntax Error: "conformance/classes/classStaticBlock/classStaticBlock19.ts"
|
||
Expect Syntax Error: "conformance/classes/classStaticBlock/classStaticBlock23.ts"
|
||
Expect Syntax Error: "conformance/classes/classStaticBlock/classStaticBlock3.ts"
|
||
Expect Syntax Error: "conformance/classes/classStaticBlock/classStaticBlock4.ts"
|
||
Expect Syntax Error: "conformance/classes/classStaticBlock/classStaticBlock9.ts"
|
||
Expect Syntax Error: "conformance/classes/classStaticBlock/classStaticBlockUseBeforeDef2.ts"
|
||
Expect Syntax Error: "conformance/classes/classStaticBlock/classStaticBlockUseBeforeDef3.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/automaticConstructors/classWithoutExplicitConstructor.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/automaticConstructors/derivedClassWithoutExplicitConstructor.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/automaticConstructors/derivedClassWithoutExplicitConstructor2.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/automaticConstructors/derivedClassWithoutExplicitConstructor3.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/classConstructorAccessibility.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/classConstructorAccessibility2.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/classConstructorAccessibility3.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/classConstructorAccessibility5.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/classConstructorOverloadsAccessibility.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/classConstructorParametersAccessibility.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/classConstructorParametersAccessibility2.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/constructorDefaultValuesReferencingThis.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/constructorImplementationWithDefaultValues2.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/constructorOverloadsWithDefaultValues.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties2.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/readonlyConstructorAssignment.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/readonlyInAmbientClass.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/readonlyInConstructorParameters.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorParameters/readonlyReadonly.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/constructorWithAssignableReturnExpression.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/superCalls/derivedClassConstructorWithoutSuperCall.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/superCalls/derivedClassParameterProperties.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/superCalls/derivedClassSuperCallsWithThisArg.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/superCalls/derivedClassSuperProperties.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/superCalls/derivedClassSuperStatementPosition.ts"
|
||
Expect Syntax Error: "conformance/classes/constructorDeclarations/superCalls/superPropertyInConstructorBeforeSuperCall.ts"
|
||
Expect Syntax Error: "conformance/classes/indexMemberDeclarations/privateIndexer.ts"
|
||
Expect Syntax Error: "conformance/classes/indexMemberDeclarations/publicIndexer.ts"
|
||
Expect Syntax Error: "conformance/classes/indexMemberDeclarations/staticIndexers.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/classPropertyAsPrivate.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/classPropertyAsProtected.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/privateProtectedMembersAreNotAccessibleDestructuring.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/privateStaticMemberAccessibility.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/privateStaticNotAccessibleInClodule.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/privateStaticNotAccessibleInClodule2.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedSubclass.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinNestedSubclass1.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclass2.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedClassPropertyAccessibleWithinSubclass3.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedInstanceMemberAccessibility.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinSubclass.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedStaticClassPropertyAccessibleWithinSubclass2.ts"
|
||
Expect Syntax Error: "conformance/classes/members/accessibility/protectedStaticNotAccessibleInClodule.ts"
|
||
Expect Syntax Error: "conformance/classes/members/classTypes/genericSetterInClassTypeJsDoc.ts"
|
||
Expect Syntax Error: "conformance/classes/members/classTypes/instancePropertiesInheritedIntoClassType.ts"
|
||
Expect Syntax Error: "conformance/classes/members/classTypes/instancePropertyInClassType.ts"
|
||
Expect Syntax Error: "conformance/classes/members/classTypes/staticPropertyNotInClassType.ts"
|
||
Expect Syntax Error: "conformance/classes/members/constructorFunctionTypes/classWithBaseClassButNoConstructor.ts"
|
||
Expect Syntax Error: "conformance/classes/members/constructorFunctionTypes/classWithConstructors.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassFunctionOverridesBaseClassAccessor.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesPrivates.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesProtectedMembers3.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesProtectedMembers4.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity2.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity3.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassTransitivity4.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassWithAny.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateInstanceShadowingProtectedInstance.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateInstanceShadowingPublicInstance.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateStaticShadowingProtectedStatic.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedClassWithPrivateStaticShadowingPublicStatic.ts"
|
||
Expect Syntax Error: "conformance/classes/members/inheritanceAndOverriding/derivedGenericClassWithAny.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInInstanceMember.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers10.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers11.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers12.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers13.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers8.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers9.ts"
|
||
Expect Syntax Error: "conformance/classes/members/instanceAndStaticMembers/typeOfThisInstanceMemberNarrowedWithLoopAntecedent.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameAccessors.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameAmbientNoImplicitAny.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameAndObjectRestSpread.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameBadSuper.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameBadSuperUseDefineForClassFields.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameCircularReference.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameDeclarationMerging.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameES5Ban.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameFieldsESNext.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameInInExpressionUnused.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameMethod.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameMethodAssignment.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameNestedClassAccessorsShadowing.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameNestedClassFieldShadowing.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameNestedClassMethodShadowing.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameReadonly.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameSetterNoGetter.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameStaticAccessors.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameStaticFieldAccess.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameStaticMethod.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameStaticMethodAssignment.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNameUnused.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesAndDecorators.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesAndStaticFields.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesAndkeyof.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesConstructorChain-1.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesConstructorChain-2.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesInNestedClasses-1.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesInNestedClasses-2.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesIncompatibleModifiersJs.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesUnique-1.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesUnique-4.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesUnique-5.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateNamesUseBeforeDef.ts"
|
||
Expect Syntax Error: "conformance/classes/members/privateNames/privateWriteOnlyAccessorRead.ts"
|
||
Expect Syntax Error: "conformance/classes/mixinAbstractClasses.2.ts"
|
||
Expect Syntax Error: "conformance/classes/mixinAccessModifiers.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/abstractPropertyInitializer.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessibilityModifiers.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessorsOverrideMethod.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty2.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty3.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty4.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty6.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty7.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/assignParameterPropertyToPropertyDeclarationESNext.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/autoAccessor11.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/autoAccessor5.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/autoAccessorExperimentalDecorators.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/constructorParameterShadowsOuterScopes.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/constructorParameterShadowsOuterScopes2.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/definePropertyOutputES3.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/derivedUninitializedPropertyDeclaration.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorLocals.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/initializerReferencingConstructorParameters.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/accessorWithES3.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberAccessorDeclarations/ambientAccessors.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/instanceMemberAssignsToClassPrototype.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/memberFunctionOverloadMixingStaticAndInstance.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/memberFunctionsWithPrivateOverloads.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/memberFunctionsWithPublicPrivateOverloads.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/staticMemberAssignsToConstructorFunctionMembers.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/propertyAndAccessorWithSameName.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/propertyAndFunctionWithSameName.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/propertyOverridesAccessors.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/propertyOverridesAccessors2.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/propertyOverridesAccessors3.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/propertyOverridesAccessors4.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/propertyOverridesAccessors5.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/redeclaredProperty.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/redefinedPararameterProperty.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/strictPropertyInitialization.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/twoAccessorsWithSameName.ts"
|
||
Expect Syntax Error: "conformance/classes/propertyMemberDeclarations/twoAccessorsWithSameName2.ts"
|
||
Expect Syntax Error: "conformance/classes/staticIndexSignature/staticIndexSignature1.ts"
|
||
Expect Syntax Error: "conformance/classes/staticIndexSignature/staticIndexSignature2.ts"
|
||
Expect Syntax Error: "conformance/classes/staticIndexSignature/staticIndexSignature3.ts"
|
||
Expect Syntax Error: "conformance/classes/staticIndexSignature/staticIndexSignature7.ts"
|
||
Expect Syntax Error: "conformance/constEnums/constEnum2.ts"
|
||
Expect Syntax Error: "conformance/constEnums/constEnumPropertyAccess1.ts"
|
||
Expect Syntax Error: "conformance/constEnums/constEnumPropertyAccess2.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowAliasing.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowBindingPatternOrder.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowDeleteOperator.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowGenericTypes.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowIIFE.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowIterationErrors.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowIterationErrorsAsync.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowNullishCoalesce.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowOptionalChain.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowTypeofObject.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/controlFlowWhileStatement.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/dependentDestructuredVariables.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/exhaustiveSwitchStatements1.ts"
|
||
Expect Syntax Error: "conformance/controlFlow/neverReturningFunctions1.ts"
|
||
Expect Syntax Error: "conformance/declarationEmit/typePredicates/declarationEmitThisPredicates02.ts"
|
||
Expect Syntax Error: "conformance/declarationEmit/typePredicates/declarationEmitThisPredicatesWithPrivateName02.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/accessor/decoratorOnClassAccessor7.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/constructableDecoratorOnClass01.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/constructor/decoratorOnClassConstructor1.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/decoratorChecksFunctionBodies.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/decoratorOnClass8.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/method/decoratorOnClassMethod10.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/method/decoratorOnClassMethod6.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/method/decoratorOnClassMethod8.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/method/decoratorOnClassMethodOverload1.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/method/parameter/decoratorOnClassMethodThisParameter.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/property/decoratorOnClassProperty11.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/property/decoratorOnClassProperty6.ts"
|
||
Expect Syntax Error: "conformance/decorators/class/property/decoratorOnClassProperty7.ts"
|
||
Expect Syntax Error: "conformance/decorators/decoratorCallGeneric.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnEnum.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnFunctionDeclaration.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnFunctionExpression.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnFunctionParameter.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnImportEquals1.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnInterface.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnInternalModule.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnTypeAlias.ts"
|
||
Expect Syntax Error: "conformance/decorators/invalid/decoratorOnVar.ts"
|
||
Expect Syntax Error: "conformance/directives/ts-expect-error-js.ts"
|
||
Expect Syntax Error: "conformance/directives/ts-expect-error.ts"
|
||
Expect Syntax Error: "conformance/directives/ts-ignore.ts"
|
||
Expect Syntax Error: "conformance/dynamicImport/importCallExpressionAsyncES3AMD.ts"
|
||
Expect Syntax Error: "conformance/dynamicImport/importCallExpressionAsyncES3CJS.ts"
|
||
Expect Syntax Error: "conformance/dynamicImport/importCallExpressionAsyncES3System.ts"
|
||
Expect Syntax Error: "conformance/dynamicImport/importCallExpressionAsyncES3UMD.ts"
|
||
Expect Syntax Error: "conformance/dynamicImport/importCallExpressionSpecifierNotStringTypeError.ts"
|
||
Expect Syntax Error: "conformance/enums/enumConstantMemberWithString.ts"
|
||
Expect Syntax Error: "conformance/enums/enumConstantMemberWithTemplateLiterals.ts"
|
||
Expect Syntax Error: "conformance/enums/enumConstantMembers.ts"
|
||
Expect Syntax Error: "conformance/enums/enumMergingErrors.ts"
|
||
Expect Syntax Error: "conformance/es2017/useObjectValuesAndEntries2.ts"
|
||
Expect Syntax Error: "conformance/es2017/useObjectValuesAndEntries3.ts"
|
||
Expect Syntax Error: "conformance/es2017/useSharedArrayBuffer2.ts"
|
||
Expect Syntax Error: "conformance/es2017/useSharedArrayBuffer3.ts"
|
||
Expect Syntax Error: "conformance/es2017/useSharedArrayBuffer6.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisAmbientModules.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisBlockscopedProperties.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisCollision.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisGlobalExportAsGlobal.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisPropertyAssignment.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisReadonlyProperties.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisUnknown.ts"
|
||
Expect Syntax Error: "conformance/es2019/globalThisUnknownNoImplicitAny.ts"
|
||
Expect Syntax Error: "conformance/es2020/constructBigint.ts"
|
||
Expect Syntax Error: "conformance/es2020/es2020IntlAPIs.ts"
|
||
Expect Syntax Error: "conformance/es2020/modules/exportAsNamespace_nonExistent.ts"
|
||
Expect Syntax Error: "conformance/es2021/logicalAssignment/logicalAssignment4.ts"
|
||
Expect Syntax Error: "conformance/es2021/logicalAssignment/logicalAssignment5.ts"
|
||
Expect Syntax Error: "conformance/es2021/logicalAssignment/logicalAssignment6.ts"
|
||
Expect Syntax Error: "conformance/es2021/logicalAssignment/logicalAssignment7.ts"
|
||
Expect Syntax Error: "conformance/es2021/logicalAssignment/logicalAssignment8.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolDeclarationEmit12.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty10.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty12.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty17.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty21.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty24.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty25.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty3.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty30.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty32.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty33.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty34.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty35.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty39.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty42.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty43.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty44.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty46.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty47.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty52.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty53.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty54.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty59.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty7.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolProperty9.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType1.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType10.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType12.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType13.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType14.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType15.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType2.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType20.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType3.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType4.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType5.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType6.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType7.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType8.ts"
|
||
Expect Syntax Error: "conformance/es6/Symbols/symbolType9.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionThisCapturing.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionThisCapturingES6.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments01.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments01_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments02.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments02_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments03.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments04.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments05.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments06.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments07.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments09.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments10.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments11.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments14.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments15.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments16.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments17.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments18.ts"
|
||
Expect Syntax Error: "conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments19.ts"
|
||
Expect Syntax Error: "conformance/es6/classDeclaration/superCallBeforeThisAccessing3.ts"
|
||
Expect Syntax Error: "conformance/es6/classDeclaration/superCallBeforeThisAccessing4.ts"
|
||
Expect Syntax Error: "conformance/es6/classDeclaration/superCallBeforeThisAccessing6.ts"
|
||
Expect Syntax Error: "conformance/es6/classDeclaration/superCallBeforeThisAccessing7.ts"
|
||
Expect Syntax Error: "conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression2.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames12_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames12_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames14_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames14_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames15_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames15_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames17_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames17_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames19_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames19_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames21_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames21_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames23_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames23_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames24_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames24_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames26_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames26_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames2_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames2_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames30_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames30_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames32_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames32_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames34_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames34_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames35_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames35_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames36_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames36_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames38_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames38_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames39_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames39_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames40_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames40_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames42_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames42_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames43_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames43_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames44_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames44_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames45_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames45_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames51_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames51_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames52.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames5_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames5_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames6_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames6_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames8_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames8_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames9_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNames9_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesContextualType10_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesContextualType10_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesContextualType8_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesContextualType8_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesContextualType9_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesContextualType9_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit3_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit4_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit6_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesDeclarationEmit6_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesOnOverloads_ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesOnOverloads_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/computedProperties/computedPropertyNamesWithStaticProperty.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/declarationsAndAssignments.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment1ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment1ES5iterable.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment1ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment3.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment4.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringAssignabilityCheck.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringControlFlow.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringInFunctionType.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment4.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterDeclaration1ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterDeclaration1ES5iterable.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterDeclaration3ES5.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterDeclaration3ES5iterable.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterDeclaration3ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterDeclaration5.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterDeclaration8.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterProperties1.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterProperties2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterProperties3.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterProperties4.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringParameterProperties5.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringSpread.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringTypeAssertionsES5_1.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringTypeAssertionsES5_2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringTypeAssertionsES5_3.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringTypeAssertionsES5_4.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringTypeAssertionsES5_6.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringTypeAssertionsES5_7.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringVariableDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringVoidStrictNullChecks.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/destructuringWithLiteralInitializers2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern10.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern13.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern16.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern17.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern18.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern19.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern21.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern22.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern23.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern24.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern25.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern26.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern28.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern29.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern5.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern6.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern7.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/iterableArrayPattern8.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/missingAndExcessProperties.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/nonIterableRestElement3.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/optionalBindingParameters1.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/optionalBindingParameters2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/optionalBindingParameters3.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/optionalBindingParametersInOverloads1.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/optionalBindingParametersInOverloads2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/restElementWithAssignmentPattern2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/restElementWithAssignmentPattern4.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/restElementWithBindingPattern2.ts"
|
||
Expect Syntax Error: "conformance/es6/destructuring/restElementWithNullInitializer.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of10.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of11.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of12.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of14.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of15.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of16.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of17.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of29.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of30.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of32.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of33.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of34.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of35.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of39.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of46.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of47.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of48.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of55.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of6.ts"
|
||
Expect Syntax Error: "conformance/es6/for-ofStatements/for-of7.ts"
|
||
Expect Syntax Error: "conformance/es6/functionDeclarations/FunctionDeclaration13_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/functionDeclarations/FunctionDeclaration3_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/functionDeclarations/FunctionDeclaration8_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments5_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration3_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/modules/defaultExportsCannotMerge04.ts"
|
||
Expect Syntax Error: "conformance/es6/modules/importEmptyFromModuleNotExisted.ts"
|
||
Expect Syntax Error: "conformance/es6/modules/multipleDefaultExports04.ts"
|
||
Expect Syntax Error: "conformance/es6/modules/multipleDefaultExports05.ts"
|
||
Expect Syntax Error: "conformance/es6/restParameters/readonlyRestParameters.ts"
|
||
Expect Syntax Error: "conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesAssignmentError.ts"
|
||
Expect Syntax Error: "conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesAssignmentErrorFromMissingIdentifier.ts"
|
||
Expect Syntax Error: "conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.ts"
|
||
Expect Syntax Error: "conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesFunctionArgument2.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/arraySpreadInCall.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInArray10.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInArray5.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInArray6.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInArray8.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall10.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall2.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall4.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall6.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall7.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall8.ts"
|
||
Expect Syntax Error: "conformance/es6/spread/iteratorSpreadInCall9.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsTypeArgumentInference.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsTypeArgumentInferenceES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTags.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithIncompatibleTypedTagsES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithOverloadResolution1.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithOverloadResolution1_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithOverloadResolution3.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithOverloadResolution3_ES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateWithConstructableTag01.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/taggedTemplateWithConstructableTag02.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringBinaryOperationsES6Invalid.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringBinaryOperationsInvalid.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInCallExpression.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInCallExpressionES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInDeleteExpression.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInDeleteExpressionES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInDivision.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInInstanceOf.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInInstanceOfES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInModulo.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInModuloES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInMultiplication.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInMultiplicationES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInNewExpression.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInNewExpressionES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInNewOperator.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInNewOperatorES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInTaggedTemplate.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringInTaggedTemplateES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringWithEmbeddedInstanceOf.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringWithEmbeddedInstanceOfES6.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpression.ts"
|
||
Expect Syntax Error: "conformance/es6/templates/templateStringsWithTypeErrorInFunctionExpressionsInSubstitutionExpressionES6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/YieldExpression10_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/YieldExpression11_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/YieldExpression1_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/YieldExpression6_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/YieldExpression8_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/YieldExpression9_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/YieldStarExpression1_es6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorInAmbientContext1.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorInAmbientContext2.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorInAmbientContext3.d.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorInAmbientContext4.d.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorOverloads1.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorOverloads2.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorOverloads3.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck18.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck20.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck21.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck25.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck31.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck39.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck48.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck50.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck57.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck58.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck6.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck63.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck7.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck8.ts"
|
||
Expect Syntax Error: "conformance/es6/yieldExpressions/generatorTypeCheck9.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSCanBeAssigned1.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSCannotBeAssigned.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/emitExponentiationOperator4.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithNew.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithNullValueAndInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithNullValueAndValidOperands.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithTemplateStringInvalid.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithTemplateStringInvalidES6.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithUndefinedValueAndInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/es7/exponentiationOperator/exponentiationOperatorWithUndefinedValueAndValidOperands.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/classDeclaration/accessors/esDecorators-classDeclaration-accessors-nonStaticAbstract.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-parameterDecorators.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-nonStaticAbstract.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-nonStaticAmbient.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-staticAmbient.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/classDeclaration/methods/esDecorators-classDeclaration-methods-nonStaticAbstract.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/esDecorators-arguments.ts"
|
||
Expect Syntax Error: "conformance/esDecorators/esDecorators-emitDecoratorMetadata.ts"
|
||
Expect Syntax Error: "conformance/expressions/arrayLiterals/arrayLiterals.ts"
|
||
Expect Syntax Error: "conformance/expressions/arrayLiterals/arrayLiterals3.ts"
|
||
Expect Syntax Error: "conformance/expressions/asOperator/asOperator2.ts"
|
||
Expect Syntax Error: "conformance/expressions/asOperator/asOperatorAmbiguity.ts"
|
||
Expect Syntax Error: "conformance/expressions/asOperator/asOperatorContextualType.ts"
|
||
Expect Syntax Error: "conformance/expressions/asOperator/asOperatorNames.ts"
|
||
Expect Syntax Error: "conformance/expressions/assignmentOperator/compoundAdditionAssignmentLHSCanBeAssigned.ts"
|
||
Expect Syntax Error: "conformance/expressions/assignmentOperator/compoundAdditionAssignmentLHSCannotBeAssigned.ts"
|
||
Expect Syntax Error: "conformance/expressions/assignmentOperator/compoundAdditionAssignmentWithInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/assignmentOperator/compoundArithmeticAssignmentLHSCanBeAssigned.ts"
|
||
Expect Syntax Error: "conformance/expressions/assignmentOperator/compoundArithmeticAssignmentWithInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/additionOperator/additionOperatorWithInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/additionOperator/additionOperatorWithNullValueAndInvalidOperator.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/additionOperator/additionOperatorWithNullValueAndValidOperator.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/additionOperator/additionOperatorWithOnlyNullValueOrUndefinedValue.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/additionOperator/additionOperatorWithTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/additionOperator/additionOperatorWithUndefinedValueAndInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/additionOperator/additionOperatorWithUndefinedValueAndValidOperator.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithNullValueAndInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithNullValueAndValidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithOnlyNullValueOrUndefinedValue.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithUndefinedValueAndInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/arithmeticOperator/arithmeticOperatorWithUndefinedValueAndValidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithIdenticalPrimitiveType.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithIntersectionType.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipObjectsOnOptionalProperty.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipObjectsOnProperty.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipPrimitiveType.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNumberOperand.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithOneOperandIsNull.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/inOperator/inOperatorWithInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/inOperator/inOperatorWithValidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/instanceofOperator/instanceofOperatorWithInvalidOperands.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorStrictMode.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/logicalAndOperator/logicalAndOperatorWithEveryType.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/logicalOrOperator/logicalOrExpressionIsContextuallyTyped.ts"
|
||
Expect Syntax Error: "conformance/expressions/binaryOperators/logicalOrOperator/logicalOrOperatorWithEveryType.ts"
|
||
Expect Syntax Error: "conformance/expressions/commaOperator/commaOperatorInvalidAssignmentType.ts"
|
||
Expect Syntax Error: "conformance/expressions/commaOperator/commaOperatorOtherInvalidOperation.ts"
|
||
Expect Syntax Error: "conformance/expressions/conditonalOperator/conditionalOperatorConditionIsObjectType.ts"
|
||
Expect Syntax Error: "conformance/expressions/conditonalOperator/conditionalOperatorWithoutIdenticalBCT.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/argumentExpressionContextualTyping.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/arrayLiteralExpressionContextualTyping.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/functionExpressionContextualTyping2.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/getSetAccessorContextualTyping.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/objectLiteralContextualTyping.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/parenthesizedContexualTyping1.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/parenthesizedContexualTyping2.ts"
|
||
Expect Syntax Error: "conformance/expressions/contextualTyping/superCallParameterContextualTyping2.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/callOverload.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/callWithMissingVoid.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/callWithSpread2.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/callWithSpread3.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/callWithSpread4.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/callWithSpread5.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/forgottenNew.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/functionCalls.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/grammarAmbiguities.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/overloadResolution.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/overloadResolutionClassConstructors.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/overloadResolutionConstructors.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/typeArgumentInference.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/typeArgumentInferenceConstructSignatures.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/typeArgumentInferenceErrors.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/typeArgumentInferenceWithConstraints.ts"
|
||
Expect Syntax Error: "conformance/expressions/functionCalls/typeArgumentInferenceWithObjectLiteral.ts"
|
||
Expect Syntax Error: "conformance/expressions/functions/contextuallyTypedIifeStrict.ts"
|
||
Expect Syntax Error: "conformance/expressions/identifiers/scopeResolutionIdentifiers.ts"
|
||
Expect Syntax Error: "conformance/expressions/literals/literals.ts"
|
||
Expect Syntax Error: "conformance/expressions/literals/strictModeOctalLiterals.ts"
|
||
Expect Syntax Error: "conformance/expressions/newOperator/newOperatorErrorCases_noImplicitAny.ts"
|
||
Expect Syntax Error: "conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperator11.ts"
|
||
Expect Syntax Error: "conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperator4.ts"
|
||
Expect Syntax Error: "conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperatorInParameterBindingPattern.2.ts"
|
||
Expect Syntax Error: "conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperatorInParameterInitializer.2.ts"
|
||
Expect Syntax Error: "conformance/expressions/objectLiterals/objectLiteralErrorsES3.ts"
|
||
Expect Syntax Error: "conformance/expressions/objectLiterals/objectLiteralNormalization.ts"
|
||
Expect Syntax Error: "conformance/expressions/optionalChaining/callChain/callChain.3.ts"
|
||
Expect Syntax Error: "conformance/expressions/optionalChaining/delete/deleteChain.ts"
|
||
Expect Syntax Error: "conformance/expressions/optionalChaining/optionalChainingInParameterBindingPattern.2.ts"
|
||
Expect Syntax Error: "conformance/expressions/optionalChaining/optionalChainingInParameterInitializer.2.ts"
|
||
Expect Syntax Error: "conformance/expressions/optionalChaining/privateIdentifierChain/privateIdentifierChain.1.ts"
|
||
Expect Syntax Error: "conformance/expressions/propertyAccess/propertyAccess.ts"
|
||
Expect Syntax Error: "conformance/expressions/propertyAccess/propertyAccessStringIndexSignature.ts"
|
||
Expect Syntax Error: "conformance/expressions/propertyAccess/propertyAccessStringIndexSignatureNoImplicitAny.ts"
|
||
Expect Syntax Error: "conformance/expressions/propertyAccess/propertyAccessWidening.ts"
|
||
Expect Syntax Error: "conformance/expressions/superPropertyAccess/superSymbolIndexedAccess3.ts"
|
||
Expect Syntax Error: "conformance/expressions/superPropertyAccess/superSymbolIndexedAccess4.ts"
|
||
Expect Syntax Error: "conformance/expressions/thisKeyword/thisInInvalidContexts.ts"
|
||
Expect Syntax Error: "conformance/expressions/thisKeyword/thisInInvalidContextsExternalModule.ts"
|
||
Expect Syntax Error: "conformance/expressions/thisKeyword/thisInObjectLiterals.ts"
|
||
Expect Syntax Error: "conformance/expressions/thisKeyword/typeOfThisGeneral.ts"
|
||
Expect Syntax Error: "conformance/expressions/thisKeyword/typeOfThisInConstructorParamList.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeAssertions/constAssertions.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeAssertions/duplicatePropertiesInTypeAssertions01.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeAssertions/duplicatePropertiesInTypeAssertions02.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardFunctionOfFormThisErrors.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardInClass.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardOfFormTypeOfEqualEqualHasNoEffect.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardOfFormTypeOfNotEqualHasNoEffect.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardOfFormTypeOfOther.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsDefeat.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsInIfStatement.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsWithAny.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsWithInstanceOf.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeGuards/typeGuardsWithInstanceOfByConstructorSignature.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_contextualTyping2.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_js.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_optionalMemberConformance.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_propNameConstraining.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_propertyNameFulfillment.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_propertyValueConformance3.ts"
|
||
Expect Syntax Error: "conformance/expressions/typeSatisfaction/typeSatisfaction_vacuousIntersectionOfContextualTypes.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/bitwiseNotOperator/bitwiseNotOperatorWithAnyOtherType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/decrementOperator/decrementOperatorWithEnumType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/deleteOperator/deleteOperatorWithAnyOtherType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/deleteOperator/deleteOperatorWithBooleanType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/deleteOperator/deleteOperatorWithEnumType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/deleteOperator/deleteOperatorWithNumberType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/deleteOperator/deleteOperatorWithStringType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/incrementOperator/incrementOperatorWithEnumType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/logicalNotOperator/logicalNotOperatorWithAnyOtherType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/logicalNotOperator/logicalNotOperatorWithBooleanType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/logicalNotOperator/logicalNotOperatorWithEnumType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/logicalNotOperator/logicalNotOperatorWithNumberType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/logicalNotOperator/logicalNotOperatorWithStringType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/negateOperator/negateOperatorWithAnyOtherType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/negateOperator/negateOperatorWithBooleanType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/negateOperator/negateOperatorWithEnumType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/negateOperator/negateOperatorWithNumberType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/negateOperator/negateOperatorWithStringType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/plusOperator/plusOperatorWithAnyOtherType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/plusOperator/plusOperatorWithBooleanType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/plusOperator/plusOperatorWithEnumType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/plusOperator/plusOperatorWithNumberType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/plusOperator/plusOperatorWithStringType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/typeofOperator/typeofOperatorWithAnyOtherType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/typeofOperator/typeofOperatorWithBooleanType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/typeofOperator/typeofOperatorWithEnumType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/typeofOperator/typeofOperatorWithNumberType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/typeofOperator/typeofOperatorWithStringType.ts"
|
||
Expect Syntax Error: "conformance/expressions/unaryOperators/voidOperator/voidOperatorWithAnyOtherType.ts"
|
||
Expect Syntax Error: "conformance/expressions/valuesAndReferences/assignmentToParenthesizedIdentifiers.ts"
|
||
Expect Syntax Error: "conformance/expressions/valuesAndReferences/assignments.ts"
|
||
Expect Syntax Error: "conformance/externalModules/es6/es6modulekindWithES5Target10.ts"
|
||
Expect Syntax Error: "conformance/externalModules/es6/es6modulekindWithES5Target9.ts"
|
||
Expect Syntax Error: "conformance/externalModules/esnext/esnextmodulekindWithES5Target10.ts"
|
||
Expect Syntax Error: "conformance/externalModules/esnext/esnextmodulekindWithES5Target9.ts"
|
||
Expect Syntax Error: "conformance/externalModules/exportAssignmentAndDeclaration.ts"
|
||
Expect Syntax Error: "conformance/externalModules/exportClassNameWithObjectAMD.ts"
|
||
Expect Syntax Error: "conformance/externalModules/exportClassNameWithObjectCommonJS.ts"
|
||
Expect Syntax Error: "conformance/externalModules/exportClassNameWithObjectSystem.ts"
|
||
Expect Syntax Error: "conformance/externalModules/exportClassNameWithObjectUMD.ts"
|
||
Expect Syntax Error: "conformance/externalModules/exportDefaultClassNameWithObject.ts"
|
||
Expect Syntax Error: "conformance/externalModules/exportNonLocalDeclarations.ts"
|
||
Expect Syntax Error: "conformance/externalModules/initializersInDeclarations.ts"
|
||
Expect Syntax Error: "conformance/externalModules/moduleResolutionWithoutExtension2.ts"
|
||
Expect Syntax Error: "conformance/externalModules/moduleResolutionWithoutExtension5.ts"
|
||
Expect Syntax Error: "conformance/externalModules/moduleResolutionWithoutExtension6.ts"
|
||
Expect Syntax Error: "conformance/externalModules/moduleResolutionWithoutExtension7.ts"
|
||
Expect Syntax Error: "conformance/externalModules/moduleResolutionWithoutExtension8.ts"
|
||
Expect Syntax Error: "conformance/externalModules/multipleExportDefault1.ts"
|
||
Expect Syntax Error: "conformance/externalModules/multipleExportDefault2.ts"
|
||
Expect Syntax Error: "conformance/externalModules/multipleExportDefault3.ts"
|
||
Expect Syntax Error: "conformance/externalModules/multipleExportDefault4.ts"
|
||
Expect Syntax Error: "conformance/externalModules/multipleExportDefault5.ts"
|
||
Expect Syntax Error: "conformance/externalModules/multipleExportDefault6.ts"
|
||
Expect Syntax Error: "conformance/externalModules/topLevelAwaitNonModule.ts"
|
||
Expect Syntax Error: "conformance/externalModules/typeOnly/exportSpecifiers_js.ts"
|
||
Expect Syntax Error: "conformance/externalModules/typeOnly/preserveValueImports_module.ts"
|
||
Expect Syntax Error: "conformance/externalModules/verbatimModuleSyntaxCompat.ts"
|
||
Expect Syntax Error: "conformance/externalModules/verbatimModuleSyntaxInternalImportEquals.ts"
|
||
Expect Syntax Error: "conformance/fixSignatureCaching.ts"
|
||
Expect Syntax Error: "conformance/functions/functionImplementationErrors.ts"
|
||
Expect Syntax Error: "conformance/functions/functionImplementations.ts"
|
||
Expect Syntax Error: "conformance/functions/functionNameConflicts.ts"
|
||
Expect Syntax Error: "conformance/functions/functionOverloadCompatibilityWithVoid01.ts"
|
||
Expect Syntax Error: "conformance/functions/functionOverloadErrors.ts"
|
||
Expect Syntax Error: "conformance/functions/parameterInitializersForwardReferencing.2.ts"
|
||
Expect Syntax Error: "conformance/functions/parameterInitializersForwardReferencing.ts"
|
||
Expect Syntax Error: "conformance/functions/parameterInitializersForwardReferencing1.ts"
|
||
Expect Syntax Error: "conformance/functions/parameterInitializersForwardReferencing1_es6.ts"
|
||
Expect Syntax Error: "conformance/functions/strictBindCallApply1.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorAssignability.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorExplicitReturnType.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorImplicitAny.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorReturnContextualType.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorReturnTypeFallback.2.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorReturnTypeFallback.3.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorReturnTypeInference.ts"
|
||
Expect Syntax Error: "conformance/generators/generatorReturnTypeInferenceNonStrict.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/genericAndNonGenericInterfaceWithTheSameName.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/mergedInheritedMembersSatisfyAbstractBase.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/mergedInterfacesWithConflictingPropertyNames.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/mergedInterfacesWithIndexers2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/mergedInterfacesWithInheritedPrivates.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/mergedInterfacesWithInheritedPrivates2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/mergedInterfacesWithInheritedPrivates3.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/mergedInterfacesWithMultipleBases4.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/twoGenericInterfacesDifferingByTypeParameterName2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/twoGenericInterfacesWithDifferentConstraints.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/twoGenericInterfacesWithTheSameNameButDifferentArity.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/twoInterfacesDifferentRootModule.ts"
|
||
Expect Syntax Error: "conformance/interfaces/declarationMerging/twoInterfacesDifferentRootModule2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/derivedInterfaceIncompatibleWithBaseIndexer.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceExtendingOptionalChain.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceExtendsObjectIntersectionErrors.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceThatHidesBaseProperty2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceThatIndirectlyInheritsFromItself.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceThatInheritsFromItself.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithAccessibilityModifiers.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithMultipleBaseTypes.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithMultipleBaseTypes2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithPropertyThatIsPrivateInBaseType.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithPropertyThatIsPrivateInBaseType2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithStringIndexerHidingBaseTypeIndexer.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithStringIndexerHidingBaseTypeIndexer2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfaceDeclarations/interfaceWithStringIndexerHidingBaseTypeIndexer3.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfacesExtendingClasses/implementingAnInterfaceExtendingClassWithPrivates.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfacesExtendingClasses/implementingAnInterfaceExtendingClassWithPrivates2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfacesExtendingClasses/implementingAnInterfaceExtendingClassWithProtecteds.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfacesExtendingClasses/interfaceExtendingClassWithPrivates.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfacesExtendingClasses/interfaceExtendingClassWithPrivates2.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfacesExtendingClasses/interfaceExtendingClassWithProtecteds.ts"
|
||
Expect Syntax Error: "conformance/interfaces/interfacesExtendingClasses/interfaceExtendingClassWithProtecteds2.ts"
|
||
Expect Syntax Error: "conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.ts"
|
||
Expect Syntax Error: "conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.ts"
|
||
Expect Syntax Error: "conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.ts"
|
||
Expect Syntax Error: "conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.ts"
|
||
Expect Syntax Error: "conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithStaticVariableAndExportedVarThatShareAName.ts"
|
||
Expect Syntax Error: "conformance/internalModules/DeclarationMerging/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.ts"
|
||
Expect Syntax Error: "conformance/internalModules/codeGeneration/importStatementsInterfaces.ts"
|
||
Expect Syntax Error: "conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedClasses.ts"
|
||
Expect Syntax Error: "conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedEnums.ts"
|
||
Expect Syntax Error: "conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedFunctions.ts"
|
||
Expect Syntax Error: "conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedImportAlias.ts"
|
||
Expect Syntax Error: "conformance/internalModules/exportDeclarations/ModuleWithExportedAndNonExportedVariables.ts"
|
||
Expect Syntax Error: "conformance/internalModules/importDeclarations/circularImportAlias.ts"
|
||
Expect Syntax Error: "conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts"
|
||
Expect Syntax Error: "conformance/internalModules/importDeclarations/shadowedInternalModule.ts"
|
||
Expect Syntax Error: "conformance/internalModules/moduleBody/invalidModuleWithStatementsOfEveryKind.ts"
|
||
Expect Syntax Error: "conformance/internalModules/moduleBody/invalidModuleWithVarStatements.ts"
|
||
Expect Syntax Error: "conformance/internalModules/moduleDeclarations/InvalidNonInstantiatedModule.ts"
|
||
Expect Syntax Error: "conformance/internalModules/moduleDeclarations/invalidNestedModules.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/assertionsAndNonReturningFunctions.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/callOfPropertylessConstructorFunction.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/callbackTag2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocOnEndOfFile.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocOptionalParamOrder.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocParamOnVariableDeclaredFunctionExpression.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocReturnTag1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocReturnTag2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag10.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag11.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag12.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag13.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag14.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag3.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag6.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag7.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag8.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocSatisfiesTag9.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocTypeTag1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocTypeTag2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocTypeTag5.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocTypeTag6.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocTypeTagOnObjectProperty2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/checkJsdocTypedefOnlySourceFile.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/constructorTagOnObjectLiteralMethod.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/declarations/jsDeclarationsClassLikeHeuristic.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/declarations/jsDeclarationsClassesErr.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/declarations/jsDeclarationsEnums.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/declarations/jsDeclarationsExportAssignedConstructorFunctionWithSub.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/declarations/jsDeclarationsInterfaces.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/enumTag.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/enumTagCircularReference.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/errorOnFunctionReturnType.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/extendsTag2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/extendsTag4.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocAccessibilityTags.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocAccessibilityTagsDeclarations.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocAugmentsMissingType.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocAugments_errorInExtendsExpression.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocAugments_nameMismatch.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocAugments_noExtends.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocAugments_notAClass.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocFunctionType.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocFunction_missingReturn.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocImplements_class.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocImplements_missingType.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocImplements_properties.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocIndexSignature.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocLiteral.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocNeverUndefinedNull.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocOuterTypeParameters1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocOuterTypeParameters2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocOuterTypeParameters3.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocOverrideTag1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocParamTag2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocParamTagTypeLiteral.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocParseDotDotDotInJSDocFunction.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocPostfixEqualsAddsOptionality.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocPrefixPostfixParsing.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocPrivateName1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocPrivateName2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocPrototypePropertyAccessWithType.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocReadonly.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocReadonlyDeclarations.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocReturnTag1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTemplateClass.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTemplateConstructorFunction.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTemplateConstructorFunction2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTemplateTag.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTemplateTag3.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTemplateTagDefault.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTemplateTagNameResolution.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTypeFromChainedAssignment.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTypeTagParameterType.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/jsdocTypeTagRequiredParameters.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/noAssertForUnparseableTypedefs.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/noDuplicateJsdoc1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/overloadTag1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/overloadTag2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/paramTagNestedWithoutTopLevelObject.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/paramTagNestedWithoutTopLevelObject2.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/paramTagNestedWithoutTopLevelObject3.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/paramTagNestedWithoutTopLevelObject4.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typeTagCircularReferenceOnConstructorFunction.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typeTagModuleExports.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typeTagNoErasure.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typeTagPrototypeAssignment.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typedefCrossModule3.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typedefCrossModule4.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typedefDuplicateTypeDeclaration.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typedefInnerNamepaths.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typedefOnStatements.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typedefScope1.ts"
|
||
Expect Syntax Error: "conformance/jsdoc/typedefTagTypeResolution.ts"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenCanBeTupleType.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenProperty13.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenProperty14.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenProperty15.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenProperty2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenProperty4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenProperty5.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxChildrenProperty7.tsx"
|
||
Expect Syntax Error: "conformance/jsx/checkJsxGenericTagHasCorrectInferences.tsx"
|
||
Expect Syntax Error: "conformance/jsx/jsxEsprimaFbTestSuite.tsx"
|
||
Expect Syntax Error: "conformance/jsx/jsxSpreadOverwritesAttributeStrict.tsx"
|
||
Expect Syntax Error: "conformance/jsx/jsxs/jsxJsxsCjsTransformCustomImport.tsx"
|
||
Expect Syntax Error: "conformance/jsx/jsxs/jsxJsxsCjsTransformKeyPropCustomImport.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeErrors.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution1.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution15.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution3.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution5.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution6.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxAttributeResolution7.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxDefaultAttributesResolution3.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxDynamicTagName2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxDynamicTagName3.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution1.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution10.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution11.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution12.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution15.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution16.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution18.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution3.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution6.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution7.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution8.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxElementResolution9.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxEmit3.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxGenericArrowFunctionParsing.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxIntrinsicAttributeErrors.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxLibraryManagedAttributes.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxNamespacedTagName2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxReactComponentWithDefaultTypeParameter3.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxReactEmit4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxReactEmit7.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSfcReturnUndefinedStrictNullChecks.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution10.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution12.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution14.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution16.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution17.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution5.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadAttributesResolution6.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxSpreadInvalidType.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxStatelessFunctionComponentOverload1.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxStatelessFunctionComponentOverload4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxStatelessFunctionComponentOverload5.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxStatelessFunctionComponentWithDefaultTypeParameter2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxStatelessFunctionComponents2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxStatelessFunctionComponentsWithTypeArguments2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxStatelessFunctionComponentsWithTypeArguments4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxTypeArgumentResolution.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxUnionElementType1.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxUnionElementType2.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxUnionElementType3.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxUnionElementType4.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxUnionElementType6.tsx"
|
||
Expect Syntax Error: "conformance/jsx/tsxUnionTypeComponent2.tsx"
|
||
Expect Syntax Error: "conformance/override/override1.ts"
|
||
Expect Syntax Error: "conformance/override/override11.ts"
|
||
Expect Syntax Error: "conformance/override/override13.ts"
|
||
Expect Syntax Error: "conformance/override/override15.ts"
|
||
Expect Syntax Error: "conformance/override/override19.ts"
|
||
Expect Syntax Error: "conformance/override/override2.ts"
|
||
Expect Syntax Error: "conformance/override/override20.ts"
|
||
Expect Syntax Error: "conformance/override/override3.ts"
|
||
Expect Syntax Error: "conformance/override/override4.ts"
|
||
Expect Syntax Error: "conformance/override/override5.ts"
|
||
Expect Syntax Error: "conformance/override/override6.ts"
|
||
Expect Syntax Error: "conformance/override/override7.ts"
|
||
Expect Syntax Error: "conformance/override/override8.ts"
|
||
Expect Syntax Error: "conformance/override/override9.ts"
|
||
Expect Syntax Error: "conformance/override/overrideParameterProperty.ts"
|
||
Expect Syntax Error: "conformance/override/overrideWithoutNoImplicitOverride1.ts"
|
||
Expect Syntax Error: "conformance/override/override_js2.ts"
|
||
Expect Syntax Error: "conformance/override/override_js3.ts"
|
||
Expect Syntax Error: "conformance/override/override_js4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript3/Accessors/parserES3Accessors1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript3/Accessors/parserES3Accessors3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Accessors/parserAccessors1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Accessors/parserAccessors3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Accessors/parserAccessors5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Accessors/parserAccessors6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Accessors/parserGetAccessorWithTypeParameters1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Accessors/parserSetAccessorWithTypeAnnotation1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Accessors/parserSetAccessorWithTypeParameters1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/AutomaticSemicolonInsertion/parserAutomaticSemicolonInsertion1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/CatchClauses/parserCatchClauseWithTypeAnnotation1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration12.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration13.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration14.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration15.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration18.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration21.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration22.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration24.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration25.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ComputedPropertyNames/parserES5ComputedPropertyName9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/EnumDeclarations/parserEnum7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/EnumDeclarations/parserEnumDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/EnumDeclarations/parserEnumDeclaration3.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/AccessibilityAfterStatic/parserAccessibilityAfterStatic1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/AccessibilityAfterStatic/parserAccessibilityAfterStatic10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/AccessibilityAfterStatic/parserAccessibilityAfterStatic7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/parserCommaInTypeMemberList2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnPropertySignature1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ErrorRecovery/parserModifierOnStatementInBlock4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Expressions/parserConditionalExpression1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Expressions/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Expressions/parserObjectCreation2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration2.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/FunctionDeclarations/parserFunctionDeclaration7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserAmbiguity1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserAmbiguity2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserAmbiguity3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserAmbiguityWithBinaryOperator4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserCastVersusArrowFunction1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserConstructorAmbiguity1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserConstructorAmbiguity2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserConstructorAmbiguity3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserConstructorAmbiguity4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericConstraint2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericConstraint3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericConstraint4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericConstraint5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericConstraint6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericConstraint7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericsInInterfaceDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserGenericsInVariableDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserMemberAccessExpression1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserMemberAccessOffOfGenericType1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Generics/parserObjectCreation1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessor1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration15.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration16.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration17.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclaration5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclarationAmbiguities1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberVariableDeclarations/parserMemberVariableDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberVariableDeclarations/parserMemberVariableDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/MemberVariableDeclarations/parserMemberVariableDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration2.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration4.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList13.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList14.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList15.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList16.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList17.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/ParameterLists/parserParameterList9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Protected/Protected1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Protected/Protected2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Protected/Protected4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Protected/Protected6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Protected/Protected7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RealWorld/parserindenter.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser509534.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser509618.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser509668.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser509693.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser509698.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser536727.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser553699.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parser618973.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegressionTests/parserTernaryAndCommaOperators1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parseRegularExpressionMixedWithComments.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserBlockStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserBreakStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserContinueStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserDebuggerStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserDoStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement12.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement13.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement14.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement15.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement16.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement20.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserES5ForOfStatement9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserEmptyStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserExpressionStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForInStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForInStatement4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForInStatement5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForStatement2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForStatement3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserForStatement5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserIfStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserIfStatement2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserLabeledStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserSwitchStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserThrowStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserTryStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserVariableStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserVariableStatement2.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserWhileStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Statements/parserWithStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/StrictMode/parserStrictMode1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/StrictMode/parserStrictMode15-negative.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/StrictMode/parserStrictMode16.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/StrictMode/parserStrictMode3-negative.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/StrictMode/parserStrictMode6-negative.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Types/parserTypeQuery1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Types/parserTypeQuery2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Types/parserTypeQuery5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Types/parserTypeQuery6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Types/parserTypeQuery7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Types/parserTypeQuery8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/Types/parserTypeQuery9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parser15.4.4.14-9-2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserAdditiveExpression1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserArgumentList1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserAstSpans1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserImportDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserNoASIOnCallAfterFunctionExpression1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserObjectCreationArrayLiteral2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserObjectCreationArrayLiteral4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource12.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource13.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource14.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserRealSource8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserS7.2_A1.5_T2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserS7.3_A1.1_T2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserS7.6_A4.2_T1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserUnicode1.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parserUsingConstructorAsIdentifier.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript5/parservoidInQualifiedName2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName12.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName13.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName14.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName15.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName16.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName17.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName18.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName19.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName2.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName20.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName21.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName22.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName23.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName24.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName25.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName26.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName28.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName29.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName3.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName31.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName32.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName34.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName37.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName4.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName40.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName41.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName6.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName7.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName9.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement1.d.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement10.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement11.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement12.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement13.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement14.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement15.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement16.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement20.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement5.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement8.ts"
|
||
Expect Syntax Error: "conformance/parser/ecmascript6/Iterators/parserForOfStatement9.ts"
|
||
Expect Syntax Error: "conformance/pedantic/noUncheckedIndexedAccess.ts"
|
||
Expect Syntax Error: "conformance/pedantic/noUncheckedIndexedAccessDestructuring.ts"
|
||
Expect Syntax Error: "conformance/salsa/checkSpecialPropertyAssignments.ts"
|
||
Expect Syntax Error: "conformance/salsa/constructorFunctions.ts"
|
||
Expect Syntax Error: "conformance/salsa/constructorFunctionsStrict.ts"
|
||
Expect Syntax Error: "conformance/salsa/exportDefaultInJsFile01.ts"
|
||
Expect Syntax Error: "conformance/salsa/exportDefaultInJsFile02.ts"
|
||
Expect Syntax Error: "conformance/salsa/exportPropertyAssignmentNameResolution.ts"
|
||
Expect Syntax Error: "conformance/salsa/globalMergeWithCommonJSAssignmentDeclaration.ts"
|
||
Expect Syntax Error: "conformance/salsa/methodsReturningThis.ts"
|
||
Expect Syntax Error: "conformance/salsa/moduleExportAliasUnknown.ts"
|
||
Expect Syntax Error: "conformance/salsa/moduleExportsAliasLoop1.ts"
|
||
Expect Syntax Error: "conformance/salsa/moduleExportsAliasLoop2.ts"
|
||
Expect Syntax Error: "conformance/salsa/multipleDeclarations.ts"
|
||
Expect Syntax Error: "conformance/salsa/propertyAssignmentOnUnresolvedImportedSymbol.ts"
|
||
Expect Syntax Error: "conformance/salsa/propertyAssignmentUseParentType2.ts"
|
||
Expect Syntax Error: "conformance/salsa/thisPropertyAssignment.ts"
|
||
Expect Syntax Error: "conformance/salsa/thisPropertyAssignmentComputed.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromJSConstructor.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromJSInitializer.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromJSInitializer4.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPropertyAssignment21.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPropertyAssignment22.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPropertyAssignment26.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPropertyAssignment28.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPropertyAssignment29.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPropertyAssignment31.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPropertyAssignment36.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPrototypeAssignment.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPrototypeAssignment2.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeFromPrototypeAssignment3.ts"
|
||
Expect Syntax Error: "conformance/salsa/typeLookupInIIFE.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript3/scannerES3NumericLiteral2.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerAdditiveExpression1.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerClass2.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerImportDeclaration1.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerNumericLiteral2.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerNumericLiteral8.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerNumericLiteral9.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerS7.2_A1.5_T2.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerS7.3_A1.1_T2.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannerS7.6_A4.2_T1.ts"
|
||
Expect Syntax Error: "conformance/scanner/ecmascript5/scannertest1.ts"
|
||
Expect Syntax Error: "conformance/statements/VariableStatements/everyTypeWithAnnotationAndInvalidInitializer.ts"
|
||
Expect Syntax Error: "conformance/statements/VariableStatements/invalidMultipleVariableDeclarations.ts"
|
||
Expect Syntax Error: "conformance/statements/breakStatements/invalidSwitchBreakStatement.ts"
|
||
Expect Syntax Error: "conformance/statements/breakStatements/switchBreakStatements.ts"
|
||
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatements.ts"
|
||
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatementsArrayErrors.ts"
|
||
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatementsDestructuring.ts"
|
||
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatementsDestructuring2.ts"
|
||
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatementsDestructuring3.ts"
|
||
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatementsDestructuring4.ts"
|
||
Expect Syntax Error: "conformance/statements/for-inStatements/for-inStatementsInvalid.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES3For-ofTypeCheck1.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES3For-ofTypeCheck2.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES3For-ofTypeCheck4.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES3For-ofTypeCheck6.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of17.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of26.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of27.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of28.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of29.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of30.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of31.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of34.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of35.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of36.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of7.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-of8.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck11.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck12.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck13.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck14.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck7.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck8.ts"
|
||
Expect Syntax Error: "conformance/statements/for-ofStatements/ES5For-ofTypeCheck9.ts"
|
||
Expect Syntax Error: "conformance/statements/forStatements/forStatementsMultipleInvalidDecl.ts"
|
||
Expect Syntax Error: "conformance/statements/returnStatements/invalidReturnStatements.ts"
|
||
Expect Syntax Error: "conformance/statements/switchStatements/switchStatements.ts"
|
||
Expect Syntax Error: "conformance/types/any/anyAsConstructor.ts"
|
||
Expect Syntax Error: "conformance/types/any/anyAsGenericFunctionCall.ts"
|
||
Expect Syntax Error: "conformance/types/any/assignAnyToEveryType.ts"
|
||
Expect Syntax Error: "conformance/types/any/narrowExceptionVariableInCatchClause.ts"
|
||
Expect Syntax Error: "conformance/types/any/narrowFromAnyWithInstanceof.ts"
|
||
Expect Syntax Error: "conformance/types/any/narrowFromAnyWithTypePredicate.ts"
|
||
Expect Syntax Error: "conformance/types/asyncGenerators/types.asyncGenerators.es2018.2.ts"
|
||
Expect Syntax Error: "conformance/types/conditional/conditionalTypes1.ts"
|
||
Expect Syntax Error: "conformance/types/conditional/conditionalTypes2.ts"
|
||
Expect Syntax Error: "conformance/types/conditional/conditionalTypesExcessProperties.ts"
|
||
Expect Syntax Error: "conformance/types/conditional/inferTypes1.ts"
|
||
Expect Syntax Error: "conformance/types/conditional/inferTypesInvalidExtendsDeclaration.ts"
|
||
Expect Syntax Error: "conformance/types/conditional/inferTypesWithExtends2.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/commaOperator/contextuallyTypeCommaOperator02.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/commaOperator/contextuallyTypeCommaOperator03.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/jsxAttributes/contextuallyTypedStringLiteralsInJsxAttributes01.tsx"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/jsxAttributes/contextuallyTypedStringLiteralsInJsxAttributes02.tsx"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/logicalAnd/contextuallyTypeLogicalAnd02.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/logicalAnd/contextuallyTypeLogicalAnd03.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/methodDeclarations/contextuallyTypedBindingInitializerNegative.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/methodDeclarations/contextuallyTypedClassExpressionMethodDeclaration01.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/methodDeclarations/contextuallyTypedClassExpressionMethodDeclaration02.ts"
|
||
Expect Syntax Error: "conformance/types/contextualTypes/partiallyAnnotatedFunction/partiallyAnnotatedFunctionInferenceError.ts"
|
||
Expect Syntax Error: "conformance/types/forAwait/types.forAwait.es2018.2.ts"
|
||
Expect Syntax Error: "conformance/types/forAwait/types.forAwait.es2018.3.ts"
|
||
Expect Syntax Error: "conformance/types/import/importTypeAmbientMissing.ts"
|
||
Expect Syntax Error: "conformance/types/import/importTypeNonString.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/commonTypeIntersection.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionAndUnionTypes.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionAsWeakTypeSource.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionNarrowing.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionReduction.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionReductionStrict.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionTypeAssignment.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionTypeInference.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionTypeReadonly.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionWithIndexSignatures.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/intersectionWithUnionConstraint.ts"
|
||
Expect Syntax Error: "conformance/types/intersection/recursiveIntersectionTypes.ts"
|
||
Expect Syntax Error: "conformance/types/keyof/circularIndexedAccessErrors.ts"
|
||
Expect Syntax Error: "conformance/types/keyof/keyofAndIndexedAccess.ts"
|
||
Expect Syntax Error: "conformance/types/keyof/keyofAndIndexedAccess2.ts"
|
||
Expect Syntax Error: "conformance/types/keyof/keyofAndIndexedAccessErrors.ts"
|
||
Expect Syntax Error: "conformance/types/literal/enumLiteralTypes3.ts"
|
||
Expect Syntax Error: "conformance/types/literal/literalTypesWidenInParameterPosition.ts"
|
||
Expect Syntax Error: "conformance/types/literal/numericLiteralTypes3.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringEnumLiteralTypes3.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsAssertionsInEqualityComparisons02.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsAssignedToStringMappings.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithEqualityChecks01.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithEqualityChecks02.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithEqualityChecks03.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithEqualityChecks04.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithSwitchStatements01.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithSwitchStatements02.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithSwitchStatements03.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringLiteralsWithSwitchStatements04.ts"
|
||
Expect Syntax Error: "conformance/types/literal/stringMappingOverPatternLiterals.ts"
|
||
Expect Syntax Error: "conformance/types/literal/templateLiteralTypes1.ts"
|
||
Expect Syntax Error: "conformance/types/literal/templateLiteralTypes2.ts"
|
||
Expect Syntax Error: "conformance/types/literal/templateLiteralTypes3.ts"
|
||
Expect Syntax Error: "conformance/types/literal/templateLiteralTypes4.ts"
|
||
Expect Syntax Error: "conformance/types/literal/templateLiteralTypesPatterns.ts"
|
||
Expect Syntax Error: "conformance/types/literal/templateLiteralTypesPatternsPrefixSuffixAssignability.ts"
|
||
Expect Syntax Error: "conformance/types/localTypes/localTypes4.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeAsClauseRelationships.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeAsClauses.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeConstraints2.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeErrors.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeErrors2.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeInferenceErrors.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeRelationships.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypeWithAny.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypes5.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypes6.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/mappedTypesAndObjects.ts"
|
||
Expect Syntax Error: "conformance/types/mapped/recursiveMappedTypes.ts"
|
||
Expect Syntax Error: "conformance/types/members/augmentedTypeAssignmentCompatIndexSignature.ts"
|
||
Expect Syntax Error: "conformance/types/members/classWithPrivateProperty.ts"
|
||
Expect Syntax Error: "conformance/types/members/duplicateNumericIndexers.ts"
|
||
Expect Syntax Error: "conformance/types/members/duplicatePropertyNames.ts"
|
||
Expect Syntax Error: "conformance/types/members/duplicateStringIndexers.ts"
|
||
Expect Syntax Error: "conformance/types/members/indexSignatures1.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeHidingMembersOfExtendedObject.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeHidingMembersOfObjectAssignmentCompat.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeHidingMembersOfObjectAssignmentCompat2.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeWithConstructSignatureAppearsToBeFunctionType.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeWithDuplicateNumericProperty.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeWithStringAndNumberIndexSignatureToAny.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeWithStringIndexerHidingObjectIndexer.ts"
|
||
Expect Syntax Error: "conformance/types/members/objectTypeWithStringNamedNumericProperty.ts"
|
||
Expect Syntax Error: "conformance/types/members/typesWithPrivateConstructor.ts"
|
||
Expect Syntax Error: "conformance/types/members/typesWithProtectedConstructor.ts"
|
||
Expect Syntax Error: "conformance/types/members/typesWithPublicConstructor.ts"
|
||
Expect Syntax Error: "conformance/types/namedTypes/interfaceWithPrivateMember.ts"
|
||
Expect Syntax Error: "conformance/types/never/neverIntersectionNotCallable.ts"
|
||
Expect Syntax Error: "conformance/types/never/neverTypeErrors1.ts"
|
||
Expect Syntax Error: "conformance/types/never/neverTypeErrors2.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveAccessProperty.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveAndTypeVariables.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveAsProperty.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveAssignError.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveConstraintOfIndexAccessType.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveInFunction.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveInGeneric.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveIndexingWithForInNoImplicitAny.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveIndexingWithForInSupressError.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveNarrow.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveStrictNull.ts"
|
||
Expect Syntax Error: "conformance/types/nonPrimitive/nonPrimitiveUnionIntersection.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/callSignatureWithOptionalParameterAndInitializer.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/callSignaturesThatDifferOnlyByReturnType2.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/callSignaturesWithParameterInitializers.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/constructSignatureWithAccessibilityModifiersOnParameters.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/constructSignatureWithAccessibilityModifiersOnParameters2.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/stringLiteralTypesInImplementationSignatures2.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/callSignatures/typeParameterUsedAsTypeParameterConstraint4.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/constructSignatures/constructSignaturesWithOverloads2.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/indexSignatures/multipleNumericIndexers.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/indexSignatures/multipleStringIndexers.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/indexSignatures/numericIndexerConstrainsPropertyDeclarations.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/indexSignatures/numericIndexerConstrainsPropertyDeclarations2.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/indexSignatures/stringIndexerConstrainsPropertyDeclarations.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/indexSignatures/stringIndexerConstrainsPropertyDeclarations2.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/methodSignatures/methodSignaturesWithOverloads.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/objectTypeLiteralSyntax2.ts"
|
||
Expect Syntax Error: "conformance/types/objectTypeLiteral/propertySignatures/numericStringNamedPropertyEquivalence.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/boolean/assignFromBooleanInterface.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/boolean/assignFromBooleanInterface2.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/boolean/boolInsteadOfBoolean.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/boolean/invalidBooleanAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/enum/invalidEnumAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/enum/validEnumAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/null/directReferenceToNull.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/null/validNullAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/number/assignFromNumberInterface.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/number/assignFromNumberInterface2.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/number/invalidNumberAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/string/assignFromStringInterface.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/string/assignFromStringInterface2.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/string/invalidStringAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/string/stringPropertyAccessWithError.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/undefined/directReferenceToUndefined.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/undefined/invalidUndefinedAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/void/invalidAssignmentsToVoid.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/void/invalidVoidAssignments.ts"
|
||
Expect Syntax Error: "conformance/types/primitives/void/invalidVoidValues.ts"
|
||
Expect Syntax Error: "conformance/types/rest/genericRestArity.ts"
|
||
Expect Syntax Error: "conformance/types/rest/genericRestArityStrict.ts"
|
||
Expect Syntax Error: "conformance/types/rest/genericRestParameters1.ts"
|
||
Expect Syntax Error: "conformance/types/rest/genericRestParameters3.ts"
|
||
Expect Syntax Error: "conformance/types/rest/objectRest.ts"
|
||
Expect Syntax Error: "conformance/types/rest/restTuplesFromContextualTypes.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/predefinedTypes/objectTypesWithPredefinedTypesAsName.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeLiterals/arrayTypeOfFunctionTypes.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeLiterals/arrayTypeOfFunctionTypes2.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeLiterals/unionTypeLiterals.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeQueries/circularTypeofWithVarOrFunc.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeQueries/recursiveTypesWithTypeof.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeQueries/typeofANonExportedType.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeQueries/typeofAnExportedType.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeQueries/typeofClassWithPrivates.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeQueries/typeofThis.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeQueries/typeofTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts"
|
||
Expect Syntax Error: "conformance/types/specifyingTypes/typeReferences/nonGenericTypeReferenceWithTypeArguments.ts"
|
||
Expect Syntax Error: "conformance/types/spread/objectSpreadIndexSignature.ts"
|
||
Expect Syntax Error: "conformance/types/spread/objectSpreadNegative.ts"
|
||
Expect Syntax Error: "conformance/types/spread/objectSpreadSetonlyAccessor.ts"
|
||
Expect Syntax Error: "conformance/types/spread/objectSpreadStrictNull.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadDuplicate.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadDuplicateExact.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadMethods.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadObjectOrFalsy.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadOverwritesPropertyStrict.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadTypeVariable.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadUnion2.ts"
|
||
Expect Syntax Error: "conformance/types/spread/spreadUnion3.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/stringLiteralTypesAndLogicalOrExpressions01.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/stringLiteralTypesInVariableDeclarations01.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability01.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/stringLiteralTypesOverloadAssignability02.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/stringLiteralTypesOverloads05.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/stringLiteralTypesWithTemplateStrings02.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/stringLiteralTypesWithVariousOperators02.ts"
|
||
Expect Syntax Error: "conformance/types/stringLiteral/typeArgumentsWithStringLiteralTypes01.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/declarationFiles.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/looseThisTypeInFunctions.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/thisTypeAccessibility.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/thisTypeErrors.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/thisTypeErrors2.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/thisTypeInAccessors.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/thisTypeInAccessorsNegative.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/thisTypeInFunctions.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/thisTypeInFunctions2.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/typeRelationships.ts"
|
||
Expect Syntax Error: "conformance/types/thisType/unionThisTypeInFunctions.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/arityAndOrderCompatibility01.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/castingTuple.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/contextualTypeTupleEnd.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/contextualTypeWithTuple.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/emptyTuples/emptyTuplesTypeAssertion01.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/emptyTuples/emptyTuplesTypeAssertion02.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/indexerWithTuple.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/optionalTupleElements1.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/readonlyArraysAndTuples.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/strictTupleLength.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/tupleLengthCheck.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/unionsOfTupleTypes1.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/variadicTuples1.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/variadicTuples2.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/wideningTuples3.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/wideningTuples4.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/wideningTuples5.ts"
|
||
Expect Syntax Error: "conformance/types/tuple/wideningTuples7.ts"
|
||
Expect Syntax Error: "conformance/types/typeAliases/directDependenceBetweenTypeAliases.ts"
|
||
Expect Syntax Error: "conformance/types/typeAliases/intrinsicKeyword.ts"
|
||
Expect Syntax Error: "conformance/types/typeAliases/intrinsicTypes.ts"
|
||
Expect Syntax Error: "conformance/types/typeAliases/typeAliasesDoNotMerge.ts"
|
||
Expect Syntax Error: "conformance/types/typeAliases/typeAliasesForObjectTypes.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/callGenericFunctionWithIncorrectNumberOfTypeArguments.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/callNonGenericFunctionWithTypeArguments.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/functionConstraintSatisfaction2.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/instantiateGenericClassWithWrongNumberOfTypeArguments.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/instantiateNonGenericTypeWithTypeArguments.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/instantiationExpressions.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/typeParameterAsTypeParameterConstraint2.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeArgumentLists/wrappedAndRecursiveConstraints4.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeParameterAsBaseType.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithConstraints4.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeParameterLists/propertyAccessOnTypeParameterWithConstraints5.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeParameterLists/staticMembersUsingClassTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeParameterLists/typeParameterDirectlyConstrainedToItself.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeParameterLists/typeParameterIndirectlyConstrainedToItself.ts"
|
||
Expect Syntax Error: "conformance/types/typeParameters/typeParameterLists/typesWithDuplicateTypeParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/apparentType/apparentTypeSubtyping.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/apparentType/apparentTypeSupertype.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatBetweenTupleAndArray.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignatures.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignatures2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignatures3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignatures4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignatures5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignatures6.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignaturesWithOptionalParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithCallSignaturesWithRestParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithConstructSignatures.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithConstructSignatures2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithConstructSignatures3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithConstructSignatures4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithConstructSignatures5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithConstructSignatures6.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithConstructSignaturesWithOptionalParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithDiscriminatedUnion.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithEnumIndexer.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithGenericCallSignatures2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithGenericCallSignatures4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithNumericIndexer.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithNumericIndexer2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithNumericIndexer3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembers4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembers5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersAccessibility.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersOptionality.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersOptionality2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithObjectMembersStringNumericNames.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithStringIndexer.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithStringIndexer2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithStringIndexer3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/callSignatureAssignabilityInInheritance.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/callSignatureAssignabilityInInheritance3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/callSignatureAssignabilityInInheritance6.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/constructSignatureAssignabilityInInheritance.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/constructSignatureAssignabilityInInheritance3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/constructSignatureAssignabilityInInheritance6.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/covariantCallbacks.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/enumAssignability.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/enumAssignabilityInInheritance.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/genericCallWithObjectTypeArgsAndInitializers.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/nullAssignedToUndefined.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/optionalPropertyAssignableToStringIndexSignature.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/typeParameterAssignability.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/typeParameterAssignability2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/typeParameterAssignability3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/assignmentCompatibility/unionTypesAssignability.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/bestCommonType/bestCommonTypeOfTuple.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/bestCommonType/bestCommonTypeOfTuple2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/comparable/equalityStrictNulls.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/comparable/equalityWithEnumTypes.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/comparable/equalityWithIntersectionTypes01.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/comparable/switchCaseWithUnionTypes01.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/comparable/typeAssertionsWithIntersectionTypes01.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/comparable/typeAssertionsWithUnionTypes01.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/instanceOf/narrowingGenericTypeFromInstanceof01.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/recursiveTypes/infiniteExpansionThroughInstantiation.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/recursiveTypes/objectTypeWithRecursiveWrappedProperty.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/recursiveTypes/objectTypeWithRecursiveWrappedProperty2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/recursiveTypes/objectTypeWithRecursiveWrappedPropertyCheckedNominally.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/recursiveTypes/recursiveTypeReferences1.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/recursiveTypes/recursiveTypeReferences2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/enumIsNotASubtypeOfAnythingButNumber.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypesOfTypeParameter.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypesOfTypeParameterWithConstraints.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypesOfTypeParameterWithConstraints4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypesOfTypeParameterWithRecursiveConstraints.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypesOfUnion.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithCallSignaturesA.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithCallSignaturesWithOptionalParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithCallSignaturesWithRestParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithCallSignaturesWithSpecializedSignatures.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithConstructSignatures6.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithConstructSignaturesWithOptionalParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithConstructSignaturesWithSpecializedSignatures.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithGenericCallSignaturesWithOptionalParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithGenericConstructSignaturesWithOptionalParameters.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithNumericIndexer.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithNumericIndexer2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithNumericIndexer3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithNumericIndexer4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithNumericIndexer5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithObjectMembers.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithObjectMembers2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithObjectMembers3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithObjectMembers5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithObjectMembersAccessibility.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithObjectMembersAccessibility2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithObjectMembersOptionality2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithStringIndexer.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithStringIndexer2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithStringIndexer3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/subtypingWithStringIndexer4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/subtypesAndSuperTypes/unionSubtypeIfEveryConstituentTypeIsSubtype.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithCallSignatures3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeAndMemberIdentity/objectTypesIdentityWithPrivates3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeAndMemberIdentity/unionTypeIdentity.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/contextualSignatureInstantiation.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallToOverloadedMethodWithOverloadedArguments.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithConstraintsTypeArgumentInference2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithConstructorTypedArguments5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithFunctionTypedArguments.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithFunctionTypedArguments2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithFunctionTypedArguments5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithGenericSignatureArguments2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithGenericSignatureArguments3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithObjectLiteralArgs.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithObjectTypeArgs.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithObjectTypeArgsAndConstraints3.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithObjectTypeArgsAndConstraints4.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithObjectTypeArgsAndConstraints5.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithOverloadedConstructorTypedArguments2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithOverloadedFunctionTypedArguments2.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericCallWithTupleType.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/genericClassWithFunctionTypedMemberArguments.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/indexSignatureTypeInference.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/intraExpressionInferences.ts"
|
||
Expect Syntax Error: "conformance/types/typeRelationships/typeInference/unionTypeInference.ts"
|
||
Expect Syntax Error: "conformance/types/union/contextualTypeWithUnionTypeObjectLiteral.ts"
|
||
Expect Syntax Error: "conformance/types/union/discriminatedUnionTypes1.ts"
|
||
Expect Syntax Error: "conformance/types/union/discriminatedUnionTypes2.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeCallSignatures.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeCallSignatures4.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeCallSignatures5.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeCallSignatures6.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeConstructSignatures.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeEquivalence.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeFromArrayLiteral.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeMembers.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypePropertyAccessibility.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeReadonly.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeReduction2.ts"
|
||
Expect Syntax Error: "conformance/types/union/unionTypeWithIndexSignature.ts"
|
||
Expect Syntax Error: "conformance/types/uniqueSymbol/uniqueSymbolsDeclarationsInJs.ts"
|
||
Expect Syntax Error: "conformance/types/uniqueSymbol/uniqueSymbolsDeclarationsInJsErrors.ts"
|
||
Expect Syntax Error: "conformance/types/uniqueSymbol/uniqueSymbolsErrors.ts"
|
||
Expect Syntax Error: "conformance/types/unknown/unknownControlFlow.ts"
|
||
Expect Syntax Error: "conformance/types/unknown/unknownType1.ts"
|
||
Expect Syntax Error: "conformance/types/unknown/unknownType2.ts"
|
||
Expect Syntax Error: "conformance/types/witness/witness.ts"
|
||
Expect to Parse: "compiler/bom-utf16be.ts"
|
||
|
||
× Invalid Character ``
|
||
╭─[compiler/bom-utf16be.ts:1:1]
|
||
1 │ 瘀愀爀 砀㴀 㬀ഀ
|
||
· ─
|
||
╰────
|
||
Expect to Parse: "compiler/elidedEmbeddedStatementsReplacedWithSemicolon.ts"
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/elidedEmbeddedStatementsReplacedWithSemicolon.ts:22:1]
|
||
22 │ // @ts-ignore suppress `with` statement error
|
||
23 │ with (window)
|
||
· ────
|
||
24 │ const enum H {}
|
||
╰────
|
||
Expect to Parse: "compiler/emitBundleWithShebang1.ts"
|
||
|
||
× Invalid Character `!`
|
||
╭─[compiler/emitBundleWithShebang1.ts:4:1]
|
||
4 │
|
||
5 │ #!/usr/bin/env gjs
|
||
· ─
|
||
6 │ class Doo {}
|
||
╰────
|
||
Expect to Parse: "compiler/emitBundleWithShebangAndPrologueDirectives1.ts"
|
||
|
||
× Invalid Character `!`
|
||
╭─[compiler/emitBundleWithShebangAndPrologueDirectives1.ts:5:1]
|
||
5 │ // @Filename: test.ts
|
||
6 │ #!/usr/bin/env gjs
|
||
· ─
|
||
7 │ "use strict"
|
||
╰────
|
||
Expect to Parse: "compiler/spreadsAndContextualTupleTypes.ts"
|
||
|
||
× Unexpected token
|
||
╭─[compiler/spreadsAndContextualTupleTypes.ts:26:1]
|
||
26 │
|
||
27 │ declare function foo<const T>(path: T): T;
|
||
· ─────
|
||
28 │
|
||
╰────
|
||
Expect to Parse: "compiler/withStatementInternalComments.ts"
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/withStatementInternalComments.ts:1:1]
|
||
1 │ // @ts-ignore
|
||
2 │ /*1*/ with /*2*/ ( /*3*/ false /*4*/ ) /*5*/ {}
|
||
· ────
|
||
╰────
|
||
Expect to Parse: "conformance/async/es6/asyncWithVarShadowing_es6.ts"
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[conformance/async/es6/asyncWithVarShadowing_es6.ts:131:1]
|
||
131 │ }
|
||
132 │ catch ({ x }) {
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
133 │ var x;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
134 │ }
|
||
╰────
|
||
Expect to Parse: "conformance/es6/for-ofStatements/for-of53.ts"
|
||
|
||
× Identifier `v` has already been declared
|
||
╭─[conformance/es6/for-ofStatements/for-of53.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (let v of []) {
|
||
· ┬
|
||
· ╰── `v` has already been declared here
|
||
3 │ var v;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
4 │ }
|
||
╰────
|
||
Expect to Parse: "conformance/externalModules/topLevelAwait.2.ts"
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/externalModules/topLevelAwait.2.ts:6:1]
|
||
6 │ // await allowed in import=namespace when not a module
|
||
7 │ import await = foo.await;
|
||
· ─────
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwait.2.ts:3:1]
|
||
3 │
|
||
4 │ declare namespace foo { const await: any; }
|
||
· ─────
|
||
5 │
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwait.2.ts:6:1]
|
||
6 │ // await allowed in import=namespace when not a module
|
||
7 │ import await = foo.await;
|
||
· ─────
|
||
╰────
|
||
Expect to Parse: "conformance/externalModules/topLevelAwait.3.ts"
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwait.3.ts:6:1]
|
||
6 │ export {};
|
||
7 │ declare const await: any;
|
||
· ─────
|
||
8 │ declare class C extends await {}
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwait.3.ts:7:1]
|
||
7 │ declare const await: any;
|
||
8 │ declare class C extends await {}
|
||
· ─────
|
||
╰────
|
||
Expect to Parse: "conformance/salsa/plainJSRedeclare3.ts"
|
||
|
||
× Identifier `orbitol` has already been declared
|
||
╭─[conformance/salsa/plainJSRedeclare3.ts:4:1]
|
||
4 │ // @filename: plainJSRedeclare.js
|
||
5 │ const orbitol = 1
|
||
· ───┬───
|
||
· ╰── `orbitol` has already been declared here
|
||
6 │ var orbitol = 1 + false
|
||
· ───┬───
|
||
· ╰── It can not be redeclared here
|
||
7 │ orbitol.toExponential()
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[compiler/ArrowFunctionExpression1.ts:1:1]
|
||
1 │ var v = (public x: string) => { };
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/ClassDeclaration26.ts:1:1]
|
||
1 │ class C {
|
||
2 │ public const var export foo = 10;
|
||
· ─
|
||
3 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/ClassDeclarationWithInvalidConstOnPropertyDeclaration.ts:1:1]
|
||
1 │ class AtomicNumbers {
|
||
2 │ static const H = 1;
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `)` but found `Identifier`
|
||
╭─[compiler/ParameterList5.ts:1:1]
|
||
1 │ function A(): (public B) => C {
|
||
· ┬
|
||
· ╰── `)` expected
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `)` but found `Identifier`
|
||
╭─[compiler/ParameterList6.ts:1:1]
|
||
1 │ class C {
|
||
2 │ constructor(C: (public A) => any) {
|
||
· ┬
|
||
· ╰── `)` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/accessorBodyInTypeContext.ts:1:1]
|
||
1 │ type A = {
|
||
2 │ get foo() { return 0 }
|
||
· ─
|
||
3 │ };
|
||
╰────
|
||
|
||
× A 'set' accessor function argument must not be a rest parameter
|
||
╭─[compiler/accessorWithRestParam.ts:3:1]
|
||
3 │ class C {
|
||
4 │ set X(...v) { }
|
||
· ────
|
||
5 │ static set X(...v2) { }
|
||
╰────
|
||
|
||
× A 'set' accessor function argument must not be a rest parameter
|
||
╭─[compiler/accessorWithRestParam.ts:4:1]
|
||
4 │ set X(...v) { }
|
||
5 │ static set X(...v2) { }
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/aliasErrors.ts:12:1]
|
||
12 │ import m2 = no.mod;
|
||
13 │ import n = 5;
|
||
· ─
|
||
14 │ import o = "s";
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[compiler/ambientWithStatements.ts:10:1]
|
||
10 │ L: var y;
|
||
11 │ return;
|
||
· ──────
|
||
12 │ switch (x) {
|
||
╰────
|
||
|
||
× Illegal break statement
|
||
╭─[compiler/ambientWithStatements.ts:1:1]
|
||
1 │ declare module M {
|
||
2 │ break;
|
||
· ──────
|
||
3 │ continue;
|
||
╰────
|
||
help: A `break` statement can only be used within an enclosing iteration or switch statement.
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[compiler/ambientWithStatements.ts:2:1]
|
||
2 │ break;
|
||
3 │ continue;
|
||
· ─────────
|
||
4 │ debugger;
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/ambientWithStatements.ts:24:1]
|
||
24 │ }
|
||
25 │ with (x) {
|
||
· ────
|
||
26 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/anonymousModules.ts:1:1]
|
||
1 │ module {
|
||
· ─
|
||
2 │ export var foo = 1;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `:` but found `}`
|
||
╭─[compiler/anyMappedTypesError.ts:2:1]
|
||
2 │
|
||
3 │ type Foo = {[P in "bar"]};
|
||
· ┬
|
||
· ╰── `:` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/argumentsSpreadRestIterables.tsx:10:1]
|
||
10 │
|
||
11 │ declare function fn1<const T extends readonly unknown[]>(...args: T): T;
|
||
· ─────
|
||
12 │ const res1 = fn1(..."hello");
|
||
╰────
|
||
|
||
× 'arguments' is not allowed in class field initializer
|
||
╭─[compiler/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.ts:2:1]
|
||
2 │ return class T {
|
||
3 │ a = arguments
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× 'arguments' is not allowed in class field initializer
|
||
╭─[compiler/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.ts:8:1]
|
||
8 │ return new class T {
|
||
9 │ a = arguments
|
||
· ─────────
|
||
10 │ }
|
||
╰────
|
||
|
||
× 'arguments' is not allowed in class field initializer
|
||
╭─[compiler/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.ts:14:1]
|
||
14 │ return class T {
|
||
15 │ a = { b: arguments }
|
||
· ─────────
|
||
16 │ }
|
||
╰────
|
||
|
||
× 'arguments' is not allowed in class field initializer
|
||
╭─[compiler/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.ts:20:1]
|
||
20 │ return new class T {
|
||
21 │ a = { b: arguments }
|
||
· ─────────
|
||
22 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/arraySigChecking.ts:10:1]
|
||
10 │
|
||
11 │ var foo: { [index: any]; }; // expect an error here
|
||
· ─
|
||
12 │ }
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[compiler/arrowFunctionErrorSpan.ts:17:1]
|
||
17 │ f(()
|
||
18 │ => { });
|
||
· ──
|
||
19 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/arrowFunctionMissingCurlyWithSemicolon.ts:1:1]
|
||
1 │ // Should error at semicolon.
|
||
2 │ var f = () => ;
|
||
· ─
|
||
3 │ var b = 1 * 2 * 3 * 4;
|
||
╰────
|
||
|
||
× Expected `=>` but found `{`
|
||
╭─[compiler/arrowFunctionsMissingTokens.ts:2:1]
|
||
2 │ module missingArrowsWithCurly {
|
||
3 │ var a = () { };
|
||
· ┬
|
||
· ╰── `=>` expected
|
||
4 │
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[compiler/asiReturn.ts:1:1]
|
||
1 │ // This should be an error for using a return outside a function, but ASI should work properly
|
||
2 │ return
|
||
· ──────
|
||
╰────
|
||
|
||
× Expected `,` but found `(`
|
||
╭─[compiler/assertInWrapSomeTypeParameter.ts:1:1]
|
||
1 │ class C<T extends C<T>> {
|
||
2 │ foo<U extends C<C<T>>(x: U) {
|
||
· ┬
|
||
· ╰── `,` expected
|
||
3 │ return null;
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[compiler/assignToInvalidLHS.ts:3:1]
|
||
3 │ // Below is actually valid JavaScript (see http://es5.github.com/#x8.7 ), even though will always fail at runtime with 'invalid left-hand side'
|
||
4 │ var x = new y = 5;
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[compiler/assignmentToParenthesizedExpression1.ts:1:1]
|
||
1 │ var x;
|
||
2 │ (1, x)=0;
|
||
· ────
|
||
╰────
|
||
|
||
× Identifier `c1` has already been declared
|
||
╭─[compiler/augmentedTypesClass.ts:1:1]
|
||
1 │ //// class then var
|
||
2 │ class c1 { public foo() { } }
|
||
· ─┬
|
||
· ╰── `c1` has already been declared here
|
||
3 │ var c1 = 1; // error
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
4 │
|
||
╰────
|
||
|
||
× Identifier `c2` has already been declared
|
||
╭─[compiler/augmentedTypesClass2a.ts:1:1]
|
||
1 │ //// class then function
|
||
2 │ class c2 { public foo() { } } // error
|
||
· ─┬
|
||
· ╰── `c2` has already been declared here
|
||
3 │ function c2() { } // error
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
4 │ var c2 = () => { }
|
||
╰────
|
||
|
||
× Identifier `c2` has already been declared
|
||
╭─[compiler/augmentedTypesClass2a.ts:1:1]
|
||
1 │ //// class then function
|
||
2 │ class c2 { public foo() { } } // error
|
||
· ─┬
|
||
· ╰── `c2` has already been declared here
|
||
3 │ function c2() { } // error
|
||
4 │ var c2 = () => { }
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
╰────
|
||
|
||
× Identifier `c3` has already been declared
|
||
╭─[compiler/augmentedTypesClass4.ts:1:1]
|
||
1 │ //// class then class
|
||
2 │ class c3 { public foo() { } } // error
|
||
· ─┬
|
||
· ╰── `c3` has already been declared here
|
||
3 │ class c3 { public bar() { } } // error
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
╰────
|
||
|
||
× Identifier `y3` has already been declared
|
||
╭─[compiler/augmentedTypesFunction.ts:12:1]
|
||
12 │ // function then class
|
||
13 │ function y3() { } // error
|
||
· ─┬
|
||
· ╰── `y3` has already been declared here
|
||
14 │ class y3 { } // error
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
15 │
|
||
╰────
|
||
|
||
× Identifier `y3a` has already been declared
|
||
╭─[compiler/augmentedTypesFunction.ts:15:1]
|
||
15 │
|
||
16 │ function y3a() { } // error
|
||
· ─┬─
|
||
· ╰── `y3a` has already been declared here
|
||
17 │ class y3a { public foo() { } } // error
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
18 │
|
||
╰────
|
||
|
||
× Identifier `x4` has already been declared
|
||
╭─[compiler/augmentedTypesVar.ts:12:1]
|
||
12 │ // var then class
|
||
13 │ var x4 = 1; // error
|
||
· ─┬
|
||
· ╰── `x4` has already been declared here
|
||
14 │ class x4 { } // error
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
15 │
|
||
╰────
|
||
|
||
× Identifier `x4a` has already been declared
|
||
╭─[compiler/augmentedTypesVar.ts:15:1]
|
||
15 │
|
||
16 │ var x4a = 1; // error
|
||
· ─┬─
|
||
· ╰── `x4a` has already been declared here
|
||
17 │ class x4a { public foo() { } } // error
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
18 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/autoLift2.ts:4:1]
|
||
4 │ constructor() {
|
||
5 │ this.foo: any;
|
||
· ▲
|
||
6 │ this.bar: any;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `(` but found `await`
|
||
╭─[compiler/awaitInNonAsyncFunction.ts:4:1]
|
||
4 │ function normalFunc(p: Promise<number>) {
|
||
5 │ for await (const _ of []);
|
||
· ──┬──
|
||
· ╰── `(` expected
|
||
6 │ return await p;
|
||
╰────
|
||
|
||
× `await` is only allowed within async functions and at the top levels of modules
|
||
╭─[compiler/awaitLiteralValues.ts:1:1]
|
||
1 │ function awaitString() {
|
||
2 │ await 'literal';
|
||
· ─────
|
||
3 │ }
|
||
╰────
|
||
|
||
× `await` is only allowed within async functions and at the top levels of modules
|
||
╭─[compiler/awaitLiteralValues.ts:5:1]
|
||
5 │ function awaitNumber() {
|
||
6 │ await 1;
|
||
· ─────
|
||
7 │ }
|
||
╰────
|
||
|
||
× `await` is only allowed within async functions and at the top levels of modules
|
||
╭─[compiler/awaitLiteralValues.ts:9:1]
|
||
9 │ function awaitTrue() {
|
||
10 │ await true;
|
||
· ─────
|
||
11 │ }
|
||
╰────
|
||
|
||
× `await` is only allowed within async functions and at the top levels of modules
|
||
╭─[compiler/awaitLiteralValues.ts:13:1]
|
||
13 │ function awaitFalse() {
|
||
14 │ await false;
|
||
· ─────
|
||
15 │ }
|
||
╰────
|
||
|
||
× `await` is only allowed within async functions and at the top levels of modules
|
||
╭─[compiler/awaitLiteralValues.ts:17:1]
|
||
17 │ function awaitNull() {
|
||
18 │ await null;
|
||
· ─────
|
||
19 │ }
|
||
╰────
|
||
|
||
× `await` is only allowed within async functions and at the top levels of modules
|
||
╭─[compiler/awaitLiteralValues.ts:21:1]
|
||
21 │ function awaitUndefined() {
|
||
22 │ await undefined;
|
||
· ─────
|
||
23 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/badArrayIndex.ts:1:1]
|
||
1 │ var results = number[];
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/badArraySyntax.ts:5:1]
|
||
5 │ var a1: Z[] = [];
|
||
6 │ var a2 = new Z[];
|
||
· ─
|
||
7 │ var a3 = new Z[]();
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/bases.ts:6:1]
|
||
6 │ constructor() {
|
||
7 │ this.y: any;
|
||
· ▲
|
||
8 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Illegal break statement
|
||
╭─[compiler/breakNotInIterationOrSwitchStatement1.ts:1:1]
|
||
1 │ break;
|
||
· ──────
|
||
╰────
|
||
help: A `break` statement can only be used within an enclosing iteration or switch statement.
|
||
|
||
× Illegal break statement
|
||
╭─[compiler/breakNotInIterationOrSwitchStatement2.ts:2:1]
|
||
2 │ function f() {
|
||
3 │ break;
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
help: A `break` statement can only be used within an enclosing iteration or switch statement.
|
||
|
||
× Jump target cannot cross function boundary.
|
||
╭─[compiler/breakTarget5.ts:6:1]
|
||
6 │ while (true) {
|
||
7 │ break target;
|
||
· ──────
|
||
8 │ }
|
||
╰────
|
||
|
||
× Use of undefined label
|
||
╭─[compiler/breakTarget6.ts:1:1]
|
||
1 │ while (true) {
|
||
2 │ break target;
|
||
· ───┬──
|
||
· ╰── This label is used, but not defined
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/callExpressionWithMissingTypeArgument1.ts:1:1]
|
||
1 │ Foo<a,,b>();
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/cannotInvokeNewOnErrorExpression.ts:4:1]
|
||
4 │ }
|
||
5 │ var t = new M.ClassA[];
|
||
· ─
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[compiler/castOfYield.ts:3:1]
|
||
3 │ // Unlike await, yield is not allowed to appear in a simple unary expression.
|
||
4 │ <number> yield 0;
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/castOfYield.ts:3:1]
|
||
3 │ // Unlike await, yield is not allowed to appear in a simple unary expression.
|
||
4 │ <number> yield 0;
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `)` but found `=`
|
||
╭─[compiler/catchClauseWithInitializer1.ts:2:1]
|
||
2 │ }
|
||
3 │ catch (e = 1) {
|
||
· ┬
|
||
· ╰── `)` expected
|
||
4 │ }
|
||
╰────
|
||
|
||
× 'super' can only be referenced in a derived class.
|
||
╭─[compiler/checkSuperCallBeforeThisAccessing9.ts:16:1]
|
||
16 │ /** @extends {Based} */
|
||
17 │ ╭─▶ class Derived2 {
|
||
18 │ │ constructor() {
|
||
19 │ │╭▶ super();
|
||
· ││ ─────
|
||
20 │ │ }
|
||
21 │ ├─▶ }
|
||
· ╰──── class does not have `extends`
|
||
╰────
|
||
help: either remove this super, or extend the class
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/class2.ts:1:1]
|
||
1 │ class foo { constructor() { static f = 3; } }
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Identifier `Markup` has already been declared
|
||
╭─[compiler/classCannotExtendVar.ts:1:1]
|
||
1 │ var Markup;
|
||
· ───┬──
|
||
· ╰── `Markup` has already been declared here
|
||
2 │
|
||
3 │ class Markup {
|
||
· ───┬──
|
||
· ╰── It can not be redeclared here
|
||
4 │ constructor() {
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/classExpressionPropertyModifiers.ts:6:1]
|
||
6 │ declare [Symbol.toStringTag] = "uh";
|
||
7 │ export foo = 1;
|
||
· ─
|
||
8 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `{` but found `EOF`
|
||
╭─[compiler/classHeritageWithTrailingSeparator.ts:2:1]
|
||
2 │ class D extends C, {
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/classMemberWithMissingIdentifier.ts:1:1]
|
||
1 │ class C {
|
||
2 │ public {};
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/classMemberWithMissingIdentifier2.ts:1:1]
|
||
1 │ class C {
|
||
2 │ public {[name:string]:VariableDeclaration};
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[compiler/classOverloadForFunction.ts:1:1]
|
||
1 │ class foo { };
|
||
· ─┬─
|
||
· ╰── `foo` has already been declared here
|
||
2 │ function foo() {}
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/classUpdateTests.ts:92:1]
|
||
92 │ constructor() {
|
||
93 │ public p1 = 0; // ERROR
|
||
· ─
|
||
94 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:2:1]
|
||
2 │ class c1 {
|
||
3 │ constructor(i: number, ...arguments) { // error
|
||
· ─────────
|
||
4 │ var arguments: any[]; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:3:1]
|
||
3 │ constructor(i: number, ...arguments) { // error
|
||
4 │ var arguments: any[]; // no error
|
||
· ─────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:7:1]
|
||
7 │ class c12 {
|
||
8 │ constructor(arguments: number, ...rest) { // error
|
||
· ─────────
|
||
9 │ var arguments = 10; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:8:1]
|
||
8 │ constructor(arguments: number, ...rest) { // error
|
||
9 │ var arguments = 10; // no error
|
||
· ─────────
|
||
10 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:12:1]
|
||
12 │ class c1NoError {
|
||
13 │ constructor(arguments: number) { // no error
|
||
· ─────────
|
||
14 │ var arguments = 10; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:13:1]
|
||
13 │ constructor(arguments: number) { // no error
|
||
14 │ var arguments = 10; // no error
|
||
· ─────────
|
||
15 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:19:1]
|
||
19 │ constructor(...restParameters) {
|
||
20 │ var arguments = 10; // no error
|
||
· ─────────
|
||
21 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:24:1]
|
||
24 │ constructor() {
|
||
25 │ var arguments = 10; // no error
|
||
· ─────────
|
||
26 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:29:1]
|
||
29 │ class c3 {
|
||
30 │ constructor(public arguments: number, ...restParameters) { //arguments is error
|
||
· ─────────
|
||
31 │ var arguments = 10; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:30:1]
|
||
30 │ constructor(public arguments: number, ...restParameters) { //arguments is error
|
||
31 │ var arguments = 10; // no error
|
||
· ─────────
|
||
32 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:34:1]
|
||
34 │ class c3NoError {
|
||
35 │ constructor(public arguments: number) { // no error
|
||
· ─────────
|
||
36 │ var arguments = 10; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:35:1]
|
||
35 │ constructor(public arguments: number) { // no error
|
||
36 │ var arguments = 10; // no error
|
||
· ─────────
|
||
37 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:40:1]
|
||
40 │ declare class c4 {
|
||
41 │ constructor(i: number, ...arguments); // No error - no code gen
|
||
· ─────────
|
||
42 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:43:1]
|
||
43 │ declare class c42 {
|
||
44 │ constructor(arguments: number, ...rest); // No error - no code gen
|
||
· ─────────
|
||
45 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:46:1]
|
||
46 │ declare class c4NoError {
|
||
47 │ constructor(arguments: number); // no error
|
||
· ─────────
|
||
48 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:50:1]
|
||
50 │ class c5 {
|
||
51 │ constructor(i: number, ...arguments); // no codegen no error
|
||
· ─────────
|
||
52 │ constructor(i: string, ...arguments); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:51:1]
|
||
51 │ constructor(i: number, ...arguments); // no codegen no error
|
||
52 │ constructor(i: string, ...arguments); // no codegen no error
|
||
· ─────────
|
||
53 │ constructor(i: any, ...arguments) { // error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:52:1]
|
||
52 │ constructor(i: string, ...arguments); // no codegen no error
|
||
53 │ constructor(i: any, ...arguments) { // error
|
||
· ─────────
|
||
54 │ var arguments: any[]; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:53:1]
|
||
53 │ constructor(i: any, ...arguments) { // error
|
||
54 │ var arguments: any[]; // no error
|
||
· ─────────
|
||
55 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:58:1]
|
||
58 │ class c52 {
|
||
59 │ constructor(arguments: number, ...rest); // no codegen no error
|
||
· ─────────
|
||
60 │ constructor(arguments: string, ...rest); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:59:1]
|
||
59 │ constructor(arguments: number, ...rest); // no codegen no error
|
||
60 │ constructor(arguments: string, ...rest); // no codegen no error
|
||
· ─────────
|
||
61 │ constructor(arguments: any, ...rest) { // error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:60:1]
|
||
60 │ constructor(arguments: string, ...rest); // no codegen no error
|
||
61 │ constructor(arguments: any, ...rest) { // error
|
||
· ─────────
|
||
62 │ var arguments: any; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:61:1]
|
||
61 │ constructor(arguments: any, ...rest) { // error
|
||
62 │ var arguments: any; // no error
|
||
· ─────────
|
||
63 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:66:1]
|
||
66 │ class c5NoError {
|
||
67 │ constructor(arguments: number); // no error
|
||
· ─────────
|
||
68 │ constructor(arguments: string); // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:67:1]
|
||
67 │ constructor(arguments: number); // no error
|
||
68 │ constructor(arguments: string); // no error
|
||
· ─────────
|
||
69 │ constructor(arguments: any) { // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:68:1]
|
||
68 │ constructor(arguments: string); // no error
|
||
69 │ constructor(arguments: any) { // no error
|
||
· ─────────
|
||
70 │ var arguments: any; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:69:1]
|
||
69 │ constructor(arguments: any) { // no error
|
||
70 │ var arguments: any; // no error
|
||
· ─────────
|
||
71 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:74:1]
|
||
74 │ declare class c6 {
|
||
75 │ constructor(i: number, ...arguments); // no codegen no error
|
||
· ─────────
|
||
76 │ constructor(i: string, ...arguments); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:75:1]
|
||
75 │ constructor(i: number, ...arguments); // no codegen no error
|
||
76 │ constructor(i: string, ...arguments); // no codegen no error
|
||
· ─────────
|
||
77 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:78:1]
|
||
78 │ declare class c62 {
|
||
79 │ constructor(arguments: number, ...rest); // no codegen no error
|
||
· ─────────
|
||
80 │ constructor(arguments: string, ...rest); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:79:1]
|
||
79 │ constructor(arguments: number, ...rest); // no codegen no error
|
||
80 │ constructor(arguments: string, ...rest); // no codegen no error
|
||
· ─────────
|
||
81 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:83:1]
|
||
83 │ declare class c6NoError {
|
||
84 │ constructor(arguments: number); // no error
|
||
· ─────────
|
||
85 │ constructor(arguments: string); // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassConstructor.ts:84:1]
|
||
84 │ constructor(arguments: number); // no error
|
||
85 │ constructor(arguments: string); // no error
|
||
· ─────────
|
||
86 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:1:1]
|
||
1 │ class c1 {
|
||
2 │ public foo(i: number, ...arguments) { //arguments is error
|
||
· ─────────
|
||
3 │ var arguments: any[]; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:2:1]
|
||
2 │ public foo(i: number, ...arguments) { //arguments is error
|
||
3 │ var arguments: any[]; // no error
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:4:1]
|
||
4 │ }
|
||
5 │ public foo1(arguments: number, ...rest) { //arguments is error
|
||
· ─────────
|
||
6 │ var arguments = 10; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:5:1]
|
||
5 │ public foo1(arguments: number, ...rest) { //arguments is error
|
||
6 │ var arguments = 10; // no error
|
||
· ─────────
|
||
7 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:7:1]
|
||
7 │ }
|
||
8 │ public fooNoError(arguments: number) { // no error
|
||
· ─────────
|
||
9 │ var arguments = 10; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:8:1]
|
||
8 │ public fooNoError(arguments: number) { // no error
|
||
9 │ var arguments = 10; // no error
|
||
· ─────────
|
||
10 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:10:1]
|
||
10 │ }
|
||
11 │ public f4(i: number, ...arguments); // no codegen no error
|
||
· ─────────
|
||
12 │ public f4(i: string, ...arguments); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:11:1]
|
||
11 │ public f4(i: number, ...arguments); // no codegen no error
|
||
12 │ public f4(i: string, ...arguments); // no codegen no error
|
||
· ─────────
|
||
13 │ public f4(i: any, ...arguments) { // error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:12:1]
|
||
12 │ public f4(i: string, ...arguments); // no codegen no error
|
||
13 │ public f4(i: any, ...arguments) { // error
|
||
· ─────────
|
||
14 │ var arguments: any[]; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:13:1]
|
||
13 │ public f4(i: any, ...arguments) { // error
|
||
14 │ var arguments: any[]; // no error
|
||
· ─────────
|
||
15 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:15:1]
|
||
15 │ }
|
||
16 │ public f41(arguments: number, ...rest); // no codegen no error
|
||
· ─────────
|
||
17 │ public f41(arguments: string, ...rest); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:16:1]
|
||
16 │ public f41(arguments: number, ...rest); // no codegen no error
|
||
17 │ public f41(arguments: string, ...rest); // no codegen no error
|
||
· ─────────
|
||
18 │ public f41(arguments: any, ...rest) { // error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:17:1]
|
||
17 │ public f41(arguments: string, ...rest); // no codegen no error
|
||
18 │ public f41(arguments: any, ...rest) { // error
|
||
· ─────────
|
||
19 │ var arguments: any; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:18:1]
|
||
18 │ public f41(arguments: any, ...rest) { // error
|
||
19 │ var arguments: any; // no error
|
||
· ─────────
|
||
20 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:20:1]
|
||
20 │ }
|
||
21 │ public f4NoError(arguments: number); // no error
|
||
· ─────────
|
||
22 │ public f4NoError(arguments: string); // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:21:1]
|
||
21 │ public f4NoError(arguments: number); // no error
|
||
22 │ public f4NoError(arguments: string); // no error
|
||
· ─────────
|
||
23 │ public f4NoError(arguments: any) { // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:22:1]
|
||
22 │ public f4NoError(arguments: string); // no error
|
||
23 │ public f4NoError(arguments: any) { // no error
|
||
· ─────────
|
||
24 │ var arguments: any; // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:23:1]
|
||
23 │ public f4NoError(arguments: any) { // no error
|
||
24 │ var arguments: any; // no error
|
||
· ─────────
|
||
25 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:28:1]
|
||
28 │ declare class c2 {
|
||
29 │ public foo(i: number, ...arguments); // No error - no code gen
|
||
· ─────────
|
||
30 │ public foo1(arguments: number, ...rest); // No error - no code gen
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:29:1]
|
||
29 │ public foo(i: number, ...arguments); // No error - no code gen
|
||
30 │ public foo1(arguments: number, ...rest); // No error - no code gen
|
||
· ─────────
|
||
31 │ public fooNoError(arguments: number); // No error - no code gen
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:30:1]
|
||
30 │ public foo1(arguments: number, ...rest); // No error - no code gen
|
||
31 │ public fooNoError(arguments: number); // No error - no code gen
|
||
· ─────────
|
||
32 │
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:32:1]
|
||
32 │
|
||
33 │ public f4(i: number, ...arguments); // no codegen no error
|
||
· ─────────
|
||
34 │ public f4(i: string, ...arguments); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:33:1]
|
||
33 │ public f4(i: number, ...arguments); // no codegen no error
|
||
34 │ public f4(i: string, ...arguments); // no codegen no error
|
||
· ─────────
|
||
35 │ public f41(arguments: number, ...rest); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:34:1]
|
||
34 │ public f4(i: string, ...arguments); // no codegen no error
|
||
35 │ public f41(arguments: number, ...rest); // no codegen no error
|
||
· ─────────
|
||
36 │ public f41(arguments: string, ...rest); // no codegen no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:35:1]
|
||
35 │ public f41(arguments: number, ...rest); // no codegen no error
|
||
36 │ public f41(arguments: string, ...rest); // no codegen no error
|
||
· ─────────
|
||
37 │ public f4NoError(arguments: number); // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:36:1]
|
||
36 │ public f41(arguments: string, ...rest); // no codegen no error
|
||
37 │ public f4NoError(arguments: number); // no error
|
||
· ─────────
|
||
38 │ public f4NoError(arguments: string); // no error
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:37:1]
|
||
37 │ public f4NoError(arguments: number); // no error
|
||
38 │ public f4NoError(arguments: string); // no error
|
||
· ─────────
|
||
39 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:42:1]
|
||
42 │ public foo(...restParameters) {
|
||
43 │ var arguments = 10; // no error
|
||
· ─────────
|
||
44 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/collisionArgumentsClassMethod.ts:45:1]
|
||
45 │ public fooNoError() {
|
||
46 │ var arguments = 10; // no error
|
||
· ─────────
|
||
47 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/commonMissingSemicolons.ts:4:1]
|
||
4 │ async function myAsyncFunction1() {}
|
||
5 │ asynd function myAsyncFunction2() {}
|
||
· ─
|
||
6 │ sasync function myAsyncFunction3() {}
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× A 'get' accessor must not have any formal parameters.
|
||
╭─[compiler/complicatedPrivacy.ts:11:1]
|
||
11 │ export class C2 implements m3.i3 {
|
||
12 │ public get p1(arg) {
|
||
· ─────
|
||
13 │ return new C1();
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/conflictMarkerDiff3Trivia1.ts:1:1]
|
||
1 │ class C {
|
||
2 │ <<<<<<< HEAD
|
||
· ──
|
||
3 │ v = 1;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/conflictMarkerDiff3Trivia2.ts:2:1]
|
||
2 │ foo() {
|
||
3 │ <<<<<<< B
|
||
· ──
|
||
4 │ a();
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/conflictMarkerTrivia1.ts:1:1]
|
||
1 │ class C {
|
||
2 │ <<<<<<< HEAD
|
||
· ──
|
||
3 │ v = 1;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/conflictMarkerTrivia2.ts:2:1]
|
||
2 │ foo() {
|
||
3 │ <<<<<<< B
|
||
· ──
|
||
4 │ a();
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/conflictMarkerTrivia3.tsx:1:1]
|
||
1 │ const x = <div>
|
||
2 │ <<<<<<< HEAD
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/conflictMarkerTrivia4.ts:1:1]
|
||
1 │ const x = <div>
|
||
2 │ <<<<<<< HEAD
|
||
· ──
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/constDeclarationShadowedByVarDeclaration.ts:5:1]
|
||
5 │ {
|
||
6 │ const x = 0;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
7 │
|
||
8 │ var x = 0;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
9 │ }
|
||
╰────
|
||
|
||
× Identifier `y` has already been declared
|
||
╭─[compiler/constDeclarationShadowedByVarDeclaration.ts:13:1]
|
||
13 │ {
|
||
14 │ const y = 0;
|
||
· ┬
|
||
· ╰── `y` has already been declared here
|
||
15 │ {
|
||
16 │ var y = 0;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
17 │ }
|
||
╰────
|
||
|
||
× Identifier `z` has already been declared
|
||
╭─[compiler/constDeclarationShadowedByVarDeclaration.ts:21:1]
|
||
21 │ {
|
||
22 │ const z = 0;
|
||
· ┬
|
||
· ╰── `z` has already been declared here
|
||
23 │ var z = 0
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
24 │ }
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/constDeclarations-errors.ts:3:1]
|
||
3 │ // error, missing intialicer
|
||
4 │ const c1;
|
||
· ──
|
||
5 │ const c2: number;
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/constDeclarations-errors.ts:4:1]
|
||
4 │ const c1;
|
||
5 │ const c2: number;
|
||
· ──
|
||
6 │ const c3, c4, c5 :string, c6; // error, missing initialicer
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/constDeclarations-errors.ts:5:1]
|
||
5 │ const c2: number;
|
||
6 │ const c3, c4, c5 :string, c6; // error, missing initialicer
|
||
· ──
|
||
7 │
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/constDeclarations-errors.ts:5:1]
|
||
5 │ const c2: number;
|
||
6 │ const c3, c4, c5 :string, c6; // error, missing initialicer
|
||
· ──
|
||
7 │
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/constDeclarations-errors.ts:5:1]
|
||
5 │ const c2: number;
|
||
6 │ const c3, c4, c5 :string, c6; // error, missing initialicer
|
||
· ──
|
||
7 │
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/constDeclarations-errors.ts:5:1]
|
||
5 │ const c2: number;
|
||
6 │ const c3, c4, c5 :string, c6; // error, missing initialicer
|
||
· ──
|
||
7 │
|
||
╰────
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:5:1]
|
||
5 │ if (true)
|
||
6 │ const c1 = 0;
|
||
· ─────────────
|
||
7 │ else
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:7:1]
|
||
7 │ else
|
||
8 │ const c2 = 0;
|
||
· ─────────────
|
||
9 │
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:10:1]
|
||
10 │ while (true)
|
||
11 │ const c3 = 0;
|
||
· ─────────────
|
||
12 │
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:13:1]
|
||
13 │ do
|
||
14 │ const c4 = 0;
|
||
· ─────────────
|
||
15 │ while (true);
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:18:1]
|
||
18 │ with (obj)
|
||
19 │ const c5 = 0; // No Error will be reported here since we turn off all type checking
|
||
· ─────────────
|
||
20 │
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:21:1]
|
||
21 │ for (var i = 0; i < 10; i++)
|
||
22 │ const c6 = 0;
|
||
· ─────────────
|
||
23 │
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:24:1]
|
||
24 │ for (var i2 in {})
|
||
25 │ const c7 = 0;
|
||
· ─────────────
|
||
26 │
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:27:1]
|
||
27 │ if (true)
|
||
28 │ label: const c8 = 0;
|
||
· ─────────────
|
||
29 │
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:30:1]
|
||
30 │ while (false)
|
||
31 │ label2: label3: label4: const c9 = 0;
|
||
· ─────────────
|
||
32 │
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/constDeclarations-invalidContexts.ts:17:1]
|
||
17 │ var obj;
|
||
18 │ with (obj)
|
||
· ────
|
||
19 │ const c5 = 0; // No Error will be reported here since we turn off all type checking
|
||
╰────
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-scopes.ts:44:1]
|
||
44 │ if (true) {
|
||
45 │ label: const c = 0;
|
||
· ────────────
|
||
46 │ n = c;
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-scopes.ts:49:1]
|
||
49 │ while (false) {
|
||
50 │ label2: label3: label4: const c = 0;
|
||
· ────────────
|
||
51 │ n = c;
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/constDeclarations-scopes.ts:28:1]
|
||
28 │ var obj;
|
||
29 │ with (obj) {
|
||
· ────
|
||
30 │ const c = 0;
|
||
╰────
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-validContexts.ts:34:1]
|
||
34 │ if (true) {
|
||
35 │ label: const c8 = 0;
|
||
· ─────────────
|
||
36 │ }
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-validContexts.ts:38:1]
|
||
38 │ while (false) {
|
||
39 │ label2: label3: label4: const c9 = 0;
|
||
· ─────────────
|
||
40 │ }
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× Lexical declaration cannot appear in a single-statement context
|
||
╭─[compiler/constDeclarations-validContexts.ts:67:1]
|
||
67 │ const c16 = 0
|
||
68 │ label17: const c17 = 0;
|
||
· ──────────────
|
||
69 │ }
|
||
╰────
|
||
help: Wrap this declaration in a block statement
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/constDeclarations-validContexts.ts:21:1]
|
||
21 │ var obj;
|
||
22 │ with (obj) {
|
||
· ────
|
||
23 │ const c5 = 0;
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/constInClassExpression.ts:1:1]
|
||
1 │ let C = class {
|
||
2 │ const a = 4;
|
||
· ─
|
||
3 │ };
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/constructorArgsErrors5.ts:1:1]
|
||
1 │ class foo {
|
||
2 │ constructor (export a: number) {
|
||
· ──────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Multiple constructor implementations are not allowed.
|
||
╭─[compiler/constructorOverloads1.ts:3:1]
|
||
3 │ constructor(n: number);
|
||
4 │ constructor(x: any) {
|
||
· ─────┬─────
|
||
· ╰── constructor has already been declared here
|
||
5 │
|
||
6 │ }
|
||
7 │ constructor(x: any) {
|
||
· ─────┬─────
|
||
· ╰── it cannot be redeclared here
|
||
8 │
|
||
╰────
|
||
|
||
× Multiple constructor implementations are not allowed.
|
||
╭─[compiler/constructorOverloads8.ts:1:1]
|
||
1 │ class C {
|
||
2 │ constructor(x) { }
|
||
· ─────┬─────
|
||
· ╰── constructor has already been declared here
|
||
3 │ constructor(y, x) { } // illegal, 2 constructor implementations
|
||
· ─────┬─────
|
||
· ╰── it cannot be redeclared here
|
||
4 │ }
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/constructorStaticParamName.ts:3:1]
|
||
3 │ class test {
|
||
4 │ constructor (static) { }
|
||
· ──────
|
||
5 │ }
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/constructorStaticParamNameErrors.ts:3:1]
|
||
3 │ class test {
|
||
4 │ constructor (static) { }
|
||
· ──────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/constructorWithIncompleteTypeAnnotation.ts:13:1]
|
||
13 │
|
||
14 │ import fs = module("fs");
|
||
· ▲
|
||
15 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[compiler/continueNotInIterationStatement1.ts:1:1]
|
||
1 │ continue;
|
||
· ─────────
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[compiler/continueNotInIterationStatement2.ts:2:1]
|
||
2 │ function f() {
|
||
3 │ continue;
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[compiler/continueNotInIterationStatement3.ts:2:1]
|
||
2 │ default:
|
||
3 │ continue;
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× A `continue` statement can only jump to a label of an enclosing `for`, `while` or `do while` statement.
|
||
╭─[compiler/continueTarget1.ts:1:1]
|
||
1 │ target:
|
||
· ───┬──
|
||
· ╰── This is an non-iteration statement
|
||
2 │ continue target;
|
||
· ───┬──
|
||
· ╰── for this label
|
||
╰────
|
||
|
||
× Jump target cannot cross function boundary.
|
||
╭─[compiler/continueTarget5.ts:6:1]
|
||
6 │ while (true) {
|
||
7 │ continue target;
|
||
· ──────
|
||
8 │ }
|
||
╰────
|
||
|
||
× Use of undefined label
|
||
╭─[compiler/continueTarget6.ts:1:1]
|
||
1 │ while (true) {
|
||
2 │ continue target;
|
||
· ───┬──
|
||
· ╰── This label is used, but not defined
|
||
3 │ }
|
||
╰────
|
||
|
||
× Classes can't have a field named 'constructor'
|
||
╭─[compiler/convertKeywordsYes.ts:174:1]
|
||
174 │ class bigClass {
|
||
175 │ public "constructor" = 0;
|
||
· ─────────────
|
||
176 │ public any = 0;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/convertKeywordsYes.ts:291:1]
|
||
291 │ class constructor { }
|
||
292 │ class implements { }
|
||
· ─
|
||
293 │ class interface { }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/createArray.ts:1:1]
|
||
1 │ var na=new number[];
|
||
· ─
|
||
2 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/declarationEmitInvalidExport.ts:6:1]
|
||
6 │ export type MyClass = typeof myClass;
|
||
7 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `from` but found `Identifier`
|
||
╭─[compiler/declarationEmitUnknownImport2.ts:4:1]
|
||
4 │
|
||
5 │ import Foo From './Foo'; // Syntax error
|
||
· ──┬─
|
||
· ╰── `from` expected
|
||
6 │ export default Foo
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[compiler/decrementAndIncrementOperators.ts:3:1]
|
||
3 │ // errors
|
||
4 │ 1 ++;
|
||
· ─
|
||
5 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/defaultKeywordWithoutExport1.ts:5:1]
|
||
5 │ @decorator
|
||
6 │ default class {}
|
||
· ───────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/defaultKeywordWithoutExport2.ts:1:1]
|
||
1 │ default function () {
|
||
· ───────
|
||
2 │
|
||
╰────
|
||
|
||
× Delete of an unqualified identifier in strict mode.
|
||
╭─[compiler/deleteOperatorInStrictMode.ts:2:1]
|
||
2 │ var a;
|
||
3 │ delete a;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/destructionAssignmentError.ts:5:1]
|
||
5 │ ({ a, b } = fn());
|
||
6 │ { a, b } = fn();
|
||
· ─
|
||
7 │
|
||
╰────
|
||
|
||
× Expected `=>` but found `.`
|
||
╭─[compiler/destructuringControlFlowNoCrash.ts:11:1]
|
||
11 │ date2,
|
||
12 │ } = (inspectedElement: any).props;
|
||
· ┬
|
||
· ╰── `=>` expected
|
||
13 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/dontShowCompilerGeneratedMembers.ts:2:1]
|
||
2 │ x: number;
|
||
3 │ <-
|
||
· ─
|
||
4 │ };
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/dottedModuleName.ts:2:1]
|
||
2 │ export module N {
|
||
3 │ export function f(x:number)=>2*x;
|
||
· ▲
|
||
4 │ export module X.Y.Z {
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/downlevelLetConst1.ts:1:1]
|
||
1 │ const
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/downlevelLetConst11.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ let
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/downlevelLetConst2.ts:1:1]
|
||
1 │ const a
|
||
· ─
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/downlevelLetConst4.ts:1:1]
|
||
1 │ const a: number
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/downlevelLetConst6.ts:1:1]
|
||
1 │ let
|
||
╰────
|
||
|
||
× Identifier `a` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:2:1]
|
||
2 │
|
||
3 │ function f0(a, [a, [b]], {b}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `a` has already been declared here
|
||
4 │ function f1([a, a]) { }
|
||
╰────
|
||
|
||
× Identifier `b` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:2:1]
|
||
2 │
|
||
3 │ function f0(a, [a, [b]], {b}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `b` has already been declared here
|
||
4 │ function f1([a, a]) { }
|
||
╰────
|
||
|
||
× Identifier `a` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:3:1]
|
||
3 │ function f0(a, [a, [b]], {b}) { }
|
||
4 │ function f1([a, a]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `a` has already been declared here
|
||
5 │ function f2({b}, {b}) { }
|
||
╰────
|
||
|
||
× Identifier `b` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:4:1]
|
||
4 │ function f1([a, a]) { }
|
||
5 │ function f2({b}, {b}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `b` has already been declared here
|
||
6 │ function f3([c,[c],[[c]]]) { }
|
||
╰────
|
||
|
||
× Identifier `c` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:5:1]
|
||
5 │ function f2({b}, {b}) { }
|
||
6 │ function f3([c,[c],[[c]]]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `c` has already been declared here
|
||
7 │ function f4({d, d:{d}}) { }
|
||
╰────
|
||
|
||
× Identifier `c` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:5:1]
|
||
5 │ function f2({b}, {b}) { }
|
||
6 │ function f3([c,[c],[[c]]]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `c` has already been declared here
|
||
7 │ function f4({d, d:{d}}) { }
|
||
╰────
|
||
|
||
× Identifier `d` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:6:1]
|
||
6 │ function f3([c,[c],[[c]]]) { }
|
||
7 │ function f4({d, d:{d}}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `d` has already been declared here
|
||
8 │ function f5({e, e: {e}}, {e}, [d,e, [[e]]], ...e) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:7:1]
|
||
7 │ function f4({d, d:{d}}) { }
|
||
8 │ function f5({e, e: {e}}, {e}, [d,e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
9 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:7:1]
|
||
7 │ function f4({d, d:{d}}) { }
|
||
8 │ function f5({e, e: {e}}, {e}, [d,e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
9 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:7:1]
|
||
7 │ function f4({d, d:{d}}) { }
|
||
8 │ function f5({e, e: {e}}, {e}, [d,e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
9 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:7:1]
|
||
7 │ function f4({d, d:{d}}) { }
|
||
8 │ function f5({e, e: {e}}, {e}, [d,e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
9 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:7:1]
|
||
7 │ function f4({d, d:{d}}) { }
|
||
8 │ function f5({e, e: {e}}, {e}, [d,e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
9 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `f` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration1.ts:8:1]
|
||
8 │ function f5({e, e: {e}}, {e}, [d,e, [[e]]], ...e) { }
|
||
9 │ function f6([f, ...f]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `f` has already been declared here
|
||
10 │ function f7(a, func = (a) => { return 1 }) { } // not error
|
||
╰────
|
||
|
||
× Identifier `a` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:3:1]
|
||
3 │ "use strict"
|
||
4 │ function f0(a, [a, [b]], {b}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `a` has already been declared here
|
||
5 │ function f1([a, a]) { }
|
||
╰────
|
||
|
||
× Identifier `b` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:3:1]
|
||
3 │ "use strict"
|
||
4 │ function f0(a, [a, [b]], {b}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `b` has already been declared here
|
||
5 │ function f1([a, a]) { }
|
||
╰────
|
||
|
||
× Identifier `a` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:4:1]
|
||
4 │ function f0(a, [a, [b]], {b}) { }
|
||
5 │ function f1([a, a]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `a` has already been declared here
|
||
6 │ function f2({b}, {b}) { }
|
||
╰────
|
||
|
||
× Identifier `b` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:5:1]
|
||
5 │ function f1([a, a]) { }
|
||
6 │ function f2({b}, {b}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `b` has already been declared here
|
||
7 │ function f3([c, [c], [[c]]]) { }
|
||
╰────
|
||
|
||
× Identifier `c` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:6:1]
|
||
6 │ function f2({b}, {b}) { }
|
||
7 │ function f3([c, [c], [[c]]]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `c` has already been declared here
|
||
8 │ function f4({d, d: {d}}) { }
|
||
╰────
|
||
|
||
× Identifier `c` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:6:1]
|
||
6 │ function f2({b}, {b}) { }
|
||
7 │ function f3([c, [c], [[c]]]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `c` has already been declared here
|
||
8 │ function f4({d, d: {d}}) { }
|
||
╰────
|
||
|
||
× Identifier `d` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:7:1]
|
||
7 │ function f3([c, [c], [[c]]]) { }
|
||
8 │ function f4({d, d: {d}}) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `d` has already been declared here
|
||
9 │ function f5({e, e: {e}}, {e}, [d, e, [[e]]], ...e) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:8:1]
|
||
8 │ function f4({d, d: {d}}) { }
|
||
9 │ function f5({e, e: {e}}, {e}, [d, e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
10 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:8:1]
|
||
8 │ function f4({d, d: {d}}) { }
|
||
9 │ function f5({e, e: {e}}, {e}, [d, e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
10 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:8:1]
|
||
8 │ function f4({d, d: {d}}) { }
|
||
9 │ function f5({e, e: {e}}, {e}, [d, e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
10 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:8:1]
|
||
8 │ function f4({d, d: {d}}) { }
|
||
9 │ function f5({e, e: {e}}, {e}, [d, e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
10 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:8:1]
|
||
8 │ function f4({d, d: {d}}) { }
|
||
9 │ function f5({e, e: {e}}, {e}, [d, e, [[e]]], ...e) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `e` has already been declared here
|
||
10 │ function f6([f, ...f]) { }
|
||
╰────
|
||
|
||
× Identifier `f` has already been declared
|
||
╭─[compiler/duplicateIdentifierBindingElementInParameterDeclaration2.ts:9:1]
|
||
9 │ function f5({e, e: {e}}, {e}, [d, e, [[e]]], ...e) { }
|
||
10 │ function f6([f, ...f]) { }
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `f` has already been declared here
|
||
11 │ function f7(a, func = (a) => { return 1 }){ } // not error
|
||
╰────
|
||
|
||
× Identifier `target` has already been declared
|
||
╭─[compiler/duplicateLabel1.ts:2:1]
|
||
2 │
|
||
3 │ target:
|
||
· ───┬──
|
||
· ╰── `target` has already been declared here
|
||
4 │ target:
|
||
· ───┬──
|
||
· ╰── It can not be redeclared here
|
||
5 │ while (true) {
|
||
╰────
|
||
|
||
× Identifier `target` has already been declared
|
||
╭─[compiler/duplicateLabel2.ts:2:1]
|
||
2 │
|
||
3 │ target:
|
||
· ───┬──
|
||
· ╰── `target` has already been declared here
|
||
4 │ while (true) {
|
||
5 │ target:
|
||
· ───┬──
|
||
· ╰── It can not be redeclared here
|
||
6 │ while (true) {
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[compiler/emptyMemberAccess.ts:2:1]
|
||
2 │
|
||
3 │ ().toString();
|
||
· ──
|
||
4 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/enumConflictsWithGlobalIdentifier.ts:5:1]
|
||
5 │ var x = IgnoreRulesSpecific.
|
||
6 │ var y = Position.IgnoreRulesSpecific;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/enumMemberResolution.ts:4:1]
|
||
4 │ var x = IgnoreRulesSpecific. // error
|
||
5 │ var y = 1;
|
||
· ─
|
||
6 │ var z = Position2.IgnoreRulesSpecific; // no error
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `,` but found `}`
|
||
╭─[compiler/enumWithParenthesizedInitializer1.ts:2:1]
|
||
2 │ e = -(3
|
||
3 │ }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/errorForUsingPropertyOfTypeAsType01.ts:43:1]
|
||
43 │
|
||
44 │ import lol = Test5.Foo.
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/errorOnInitializerInInterfaceProperty.ts:1:1]
|
||
1 │ interface Foo {
|
||
2 │ bar: number = 5;
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/errorOnInitializerInObjectTypeLiteralProperty.ts:1:1]
|
||
1 │ var Foo: {
|
||
2 │ bar: number = 5;
|
||
· ─
|
||
3 │ };
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[compiler/errorRecoveryInClassDeclaration.ts:3:1]
|
||
3 │ var v = foo(
|
||
4 │ public blaz() {}
|
||
· ──┬─
|
||
· ╰── `,` expected
|
||
5 │ );
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/errorRecoveryWithDotFollowedByNamespaceKeyword.ts:6:1]
|
||
6 │
|
||
7 │ namespace B {
|
||
· ─
|
||
8 │ export function baz() { }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `<` but found `EOF`
|
||
╭─[compiler/errorSpanForUnclosedJsxTag.tsx:11:1]
|
||
11 │
|
||
12 │ let y = < Baz >Hello
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/es5-asyncFunctionWithStatements.ts:6:1]
|
||
6 │ async function withStatement0() {
|
||
7 │ with (x) {
|
||
· ────
|
||
8 │ y;
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/es5-asyncFunctionWithStatements.ts:12:1]
|
||
12 │ async function withStatement1() {
|
||
13 │ with (await x) {
|
||
· ────
|
||
14 │ y;
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/es5-asyncFunctionWithStatements.ts:18:1]
|
||
18 │ async function withStatement2() {
|
||
19 │ with (x) {
|
||
· ────
|
||
20 │ a;
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/es5-asyncFunctionWithStatements.ts:27:1]
|
||
27 │ with (x) {
|
||
28 │ with (z) {
|
||
· ────
|
||
29 │ a;
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/es5-asyncFunctionWithStatements.ts:26:1]
|
||
26 │ async function withStatement3() {
|
||
27 │ with (x) {
|
||
· ────
|
||
28 │ with (z) {
|
||
╰────
|
||
|
||
× Expected `{` but found `(`
|
||
╭─[compiler/es6ClassTest9.ts:1:1]
|
||
1 │ declare class foo();
|
||
· ┬
|
||
· ╰── `{` expected
|
||
2 │ function foo() {}
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/es6ImportNamedImportIdentifiersParsing.ts:3:1]
|
||
3 │ import { yield } from "somemodule"; // Allowed
|
||
4 │ import { default } from "somemodule"; // Error - as this is keyword that is not allowed as identifier
|
||
· ───────
|
||
5 │ import { yield as default } from "somemodule"; // error to use default as binding name
|
||
╰────
|
||
|
||
× Expected `from` but found `decimal`
|
||
╭─[compiler/es6ImportParseErrors.ts:2:1]
|
||
2 │
|
||
3 │ import 10;
|
||
· ─┬
|
||
· ╰── `from` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/exportAssignmentWithDeclareAndExportModifiers.ts:2:1]
|
||
2 │ var x;
|
||
3 │ export declare export = x;
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/exportAssignmentWithDeclareModifier.ts:2:1]
|
||
2 │ var x;
|
||
3 │ declare export = x;
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/exportAssignmentWithExportModifier.ts:2:1]
|
||
2 │ var x;
|
||
3 │ export export = x;
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/exportDeclarationInInternalModule.ts:16:1]
|
||
16 │
|
||
17 │ export * from Aaa; // this line causes the nullref
|
||
· ───
|
||
18 │ }
|
||
╰────
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[compiler/exportInFunction.ts:2:1]
|
||
2 │ export = 0;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/expressionWithJSDocTypeArguments.ts:10:1]
|
||
10 │
|
||
11 │ const WhatFoo = foo<?>;
|
||
· ─
|
||
12 │ const HuhFoo = foo<string?>;
|
||
╰────
|
||
|
||
× await expression not allowed in formal parameter
|
||
╭─[compiler/expressionsForbiddenInParameterInitializers.ts:2:1]
|
||
2 │ // @filename: bar.ts
|
||
3 │ export async function foo({ foo = await import("./bar") }) {
|
||
· ──────────┬──────────
|
||
· ╰── await expression not allowed in formal parameter
|
||
4 │ }
|
||
╰────
|
||
|
||
× yield expression not allowed in formal parameter
|
||
╭─[compiler/expressionsForbiddenInParameterInitializers.ts:5:1]
|
||
5 │
|
||
6 │ export function* foo2({ foo = yield "a" }) {
|
||
· ────┬────
|
||
· ╰── yield expression not allowed in formal parameter
|
||
7 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/extension.ts:15:1]
|
||
15 │ declare module M {
|
||
16 │ export extension class C {
|
||
· ─────────
|
||
17 │ public pe:string;
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/externModule.ts:1:1]
|
||
1 │ declare module {
|
||
· ─
|
||
2 │ export class XDate {
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `,` but found `=>`
|
||
╭─[compiler/fatarrowfunctionsErrors.ts:1:1]
|
||
1 │ foo((...Far:any[])=>{return 0;})
|
||
2 │ foo((1)=>{return 0;});
|
||
· ─┬
|
||
· ╰── `,` expected
|
||
3 │ foo((x?)=>{return x;})
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/fatarrowfunctionsOptionalArgs.ts:87:1]
|
||
87 │ //multiple levels
|
||
88 │ (a?) => { return a; } ? (b)=>(c)=>81 : (c)=>(d)=>82;
|
||
· ─
|
||
89 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× A rest parameter cannot have an initializer
|
||
╭─[compiler/fatarrowfunctionsOptionalArgsErrors1.ts:3:1]
|
||
3 │ (...arg) => 103;
|
||
4 │ (...arg:number [] = []) => 104;
|
||
· ─────────────────────
|
||
5 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/fatarrowfunctionsOptionalArgsErrors2.ts:1:1]
|
||
1 │ var tt1 = (a, (b, c)) => a+b+c;
|
||
· ─
|
||
2 │ var tt2 = ((a), b, c) => a+b+c;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/fatarrowfunctionsOptionalArgsErrors3.ts:1:1]
|
||
1 │ (...) => 105;
|
||
· ───
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[compiler/fileWithNextLine3.ts:2:1]
|
||
2 │ // 0. It should be counted as a space and should not trigger ASI
|
||
3 │ return
0;
|
||
· ──────
|
||
╰────
|
||
|
||
× Expected `;` but found `)`
|
||
╭─[compiler/for.ts:30:1]
|
||
30 │
|
||
31 │ for () { // error
|
||
· ┬
|
||
· ╰── `;` expected
|
||
32 │ }
|
||
╰────
|
||
|
||
× Identifier `foo3` has already been declared
|
||
╭─[compiler/funClodule.ts:14:1]
|
||
14 │
|
||
15 │ function foo3() { }
|
||
· ──┬─
|
||
· ╰── `foo3` has already been declared here
|
||
16 │ module foo3 {
|
||
17 │ export function x(): any { }
|
||
18 │ }
|
||
19 │ class foo3 { } // Should error
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
╰────
|
||
|
||
× Identifier `b` has already been declared
|
||
╭─[compiler/functionCall15.ts:1:1]
|
||
1 │ function foo(a?:string, b?:number, ...b:number[]){}
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `b` has already been declared here
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/functionExpressionInWithBlock.ts:1:1]
|
||
1 │ function x() {
|
||
2 │ with({}) {
|
||
· ────
|
||
3 │ function f() {
|
||
╰────
|
||
|
||
× Expected `=>` but found `)`
|
||
╭─[compiler/functionTypesLackingReturnTypes.ts:2:1]
|
||
2 │ // Error (no '=>')
|
||
3 │ function f(x: ()) {
|
||
· ┬
|
||
· ╰── `=>` expected
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/functionsMissingReturnStatementsAndExpressions.ts:156:1]
|
||
156 │ throw undefined.
|
||
157 │ }
|
||
· ─
|
||
158 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/genericCallWithoutArgs.ts:3:1]
|
||
3 │
|
||
4 │ f<number,string>.
|
||
╰────
|
||
|
||
× A 'get' accessor must not have any formal parameters.
|
||
╭─[compiler/gettersAndSettersErrors.ts:5:1]
|
||
5 │ public Foo = 0; // error - duplicate identifier Foo - confirmed
|
||
6 │ public get Goo(v:string):string {return null;} // error - getters must not have a parameter
|
||
· ──────────
|
||
7 │ public set Goo(v:string):string {} // error - setters must not specify a return type
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/giant.ts:63:1]
|
||
63 │ [p];
|
||
64 │ [p1: string];
|
||
· ─
|
||
65 │ [p2: string, p3: number];
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[compiler/identifierStartAfterNumericLiteral.ts:1:1]
|
||
1 │ let valueIn = 3in[null];
|
||
· ──
|
||
2 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/illegalModifiersOnClassElements.ts:2:1]
|
||
2 │ declare foo = 1;
|
||
3 │ export bar = 1;
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[compiler/illegalSuperCallsInConstructor.ts:11:1]
|
||
11 │ get foo() {
|
||
12 │ super();
|
||
· ───────
|
||
13 │ return 1;
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[compiler/illegalSuperCallsInConstructor.ts:15:1]
|
||
15 │ set foo(v: number) {
|
||
16 │ super();
|
||
· ───────
|
||
17 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/importAssertionNonstring.ts:2:1]
|
||
2 │ // @filename: mod.mts
|
||
3 │ import * as thing1 from "./mod.mjs" assert {field: 0};
|
||
· ─
|
||
4 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/incompleteDottedExpressionAtEOF.ts:1:1]
|
||
1 │ // used to leak __missing into error message
|
||
2 │ var p2 = window.
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[compiler/incompleteObjectLiteral1.ts:1:1]
|
||
1 │ var tt = { aa; }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
2 │ var x = tt;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexSignatureMustHaveTypeAnnotation.ts:3:1]
|
||
3 │ [x]: string;
|
||
4 │ [x: string];
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexSignatureTypeCheck.ts:13:1]
|
||
13 │ interface indexErrors {
|
||
14 │ [p2?: string];
|
||
· ─
|
||
15 │ [...p3: any[]];
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexSignatureTypeCheck2.ts:9:1]
|
||
9 │ interface indexErrors {
|
||
10 │ [p2?: string];
|
||
· ─
|
||
11 │ [...p3: any[]];
|
||
╰────
|
||
|
||
× Expected `]` but found `Identifier`
|
||
╭─[compiler/indexSignatureWithAccessibilityModifier.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ [public x: string]: string;
|
||
· ┬
|
||
· ╰── `]` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected `]` but found `=`
|
||
╭─[compiler/indexSignatureWithInitializer1.ts:1:1]
|
||
1 │ class C {
|
||
2 │ [a: number = 1]: number;
|
||
· ┬
|
||
· ╰── `]` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected `]` but found `,`
|
||
╭─[compiler/indexSignatureWithTrailingComma.ts:1:1]
|
||
1 │ type A = {
|
||
2 │ [key: string,]: string;
|
||
· ┬
|
||
· ╰── `]` expected
|
||
3 │ };
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexSignatureWithoutTypeAnnotation1.ts:1:1]
|
||
1 │ class C {
|
||
2 │ [a: number];
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexTypeCheck.ts:1:1]
|
||
1 │ interface Red {
|
||
2 │ [n:number]; // ok
|
||
· ─
|
||
3 │ [s:string]; // ok
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexWithoutParamType.ts:1:1]
|
||
1 │ var y: { []; } // Error
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexerAsOptional.ts:2:1]
|
||
2 │ //Index signatures can't be optional
|
||
3 │ [idx?: number]: any; //err
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexerConstraints2.ts:79:1]
|
||
79 │ [key: Key]
|
||
80 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/indexerSignatureWithRestParam.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ [...x]: string;
|
||
· ───
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/innerModExport1.ts:4:1]
|
||
4 │ var non_export_var: number;
|
||
5 │ module {
|
||
· ─
|
||
6 │ var non_export_var = 0;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/innerModExport2.ts:4:1]
|
||
4 │ var non_export_var: number;
|
||
5 │ module {
|
||
· ─
|
||
6 │ var non_export_var = 0;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/instanceofOnInstantiationExpression.ts:13:1]
|
||
13 │
|
||
14 │ Box<number> instanceof Object; // OK
|
||
· ──────────
|
||
15 │ (Box<number>) instanceof Object; // OK
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/intTypeCheck.ts:36:1]
|
||
36 │ //Index Signatures
|
||
37 │ [p1: string];
|
||
· ─
|
||
38 │ [p2: string, p3: number];
|
||
╰────
|
||
|
||
× Expected `{` but found `.`
|
||
╭─[compiler/interfaceDeclaration4.ts:38:1]
|
||
38 │ // Negative case
|
||
39 │ interface Foo.I1 { }
|
||
· ┬
|
||
· ╰── `{` expected
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/interfaceNaming1.ts:1:1]
|
||
1 │ interface { }
|
||
· ─
|
||
2 │ interface interface{ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[compiler/invalidContinueInDownlevelAsync.ts:2:1]
|
||
2 │ if (true) {
|
||
3 │ continue;
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× Expected `;` but found `[`
|
||
╭─[compiler/invalidLetInForOfAndForIn_ES5.ts:5:1]
|
||
5 │ var let = 10;
|
||
6 │ for (let of [1,2,3]) {}
|
||
· ┬
|
||
· ╰── `;` expected
|
||
7 │
|
||
╰────
|
||
|
||
× Expected `;` but found `[`
|
||
╭─[compiler/invalidLetInForOfAndForIn_ES6.ts:5:1]
|
||
5 │ var let = 10;
|
||
6 │ for (let of [1,2,3]) {}
|
||
· ┬
|
||
· ╰── `;` expected
|
||
7 │
|
||
╰────
|
||
|
||
× Optional chaining cannot appear in the callee of new expressions
|
||
╭─[compiler/invalidOptionalChainFromNewExpression.ts:4:1]
|
||
4 │
|
||
5 │ new A?.b() // error
|
||
· ──────────
|
||
6 │ new A()?.b() // ok
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[compiler/invalidUnicodeEscapeSequance.ts:1:1]
|
||
1 │ var arg\u003
|
||
· ────
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[compiler/invalidUnicodeEscapeSequance2.ts:1:1]
|
||
1 │ var arg\uxxxx
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[compiler/invalidUnicodeEscapeSequance3.ts:1:1]
|
||
1 │ a\u
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Character `1`
|
||
╭─[compiler/invalidUnicodeEscapeSequance4.ts:1:1]
|
||
1 │ var a\u0031; // a1 is a valid identifier
|
||
2 │ var \u0031a; // 1a is an invalid identifier
|
||
· ▲
|
||
╰────
|
||
|
||
× Identifier `a` has already been declared
|
||
╭─[compiler/jsFileCompilationBindDuplicateIdentifier.ts:4:1]
|
||
4 │ // @filename: a.js
|
||
5 │ var a = 10;
|
||
· ┬
|
||
· ╰── `a` has already been declared here
|
||
6 │ class a {
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
7 │ }
|
||
╰────
|
||
|
||
× Identifier `C` has already been declared
|
||
╭─[compiler/jsFileCompilationBindErrors.ts:6:1]
|
||
6 │ // @filename: a.js
|
||
7 │ let C = "sss";
|
||
· ┬
|
||
· ╰── `C` has already been declared here
|
||
8 │ let C = 0; // Error: Cannot redeclare block-scoped variable 'C'.
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
9 │
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/jsFileCompilationBindErrors.ts:16:1]
|
||
16 │ "use strict";
|
||
17 │ var arguments = 0; // Error: Invalid use of 'arguments' in strict mode.
|
||
· ─────────
|
||
18 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/jsFileCompilationBindMultipleDefaultExports.ts:7:1]
|
||
7 │ }
|
||
8 │ export default var a = 10;
|
||
· ───
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/jsFileCompilationTypeArgumentSyntaxOfCall.ts:6:1]
|
||
6 │ Foo<number>``;
|
||
7 │ <Foo<number>></Foo>;
|
||
· ─
|
||
8 │ <Foo<number>/>;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/jsxAttributeMissingInitializer.tsx:1:1]
|
||
1 │ // @jsx: preserve
|
||
2 │ const x = <div foo= ></div>;
|
||
· ─
|
||
3 │ const y = 0;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/jsxNamespacePrefixInName.tsx:8:1]
|
||
8 │
|
||
9 │ var tooManySeparators1 = <a:ele:ment />;
|
||
· ─
|
||
10 │ var tooManySeparators2 = <a:ele:ment></a:ele:ment>;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/jsxNamespacePrefixInNameReact.tsx:9:1]
|
||
9 │
|
||
10 │ var tooManySeparators1 = <a:ele:ment />;
|
||
· ─
|
||
11 │ var tooManySeparators2 = <a:ele:ment></a:ele:ment>;
|
||
╰────
|
||
|
||
× Identifier `e0` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:4:1]
|
||
4 │
|
||
5 │ let e0
|
||
· ─┬
|
||
· ╰── `e0` has already been declared here
|
||
6 │ var e0;
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
7 │ function e0() { }
|
||
╰────
|
||
|
||
× Identifier `e0` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:4:1]
|
||
4 │
|
||
5 │ let e0
|
||
· ─┬
|
||
· ╰── `e0` has already been declared here
|
||
6 │ var e0;
|
||
7 │ function e0() { }
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
8 │
|
||
╰────
|
||
|
||
× Identifier `x1` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:9:1]
|
||
9 │ function f0() {
|
||
10 │ let x1;
|
||
· ─┬
|
||
· ╰── `x1` has already been declared here
|
||
11 │ var x1;
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
12 │ function x1() { }
|
||
╰────
|
||
|
||
× Identifier `x1` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:9:1]
|
||
9 │ function f0() {
|
||
10 │ let x1;
|
||
· ─┬
|
||
· ╰── `x1` has already been declared here
|
||
11 │ var x1;
|
||
12 │ function x1() { }
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
13 │ }
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:15:1]
|
||
15 │ function f1() {
|
||
16 │ let x;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
17 │ {
|
||
18 │ var x;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
19 │ }
|
||
╰────
|
||
|
||
× Identifier `x2` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:25:1]
|
||
25 │ module M0 {
|
||
26 │ let x2;
|
||
· ─┬
|
||
· ╰── `x2` has already been declared here
|
||
27 │ var x2;
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
28 │ function x2() { }
|
||
╰────
|
||
|
||
× Identifier `x2` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:25:1]
|
||
25 │ module M0 {
|
||
26 │ let x2;
|
||
· ─┬
|
||
· ╰── `x2` has already been declared here
|
||
27 │ var x2;
|
||
28 │ function x2() { }
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
29 │ }
|
||
╰────
|
||
|
||
× Identifier `x2` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:31:1]
|
||
31 │ module M1 {
|
||
32 │ let x2;
|
||
· ─┬
|
||
· ╰── `x2` has already been declared here
|
||
33 │ {
|
||
34 │ var x2;
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
35 │ }
|
||
╰────
|
||
|
||
× Identifier `x11` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:40:1]
|
||
40 │
|
||
41 │ let x11;
|
||
· ─┬─
|
||
· ╰── `x11` has already been declared here
|
||
42 │ for (var x11; ;) {
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
43 │ }
|
||
╰────
|
||
|
||
× Identifier `x11` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:45:1]
|
||
45 │ function f2() {
|
||
46 │ let x11;
|
||
· ─┬─
|
||
· ╰── `x11` has already been declared here
|
||
47 │ for (var x11; ;) {
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
48 │ }
|
||
╰────
|
||
|
||
× Identifier `x11` has already been declared
|
||
╭─[compiler/letAndVarRedeclaration.ts:51:1]
|
||
51 │ module M2 {
|
||
52 │ let x11;
|
||
· ─┬─
|
||
· ╰── `x11` has already been declared here
|
||
53 │ for (var x11; ;) {
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
54 │ }
|
||
╰────
|
||
|
||
× The keyword 'let' is reserved
|
||
╭─[compiler/letAsIdentifierInStrictMode.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ var let = 10;
|
||
· ───
|
||
3 │ var a = 10;
|
||
╰────
|
||
|
||
× The keyword 'let' is reserved
|
||
╭─[compiler/letAsIdentifierInStrictMode.ts:3:1]
|
||
3 │ var a = 10;
|
||
4 │ let = 30;
|
||
· ───
|
||
5 │ let
|
||
╰────
|
||
|
||
× Identifier `a` has already been declared
|
||
╭─[compiler/letAsIdentifierInStrictMode.ts:2:1]
|
||
2 │ var let = 10;
|
||
3 │ var a = 10;
|
||
· ┬
|
||
· ╰── `a` has already been declared here
|
||
4 │ let = 30;
|
||
5 │ let
|
||
6 │ a;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/letDeclarations-invalidContexts.ts:6:1]
|
||
6 │ if (true)
|
||
7 │ let l1 = 0;
|
||
· ─
|
||
8 │ else
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Identifier `var1` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:3:1]
|
||
3 │ // Errors: redeclaration
|
||
4 │ let var1 = 0;
|
||
· ──┬─
|
||
· ╰── `var1` has already been declared here
|
||
5 │ let var1 = 0; // error
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
6 │
|
||
╰────
|
||
|
||
× Identifier `var2` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:6:1]
|
||
6 │
|
||
7 │ let var2 = 0;
|
||
· ──┬─
|
||
· ╰── `var2` has already been declared here
|
||
8 │ const var2 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
9 │
|
||
╰────
|
||
|
||
× Identifier `var3` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:9:1]
|
||
9 │
|
||
10 │ const var3 = 0;
|
||
· ──┬─
|
||
· ╰── `var3` has already been declared here
|
||
11 │ let var3 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
12 │
|
||
╰────
|
||
|
||
× Identifier `var4` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:12:1]
|
||
12 │
|
||
13 │ const var4 = 0;
|
||
· ──┬─
|
||
· ╰── `var4` has already been declared here
|
||
14 │ const var4 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
15 │
|
||
╰────
|
||
|
||
× Identifier `var5` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:15:1]
|
||
15 │
|
||
16 │ var var5 = 0;
|
||
· ──┬─
|
||
· ╰── `var5` has already been declared here
|
||
17 │ let var5 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
18 │
|
||
╰────
|
||
|
||
× Identifier `var6` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:18:1]
|
||
18 │
|
||
19 │ let var6 = 0;
|
||
· ──┬─
|
||
· ╰── `var6` has already been declared here
|
||
20 │ var var6 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
21 │
|
||
╰────
|
||
|
||
× Identifier `var7` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:22:1]
|
||
22 │ {
|
||
23 │ let var7 = 0;
|
||
· ──┬─
|
||
· ╰── `var7` has already been declared here
|
||
24 │ let var7 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
25 │ {
|
||
╰────
|
||
|
||
× Identifier `var8` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:25:1]
|
||
25 │ {
|
||
26 │ let var8 = 0;
|
||
· ──┬─
|
||
· ╰── `var8` has already been declared here
|
||
27 │ const var8 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
28 │ }
|
||
╰────
|
||
|
||
× Identifier `var9` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:32:1]
|
||
32 │ default:
|
||
33 │ let var9 = 0;
|
||
· ──┬─
|
||
· ╰── `var9` has already been declared here
|
||
34 │ let var9 = 0;
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
35 │ }
|
||
╰────
|
||
|
||
× Identifier `var10` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:37:1]
|
||
37 │ try {
|
||
38 │ const var10 = 0;
|
||
· ──┬──
|
||
· ╰── `var10` has already been declared here
|
||
39 │ const var10 = 0;
|
||
· ──┬──
|
||
· ╰── It can not be redeclared here
|
||
40 │ }
|
||
╰────
|
||
|
||
× Identifier `var11` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:41:1]
|
||
41 │ catch (e) {
|
||
42 │ let var11 = 0;
|
||
· ──┬──
|
||
· ╰── `var11` has already been declared here
|
||
43 │ let var11 = 0;
|
||
· ──┬──
|
||
· ╰── It can not be redeclared here
|
||
44 │ }
|
||
╰────
|
||
|
||
× Identifier `var12` has already been declared
|
||
╭─[compiler/letDeclarations-scopes-duplicates.ts:46:1]
|
||
46 │ function F1() {
|
||
47 │ let var12;
|
||
· ──┬──
|
||
· ╰── `var12` has already been declared here
|
||
48 │ let var12;
|
||
· ──┬──
|
||
· ╰── It can not be redeclared here
|
||
49 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/letDeclarations-scopes.ts:47:1]
|
||
47 │ if (true) {
|
||
48 │ label: let l = 0;
|
||
· ─
|
||
49 │ n = l;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/letDeclarations-validContexts.ts:36:1]
|
||
36 │ if (true) {
|
||
37 │ label: let l8 = 0;
|
||
· ─
|
||
38 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInConstDeclarations_ES5.ts:3:1]
|
||
3 │ // All use of let in const declaration should be an error
|
||
4 │ const x = 50, let = 5;
|
||
· ───
|
||
5 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInConstDeclarations_ES5.ts:6:1]
|
||
6 │ {
|
||
7 │ const x = 10, let = 20;
|
||
· ───
|
||
8 │ }
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInConstDeclarations_ES6.ts:3:1]
|
||
3 │ // All use of let in const declaration should be an error
|
||
4 │ const x = 50, let = 5;
|
||
· ───
|
||
5 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInConstDeclarations_ES6.ts:6:1]
|
||
6 │ {
|
||
7 │ const x = 10, let = 20;
|
||
· ───
|
||
8 │ }
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:3:1]
|
||
3 │ // Should be an error
|
||
4 │ for (let let of [1,2,3]) {}
|
||
· ───
|
||
5 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:5:1]
|
||
5 │
|
||
6 │ for (const let of [1,2,3]) {}
|
||
· ───
|
||
7 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:7:1]
|
||
7 │
|
||
8 │ for (let let in [1,2,3]) {}
|
||
· ───
|
||
9 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:9:1]
|
||
9 │
|
||
10 │ for (const let in [1,2,3]) {}
|
||
· ───
|
||
11 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:12:1]
|
||
12 │ {
|
||
13 │ for (let let of [1,2,3]) {}
|
||
· ───
|
||
14 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:14:1]
|
||
14 │
|
||
15 │ for (const let of [1,2,3]) {}
|
||
· ───
|
||
16 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:16:1]
|
||
16 │
|
||
17 │ for (let let in [1,2,3]) {}
|
||
· ───
|
||
18 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES5.ts:18:1]
|
||
18 │
|
||
19 │ for (const let in [1,2,3]) {}
|
||
· ───
|
||
20 │ }
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:3:1]
|
||
3 │ // Should be an error
|
||
4 │ for (let let of [1,2,3]) {}
|
||
· ───
|
||
5 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:5:1]
|
||
5 │
|
||
6 │ for (const let of [1,2,3]) {}
|
||
· ───
|
||
7 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:7:1]
|
||
7 │
|
||
8 │ for (let let in [1,2,3]) {}
|
||
· ───
|
||
9 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:9:1]
|
||
9 │
|
||
10 │ for (const let in [1,2,3]) {}
|
||
· ───
|
||
11 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:12:1]
|
||
12 │ {
|
||
13 │ for (let let of [1,2,3]) {}
|
||
· ───
|
||
14 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:14:1]
|
||
14 │
|
||
15 │ for (const let of [1,2,3]) {}
|
||
· ───
|
||
16 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:16:1]
|
||
16 │
|
||
17 │ for (let let in [1,2,3]) {}
|
||
· ───
|
||
18 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `const` declaration
|
||
╭─[compiler/letInLetConstDeclOfForOfAndForIn_ES6.ts:18:1]
|
||
18 │
|
||
19 │ for (const let in [1,2,3]) {}
|
||
· ───
|
||
20 │ }
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetDeclarations_ES5.ts:3:1]
|
||
3 │ // All use of let in const declaration should be an error
|
||
4 │ let x = 50, let = 5;
|
||
· ───
|
||
5 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetDeclarations_ES5.ts:6:1]
|
||
6 │ {
|
||
7 │ let x = 10, let = 20;
|
||
· ───
|
||
8 │ }
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetDeclarations_ES6.ts:3:1]
|
||
3 │ // All use of let in const declaration should be an error
|
||
4 │ let x = 50, let = 5;
|
||
· ───
|
||
5 │
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/letInLetDeclarations_ES6.ts:6:1]
|
||
6 │ {
|
||
7 │ let x = 10, let = 20;
|
||
· ───
|
||
8 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/libMembers.ts:8:1]
|
||
8 │ }
|
||
9 │ var a=new C[];
|
||
· ─
|
||
10 │ a.length;
|
||
╰────
|
||
|
||
× Expected `)` but found `}`
|
||
╭─[compiler/mappedTypeNoTypeNoCrash.ts:1:1]
|
||
1 │ // @declaration: true
|
||
2 │ type T0<T> = ({[K in keyof T]}) extends ({[key in K]: T[K]}) ? number : never;
|
||
· ┬
|
||
· ╰── `)` expected
|
||
╰────
|
||
|
||
× Identifier `baz` has already been declared
|
||
╭─[compiler/mismatchedClassConstructorVariable.ts:1:1]
|
||
1 │ var baz: foo;
|
||
· ─┬─
|
||
· ╰── `baz` has already been declared here
|
||
2 │ class baz { }
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
3 │ class foo { }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/missingArgument1.ts:1:1]
|
||
1 │ foo(a,,b);
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[compiler/missingCloseBrace.ts:8:1]
|
||
8 │ }
|
||
╰────
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[compiler/missingCloseBraceInObjectLiteral.ts:4:1]
|
||
4 │ c: 'c'
|
||
╰────
|
||
|
||
× Expected `]` but found `EOF`
|
||
╭─[compiler/missingCloseBracketInArray.ts:1:1]
|
||
1 │ var alphas:string[] = alphas = ["1","2","3","4"
|
||
╰────
|
||
|
||
× Expected `)` but found `{`
|
||
╭─[compiler/missingCloseParenStatements.ts:1:1]
|
||
1 │ var a1, a2, a3 = 0;
|
||
2 │ if ( a1 && (a2 + a3 > 0) {
|
||
· ┬
|
||
· ╰── `)` expected
|
||
3 │ while( (a2 > 0) && a1
|
||
╰────
|
||
|
||
× The only valid meta property for new is new.target
|
||
╭─[compiler/misspelledNewMetaProperty.ts:1:1]
|
||
1 │ function foo(){new.targ}
|
||
· ────────
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[compiler/modifiersInObjectLiterals.ts:1:1]
|
||
1 │ let data = {
|
||
2 │ public foo: 'hey',
|
||
· ─┬─
|
||
· ╰── `,` expected
|
||
3 │ private bar: 'nay',
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/modifiersOnInterfaceIndexSignature1.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ public [a: string]: number;
|
||
· ──────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Identifier `Kettle` has already been declared
|
||
╭─[compiler/moduleDuplicateIdentifiers.ts:20:1]
|
||
20 │
|
||
21 │ export class Kettle {
|
||
· ───┬──
|
||
· ╰── `Kettle` has already been declared here
|
||
22 │ member1 = 2;
|
||
23 │ }
|
||
24 │
|
||
25 │ export class Kettle { // Should error
|
||
· ───┬──
|
||
· ╰── It can not be redeclared here
|
||
26 │ member2 = 42;
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/moduleKeywordRepeatError.ts:2:1]
|
||
2 │
|
||
3 │ module.module { }
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/moduleProperty1.ts:8:1]
|
||
8 │ var x = 10; // variable local to this module body
|
||
9 │ private y = x; // can't use private in modules
|
||
· ─
|
||
10 │ export var z = y; // property visible to any code
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[compiler/multiLinePropertyAccessAndArrowFunctionIndent1.ts:1:1]
|
||
1 │ return this.edit(role)
|
||
· ──────
|
||
2 │ .then((role: Role) =>
|
||
╰────
|
||
|
||
× Identifier `C` has already been declared
|
||
╭─[compiler/nameCollisions.ts:32:1]
|
||
32 │
|
||
33 │ class C { }
|
||
· ┬
|
||
· ╰── `C` has already been declared here
|
||
34 │ function C() { } // error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
35 │
|
||
╰────
|
||
|
||
× Identifier `C2` has already been declared
|
||
╭─[compiler/nameCollisions.ts:35:1]
|
||
35 │
|
||
36 │ function C2() { }
|
||
· ─┬
|
||
· ╰── `C2` has already been declared here
|
||
37 │ class C2 { } // error
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
38 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/nestedGlobalNamespaceInClass.ts:2:1]
|
||
2 │ class C {
|
||
3 │ global x
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/nestedUnaryExpressionHang.ts:1:1]
|
||
1 │ 3333%!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/newExpressionWithCast.ts:8:1]
|
||
8 │ // parse error
|
||
9 │ var test2 = new <any>Test2();
|
||
· ─
|
||
10 │
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[compiler/newMissingIdentifier.ts:1:1]
|
||
1 │ var x = new ();
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/newOperator.ts:17:1]
|
||
17 │ // Various spacing
|
||
18 │ var t3 = new string[]( );
|
||
· ─
|
||
19 │ var t4 =
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[compiler/noImplicitAnyDestructuringVarDeclaration.ts:1:1]
|
||
1 │ // @noimplicitany: true
|
||
2 │ var [a], {b}, c, d; // error
|
||
· ───
|
||
3 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[compiler/noImplicitAnyDestructuringVarDeclaration.ts:1:1]
|
||
1 │ // @noimplicitany: true
|
||
2 │ var [a], {b}, c, d; // error
|
||
· ───
|
||
3 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[compiler/noImplicitAnyDestructuringVarDeclaration.ts:3:1]
|
||
3 │
|
||
4 │ var [a1 = undefined], {b1 = null}, c1 = undefined, d1 = null; // error
|
||
· ────────────────
|
||
5 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[compiler/noImplicitAnyDestructuringVarDeclaration.ts:3:1]
|
||
3 │
|
||
4 │ var [a1 = undefined], {b1 = null}, c1 = undefined, d1 = null; // error
|
||
· ───────────
|
||
5 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[compiler/noImplicitAnyDestructuringVarDeclaration.ts:5:1]
|
||
5 │
|
||
6 │ var [a2]: [any], {b2}: { b2: any }, c2: any, d2: any;
|
||
· ────
|
||
7 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[compiler/noImplicitAnyDestructuringVarDeclaration.ts:5:1]
|
||
5 │
|
||
6 │ var [a2]: [any], {b2}: { b2: any }, c2: any, d2: any;
|
||
· ────
|
||
7 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[compiler/noImplicitAnyDestructuringVarDeclaration.ts:7:1]
|
||
7 │
|
||
8 │ var {b3}: { b3 }, c3: { b3 }; // error in type instead
|
||
· ────
|
||
9 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/numberLiteralsWithLeadingZeros.ts:7:1]
|
||
7 │
|
||
8 │ 00.5;
|
||
· ▲
|
||
9 │ 000.5;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/numberVsBigIntOperations.ts:87:1]
|
||
87 │ const isNumber: (x: 0 | 1) => number = (x: 0 | 1) => x;
|
||
88 │ const zeroOrBigOne: 0 | 1n;
|
||
· ────────────
|
||
89 │ if (typeof zeroOrBigOne === "bigint") isBigInt(zeroOrBigOne);
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[compiler/numberVsBigIntOperations.ts:94:1]
|
||
94 │ if (zeroOrBigOne) isOne(zeroOrBigOne);
|
||
95 │ const bigZeroOrOne: 0n | 1;
|
||
· ────────────
|
||
96 │ if (bigZeroOrOne) isOne(bigZeroOrOne);
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[compiler/numericLiteralsWithTrailingDecimalPoints01.ts:3:1]
|
||
3 │ 1.0.toString();
|
||
4 │ 1.toString();
|
||
· ────────
|
||
5 │ 1.+2.0 + 3. ;
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[compiler/numericLiteralsWithTrailingDecimalPoints02.ts:5:1]
|
||
5 │ 1.0.toString();
|
||
6 │ 1.toString();
|
||
· ────────
|
||
7 │ 1.+2.0 + 3. ;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/objectCreationExpressionInFunctionParameter.ts:5:1]
|
||
5 │ function foo(x = new A(123)) { //should error, 123 is not string
|
||
6 │ }}
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/objectLitArrayDeclNoNew.ts:22:1]
|
||
22 │ return {
|
||
23 │ tokens: Gar[],//IToken[], // Missing new. Correct syntax is: tokens: new IToken[]
|
||
· ─
|
||
24 │ endState: state
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[compiler/objectLiteralMemberWithModifiers1.ts:1:1]
|
||
1 │ var v = { public foo() { } }
|
||
· ─┬─
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `get`
|
||
╭─[compiler/objectLiteralMemberWithModifiers2.ts:1:1]
|
||
1 │ var v = { public get foo() { } }
|
||
· ─┬─
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `?`
|
||
╭─[compiler/objectLiteralMemberWithQuestionMark1.ts:1:1]
|
||
1 │ var v = { foo?() { } }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[compiler/objectLiteralWithSemicolons1.ts:1:1]
|
||
1 │ var v = { a; b; c }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[compiler/objectLiteralWithSemicolons2.ts:1:1]
|
||
1 │ var v = {
|
||
2 │ a;
|
||
· ┬
|
||
· ╰── `,` expected
|
||
3 │ b;
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[compiler/objectLiteralWithSemicolons3.ts:1:1]
|
||
1 │ var v = {
|
||
2 │ a;
|
||
· ┬
|
||
· ╰── `,` expected
|
||
3 │ b;
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[compiler/objectLiteralWithSemicolons4.ts:2:1]
|
||
2 │ a
|
||
3 │ ;
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[compiler/objectLiteralWithSemicolons5.ts:1:1]
|
||
1 │ var v = { foo() { }; a: b; get baz() { }; }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `?`
|
||
╭─[compiler/objectTypeWithOptionalProperty1.ts:1:1]
|
||
1 │ var b = {
|
||
2 │ x?: 1 // error
|
||
· ┬
|
||
· ╰── `,` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:87:1]
|
||
87 │ `\0`;
|
||
88 │ `\5`;
|
||
· ──
|
||
89 │ `\00`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:88:1]
|
||
88 │ `\5`;
|
||
89 │ `\00`;
|
||
· ───
|
||
90 │ `\05`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:89:1]
|
||
89 │ `\00`;
|
||
90 │ `\05`;
|
||
· ───
|
||
91 │ `\55`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:90:1]
|
||
90 │ `\05`;
|
||
91 │ `\55`;
|
||
· ───
|
||
92 │ `\000`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:91:1]
|
||
91 │ `\55`;
|
||
92 │ `\000`;
|
||
· ────
|
||
93 │ `\005`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:92:1]
|
||
92 │ `\000`;
|
||
93 │ `\005`;
|
||
· ────
|
||
94 │ `\055`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:93:1]
|
||
93 │ `\005`;
|
||
94 │ `\055`;
|
||
· ────
|
||
95 │ `${0}\0`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:95:1]
|
||
95 │ `${0}\0`;
|
||
96 │ `${0}\5`;
|
||
· ──
|
||
97 │ `${0}\00`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:96:1]
|
||
96 │ `${0}\5`;
|
||
97 │ `${0}\00`;
|
||
· ───
|
||
98 │ `${0}\05`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:97:1]
|
||
97 │ `${0}\00`;
|
||
98 │ `${0}\05`;
|
||
· ───
|
||
99 │ `${0}\55`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:98:1]
|
||
98 │ `${0}\05`;
|
||
99 │ `${0}\55`;
|
||
· ───
|
||
100 │ `${0}\000`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:99:1]
|
||
99 │ `${0}\55`;
|
||
100 │ `${0}\000`;
|
||
· ────
|
||
101 │ `${0}\005`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:100:1]
|
||
100 │ `${0}\000`;
|
||
101 │ `${0}\005`;
|
||
· ────
|
||
102 │ `${0}\055`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:101:1]
|
||
101 │ `${0}\005`;
|
||
102 │ `${0}\055`;
|
||
· ────
|
||
103 │ `\0${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:103:1]
|
||
103 │ `\0${0}`;
|
||
104 │ `\5${0}`;
|
||
· ──
|
||
105 │ `\00${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:104:1]
|
||
104 │ `\5${0}`;
|
||
105 │ `\00${0}`;
|
||
· ───
|
||
106 │ `\05${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:105:1]
|
||
105 │ `\00${0}`;
|
||
106 │ `\05${0}`;
|
||
· ───
|
||
107 │ `\55${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:106:1]
|
||
106 │ `\05${0}`;
|
||
107 │ `\55${0}`;
|
||
· ───
|
||
108 │ `\000${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:107:1]
|
||
107 │ `\55${0}`;
|
||
108 │ `\000${0}`;
|
||
· ────
|
||
109 │ `\005${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:108:1]
|
||
108 │ `\000${0}`;
|
||
109 │ `\005${0}`;
|
||
· ────
|
||
110 │ `\055${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:109:1]
|
||
109 │ `\005${0}`;
|
||
110 │ `\055${0}`;
|
||
· ────
|
||
111 │ `${0}\0${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:111:1]
|
||
111 │ `${0}\0${0}`;
|
||
112 │ `${0}\5${0}`;
|
||
· ──
|
||
113 │ `${0}\00${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:112:1]
|
||
112 │ `${0}\5${0}`;
|
||
113 │ `${0}\00${0}`;
|
||
· ───
|
||
114 │ `${0}\05${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:113:1]
|
||
113 │ `${0}\00${0}`;
|
||
114 │ `${0}\05${0}`;
|
||
· ───
|
||
115 │ `${0}\55${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:114:1]
|
||
114 │ `${0}\05${0}`;
|
||
115 │ `${0}\55${0}`;
|
||
· ───
|
||
116 │ `${0}\000${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:115:1]
|
||
115 │ `${0}\55${0}`;
|
||
116 │ `${0}\000${0}`;
|
||
· ────
|
||
117 │ `${0}\005${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:116:1]
|
||
116 │ `${0}\000${0}`;
|
||
117 │ `${0}\005${0}`;
|
||
· ────
|
||
118 │ `${0}\055${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/octalLiteralAndEscapeSequence.ts:117:1]
|
||
117 │ `${0}\005${0}`;
|
||
118 │ `${0}\055${0}`;
|
||
· ────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/optionalPropertiesSyntax.ts:10:1]
|
||
10 │ (): any;
|
||
11 │ ()?: any; //err
|
||
· ─
|
||
12 │ ?(): any; //err
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/overloadConsecutiveness.ts:2:1]
|
||
2 │
|
||
3 │ function f1(), function f1();
|
||
· ▲
|
||
4 │ function f2(), function f2() {}
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `(` but found `{`
|
||
╭─[compiler/overloadingStaticFunctionsInFunctions.ts:1:1]
|
||
1 │ // @lib: es5
|
||
2 │ function boo {
|
||
· ┬
|
||
· ╰── `(` expected
|
||
3 │ static test()
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parse1.ts:3:1]
|
||
3 │ bar.
|
||
4 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parse2.ts:2:1]
|
||
2 │ foo(
|
||
3 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[compiler/parseBigInt.ts:57:1]
|
||
57 │ // In separate blocks because they each declare an "n" variable
|
||
58 │ { const legacyOct = 0123n; }
|
||
· ─
|
||
59 │ { const scientific = 1e2n; }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseCommaSeparatedNewlineNew.ts:1:1]
|
||
1 │ (a,
|
||
2 │ new)
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseErrorDoubleCommaInCall.ts:1:1]
|
||
1 │ Boolean({
|
||
2 │ x: 0,,
|
||
· ─
|
||
3 │ });
|
||
╰────
|
||
|
||
× Invalid Character `¬`
|
||
╭─[compiler/parseErrorInHeritageClause1.ts:1:1]
|
||
1 │ class C extends A ¬ {
|
||
· ─
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `{` but found `Unknown`
|
||
╭─[compiler/parseErrorInHeritageClause1.ts:1:1]
|
||
1 │ class C extends A ¬ {
|
||
· ┬
|
||
· ╰── `{` expected
|
||
2 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseErrorIncorrectReturnToken.ts:2:1]
|
||
2 │ type F1 = {
|
||
3 │ (n: number) => string; // should be : not =>
|
||
· ──
|
||
4 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/parseInvalidNames.ts:1:1]
|
||
1 │ namespace 100 {}
|
||
· ─
|
||
2 │ interface 100 {}
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/parseInvalidNonNullableTypes.ts:2:1]
|
||
2 │
|
||
3 │ function f1(a: string): a is string! {
|
||
· ▲
|
||
4 │ return true;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `,` but found `?`
|
||
╭─[compiler/parseInvalidNullableTypes.ts:6:1]
|
||
6 │
|
||
7 │ function f2(a: string?) {}
|
||
· ┬
|
||
· ╰── `,` expected
|
||
8 │ function f3(a: number?) {}
|
||
╰────
|
||
|
||
× Expected `>` but found `EOF`
|
||
╭─[compiler/parseJsxElementInUnaryExpressionNoCrash1.ts:4:1]
|
||
4 │ ~< <
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseJsxElementInUnaryExpressionNoCrash2.ts:3:1]
|
||
3 │ // @filename: a.js
|
||
4 │ ~<></> <
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseJsxElementInUnaryExpressionNoCrash3.ts:3:1]
|
||
3 │ // @filename: a.js
|
||
4 │ !< {:>
|
||
· ─
|
||
5 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseJsxExtends2.ts:7:1]
|
||
7 │ // Error: T is not declared.
|
||
8 │ return <T extends/>
|
||
· ─
|
||
9 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseUnaryExpressionNoTypeAssertionInJsx2.ts:6:1]
|
||
6 │ const x = "oops";
|
||
7 │ const y = + <> x;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parseUnaryExpressionNoTypeAssertionInJsx4.ts:7:1]
|
||
7 │ const b = + <> x;
|
||
8 │ const c = + <1234> x;
|
||
· ─
|
||
╰────
|
||
|
||
× Multiple constructor implementations are not allowed.
|
||
╭─[compiler/parserConstructorDeclaration12.ts:1:1]
|
||
1 │ class C {
|
||
2 │ constructor<>() { }
|
||
· ─────┬─────
|
||
· ╰── constructor has already been declared here
|
||
3 │ constructor<> () { }
|
||
· ─────┬─────
|
||
· ╰── it cannot be redeclared here
|
||
4 │ constructor <>() { }
|
||
╰────
|
||
|
||
× Expected `in` but found `]`
|
||
╭─[compiler/parserPrivateIdentifierInArrayAssignment.ts:1:1]
|
||
1 │ [#abc]=
|
||
· ┬
|
||
· ╰── `in` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[compiler/parserUnparsedTokenCrash1.ts:3:1]
|
||
3 │ // @filename: a.js
|
||
4 │ ( y = 1 ; 2 )
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/parserUnparsedTokenCrash2.ts:1:1]
|
||
1 │ export = } x = ( y = z ==== 'function') {
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[compiler/prettyContextNotDebugAssertion.ts:3:1]
|
||
3 │ if (true) {
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/privateNameJsx.tsx:5:1]
|
||
5 │ render() {
|
||
6 │ return <this.#prop />;
|
||
· ─────
|
||
7 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/propertyWrappedInTry.ts:2:1]
|
||
2 │
|
||
3 │ try {
|
||
· ─
|
||
4 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[compiler/readonlyInNonPropertyParameters.ts:7:1]
|
||
7 │ }
|
||
8 │ (readonly x) => 0;
|
||
· ┬
|
||
· ╰── `,` expected
|
||
9 │ // OK to use `readonly` as a name
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/redeclareParameterInCatchBlock.ts:4:1]
|
||
4 │
|
||
5 │ } catch(e) {
|
||
· ┬
|
||
· ╰── `e` has already been declared here
|
||
6 │ const e = null;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
7 │ }
|
||
╰────
|
||
|
||
× Identifier `e` has already been declared
|
||
╭─[compiler/redeclareParameterInCatchBlock.ts:10:1]
|
||
10 │
|
||
11 │ } catch(e) {
|
||
· ┬
|
||
· ╰── `e` has already been declared here
|
||
12 │ let e;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
13 │ }
|
||
╰────
|
||
|
||
× Identifier `b` has already been declared
|
||
╭─[compiler/redeclareParameterInCatchBlock.ts:16:1]
|
||
16 │
|
||
17 │ } catch ([a, b]) {
|
||
· ┬
|
||
· ╰── `b` has already been declared here
|
||
18 │ const [c, b] = [0, 1];
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
19 │ }
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/redeclareParameterInCatchBlock.ts:22:1]
|
||
22 │
|
||
23 │ } catch ({ a: x, b: x }) {
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `x` has already been declared here
|
||
24 │
|
||
╰────
|
||
|
||
× Expected `from` but found `while`
|
||
╭─[compiler/reservedWords2.ts:1:1]
|
||
1 │ import while = require("dfdf");
|
||
· ──┬──
|
||
· ╰── `from` expected
|
||
2 │ import * as while from "foo"
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/reservedWords3.ts:1:1]
|
||
1 │ function f1(enum) {}
|
||
· ────
|
||
2 │ function f2(class) {}
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/restArgMissingName.ts:1:1]
|
||
1 │ function sum (...) {}
|
||
· ─
|
||
╰────
|
||
|
||
× A rest parameter cannot have an initializer
|
||
╭─[compiler/restParamAsOptional.ts:1:1]
|
||
1 │ function f(...x?) { }
|
||
2 │ function f2(...x = []) { }
|
||
· ─────────
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[compiler/restParamModifier.ts:1:1]
|
||
1 │ class C {
|
||
2 │ constructor(...public rest: string[]) {}
|
||
· ──┬─
|
||
· ╰── `,` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[compiler/restParameterNotLast.ts:1:1]
|
||
1 │ function f(...x, y) { }
|
||
· ────
|
||
╰────
|
||
|
||
× A rest parameter cannot have an initializer
|
||
╭─[compiler/restParameterWithBindingPattern3.ts:2:1]
|
||
2 │
|
||
3 │ function b(...[...foo = []]: string[]) { }
|
||
· ───────────
|
||
4 │
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/shadowingViaLocalValue.ts:1:1]
|
||
1 │ {
|
||
2 │ let x;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
3 │ {
|
||
4 │ var x = 1;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
5 │ }
|
||
╰────
|
||
|
||
× Identifier `x1` has already been declared
|
||
╭─[compiler/shadowingViaLocalValue.ts:8:1]
|
||
8 │ {
|
||
9 │ let x1;
|
||
· ─┬
|
||
· ╰── `x1` has already been declared here
|
||
10 │ {
|
||
11 │ for (var x1 = 0; ;);
|
||
· ─┬
|
||
· ╰── It can not be redeclared here
|
||
12 │ }
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:1:1]
|
||
1 │ if (true) {
|
||
2 │ let x;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
3 │ if (true) {
|
||
4 │ var x = 0; // Error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
5 │ var { x = 0 } = { x: 0 }; // Error
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:1:1]
|
||
1 │ if (true) {
|
||
2 │ let x;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
3 │ if (true) {
|
||
4 │ var x = 0; // Error
|
||
5 │ var { x = 0 } = { x: 0 }; // Error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
6 │ var { x: x = 0 } = { x: 0 }; // Error
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:1:1]
|
||
1 │ if (true) {
|
||
2 │ let x;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
3 │ if (true) {
|
||
╰────
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:5:1]
|
||
5 │ var { x = 0 } = { x: 0 }; // Error
|
||
6 │ var { x: x = 0 } = { x: 0 }; // Error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
7 │ var { x } = { x: 0 }; // Error
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:1:1]
|
||
1 │ if (true) {
|
||
2 │ let x;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
3 │ if (true) {
|
||
╰────
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:6:1]
|
||
6 │ var { x: x = 0 } = { x: 0 }; // Error
|
||
7 │ var { x } = { x: 0 }; // Error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
8 │ var { x: x } = { x: 0 }; // Error
|
||
╰────
|
||
|
||
× Identifier `x` has already been declared
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:1:1]
|
||
1 │ if (true) {
|
||
2 │ let x;
|
||
· ┬
|
||
· ╰── `x` has already been declared here
|
||
3 │ if (true) {
|
||
╰────
|
||
╭─[compiler/shadowingViaLocalValueOrBindingElement.ts:7:1]
|
||
7 │ var { x } = { x: 0 }; // Error
|
||
8 │ var { x: x } = { x: 0 }; // Error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
9 │ }
|
||
╰────
|
||
|
||
× Invalid Character `!`
|
||
╭─[compiler/shebangError.ts:2:1]
|
||
2 │ var foo = 'Shebang is only allowed on the first line';
|
||
3 │ #!/usr/bin/env node
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid assignment in object literal
|
||
╭─[compiler/shorthandPropertyAssignmentsInDestructuring.ts:113:1]
|
||
113 │ (function() {
|
||
114 │ let a = { s = 5 };
|
||
· ─────
|
||
115 │ });
|
||
╰────
|
||
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
|
||
|
||
× Invalid assignment in object literal
|
||
╭─[compiler/shorthandPropertyAssignmentsInDestructuring_ES6.ts:113:1]
|
||
113 │ (function() {
|
||
114 │ let a = { s = 5 };
|
||
· ─────
|
||
115 │ });
|
||
╰────
|
||
help: Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[compiler/slashBeforeVariableDeclaration1.ts:1:1]
|
||
1 │ \ declare var v;
|
||
· ─
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[compiler/slashBeforeVariableDeclaration1.ts:1:1]
|
||
1 │ \ declare var v;
|
||
· ─────────
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/sourceMapValidationStatements.ts:43:1]
|
||
43 │ }
|
||
44 │ with (obj) {
|
||
· ────
|
||
45 │ i = 2;
|
||
╰────
|
||
|
||
× Expected `,` but found `?`
|
||
╭─[compiler/spaceBeforeQuestionMarkInPropertyAssignment.ts:1:1]
|
||
1 │ var x = {x ?: 1} // should not crash
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Illegal break statement
|
||
╭─[compiler/standaloneBreak.ts:1:1]
|
||
1 │ break;
|
||
· ──────
|
||
╰────
|
||
help: A `break` statement can only be used within an enclosing iteration or switch statement.
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/staticClassProps.ts:3:1]
|
||
3 │ public foo() {
|
||
4 │ static z = 1;
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[compiler/staticPrototypeProperty.ts:1:1]
|
||
1 │ class C {
|
||
2 │ static prototype() { }
|
||
· ─────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[compiler/staticPrototypeProperty.ts:5:1]
|
||
5 │ class C2 {
|
||
6 │ static prototype;
|
||
· ─────────
|
||
7 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `{`
|
||
╭─[compiler/staticsInAFunction.ts:1:1]
|
||
1 │ // @lib: es5
|
||
2 │ function boo{
|
||
· ┬
|
||
· ╰── `(` expected
|
||
3 │ static test()
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/staticsInConstructorBodies.ts:2:1]
|
||
2 │ constructor() {
|
||
3 │ static p1 = 0; // ERROR
|
||
· ─
|
||
4 │ static m1() {} // ERROR
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[compiler/strictModeReservedWord.ts:1:1]
|
||
1 │ let let = 10;
|
||
· ───
|
||
2 │
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:4:1]
|
||
4 │ "use strict"
|
||
5 │ var public = 10;
|
||
· ──────
|
||
6 │ var static = "hi";
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:5:1]
|
||
5 │ var public = 10;
|
||
6 │ var static = "hi";
|
||
· ──────
|
||
7 │ let let = "blah";
|
||
╰────
|
||
|
||
× The keyword 'let' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:6:1]
|
||
6 │ var static = "hi";
|
||
7 │ let let = "blah";
|
||
· ───
|
||
8 │ var package = "hello"
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:7:1]
|
||
7 │ let let = "blah";
|
||
8 │ var package = "hello"
|
||
· ───────
|
||
9 │ function package() { }
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:8:1]
|
||
8 │ var package = "hello"
|
||
9 │ function package() { }
|
||
· ───────
|
||
10 │ function bar(private, implements, let) { }
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:9:1]
|
||
9 │ function package() { }
|
||
10 │ function bar(private, implements, let) { }
|
||
· ───────
|
||
11 │ function baz<implements, protected>() { }
|
||
╰────
|
||
|
||
× The keyword 'implements' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:9:1]
|
||
9 │ function package() { }
|
||
10 │ function bar(private, implements, let) { }
|
||
· ──────────
|
||
11 │ function baz<implements, protected>() { }
|
||
╰────
|
||
|
||
× The keyword 'let' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:9:1]
|
||
9 │ function package() { }
|
||
10 │ function bar(private, implements, let) { }
|
||
· ───
|
||
11 │ function baz<implements, protected>() { }
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:11:1]
|
||
11 │ function baz<implements, protected>() { }
|
||
12 │ function barn(cb: (private, public, package) => void) { }
|
||
· ───────
|
||
13 │ barn((private, public, package) => { });
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:11:1]
|
||
11 │ function baz<implements, protected>() { }
|
||
12 │ function barn(cb: (private, public, package) => void) { }
|
||
· ──────
|
||
13 │ barn((private, public, package) => { });
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:11:1]
|
||
11 │ function baz<implements, protected>() { }
|
||
12 │ function barn(cb: (private, public, package) => void) { }
|
||
· ───────
|
||
13 │ barn((private, public, package) => { });
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:12:1]
|
||
12 │ function barn(cb: (private, public, package) => void) { }
|
||
13 │ barn((private, public, package) => { });
|
||
· ───────
|
||
14 │
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:12:1]
|
||
12 │ function barn(cb: (private, public, package) => void) { }
|
||
13 │ barn((private, public, package) => { });
|
||
· ──────
|
||
14 │
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:12:1]
|
||
12 │ function barn(cb: (private, public, package) => void) { }
|
||
13 │ barn((private, public, package) => { });
|
||
· ───────
|
||
14 │
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:14:1]
|
||
14 │
|
||
15 │ var myClass = class package extends public {}
|
||
· ───────
|
||
16 │
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:14:1]
|
||
14 │
|
||
15 │ var myClass = class package extends public {}
|
||
· ──────
|
||
16 │
|
||
╰────
|
||
|
||
× Identifier `b` has already been declared
|
||
╭─[compiler/strictModeReservedWord.ts:16:1]
|
||
16 │
|
||
17 │ var b: public.bar;
|
||
· ┬
|
||
· ╰── `b` has already been declared here
|
||
18 │
|
||
19 │ function foo(x: private.x) { }
|
||
20 │ function foo1(x: private.package.x) { }
|
||
21 │ function foo2(x: private.package.protected) { }
|
||
22 │ let b: interface.package.implements.B;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
23 │ ublic();
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/strictModeReservedWord.ts:23:1]
|
||
23 │ ublic();
|
||
24 │ static();
|
||
· ──────
|
||
25 │ }
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWord2.ts:1:1]
|
||
1 │ "use strict"
|
||
2 │ interface public { }
|
||
· ──────
|
||
3 │ interface implements {
|
||
╰────
|
||
|
||
× The keyword 'implements' is reserved
|
||
╭─[compiler/strictModeReservedWord2.ts:2:1]
|
||
2 │ interface public { }
|
||
3 │ interface implements {
|
||
· ──────────
|
||
4 │ foo(package, protected);
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWord2.ts:3:1]
|
||
3 │ interface implements {
|
||
4 │ foo(package, protected);
|
||
· ───────
|
||
5 │ }
|
||
╰────
|
||
|
||
× The keyword 'protected' is reserved
|
||
╭─[compiler/strictModeReservedWord2.ts:3:1]
|
||
3 │ interface implements {
|
||
4 │ foo(package, protected);
|
||
· ─────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWord2.ts:5:1]
|
||
5 │ }
|
||
6 │ enum package { }
|
||
· ───────
|
||
7 │ enum foo {
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWord2.ts:12:1]
|
||
12 │
|
||
13 │ const enum private {
|
||
· ───────
|
||
14 │ public,
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:3:1]
|
||
3 │ class Foo {
|
||
4 │ constructor(private, public, static) {
|
||
· ───────
|
||
5 │ private = public = static;
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:3:1]
|
||
3 │ class Foo {
|
||
4 │ constructor(private, public, static) {
|
||
· ──────
|
||
5 │ private = public = static;
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:3:1]
|
||
3 │ class Foo {
|
||
4 │ constructor(private, public, static) {
|
||
· ──────
|
||
5 │ private = public = static;
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:4:1]
|
||
4 │ constructor(private, public, static) {
|
||
5 │ private = public = static;
|
||
· ───────
|
||
6 │ }
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:4:1]
|
||
4 │ constructor(private, public, static) {
|
||
5 │ private = public = static;
|
||
· ──────
|
||
6 │ }
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:4:1]
|
||
4 │ constructor(private, public, static) {
|
||
5 │ private = public = static;
|
||
· ──────
|
||
6 │ }
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:10:1]
|
||
10 │ class C {
|
||
11 │ constructor(public public, let) {
|
||
· ──────
|
||
12 │ }
|
||
╰────
|
||
|
||
× The keyword 'let' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:10:1]
|
||
10 │ class C {
|
||
11 │ constructor(public public, let) {
|
||
· ───
|
||
12 │ }
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:12:1]
|
||
12 │ }
|
||
13 │ foo1(private, static, public) {
|
||
· ───────
|
||
14 │ function let() { }
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:12:1]
|
||
12 │ }
|
||
13 │ foo1(private, static, public) {
|
||
· ──────
|
||
14 │ function let() { }
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:12:1]
|
||
12 │ }
|
||
13 │ foo1(private, static, public) {
|
||
· ──────
|
||
14 │ function let() { }
|
||
╰────
|
||
|
||
× The keyword 'let' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:13:1]
|
||
13 │ foo1(private, static, public) {
|
||
14 │ function let() { }
|
||
· ───
|
||
15 │ var z = function let() { };
|
||
╰────
|
||
|
||
× The keyword 'let' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:14:1]
|
||
14 │ function let() { }
|
||
15 │ var z = function let() { };
|
||
· ───
|
||
16 │ }
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:26:1]
|
||
26 │ class F1 implements public.private.implements { }
|
||
27 │ class G extends package { }
|
||
· ───────
|
||
28 │ class H extends package.A { }
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWordInClassDeclaration.ts:27:1]
|
||
27 │ class G extends package { }
|
||
28 │ class H extends package.A { }
|
||
· ───────
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInDestructuring.ts:1:1]
|
||
1 │ "use strict"
|
||
2 │ var [public] = [1];
|
||
· ──────
|
||
3 │ var { x: public } = { x: 1 };
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInDestructuring.ts:2:1]
|
||
2 │ var [public] = [1];
|
||
3 │ var { x: public } = { x: 1 };
|
||
· ──────
|
||
4 │ var [[private]] = [["hello"]];
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeReservedWordInDestructuring.ts:3:1]
|
||
3 │ var { x: public } = { x: 1 };
|
||
4 │ var [[private]] = [["hello"]];
|
||
· ───────
|
||
5 │ var { y: { s: static }, z: { o: { p: package } }} = { y: { s: 1 }, z: { o: { p: 'h' } } };
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[compiler/strictModeReservedWordInDestructuring.ts:4:1]
|
||
4 │ var [[private]] = [["hello"]];
|
||
5 │ var { y: { s: static }, z: { o: { p: package } }} = { y: { s: 1 }, z: { o: { p: 'h' } } };
|
||
· ──────
|
||
6 │ var { public, protected } = { public: 1, protected: 2 };
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeReservedWordInDestructuring.ts:4:1]
|
||
4 │ var [[private]] = [["hello"]];
|
||
5 │ var { y: { s: static }, z: { o: { p: package } }} = { y: { s: 1 }, z: { o: { p: 'h' } } };
|
||
· ───────
|
||
6 │ var { public, protected } = { public: 1, protected: 2 };
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInDestructuring.ts:5:1]
|
||
5 │ var { y: { s: static }, z: { o: { p: package } }} = { y: { s: 1 }, z: { o: { p: 'h' } } };
|
||
6 │ var { public, protected } = { public: 1, protected: 2 };
|
||
· ──────
|
||
7 │ var { public: a, protected: b } = { public: 1, protected: 2 };
|
||
╰────
|
||
|
||
× The keyword 'protected' is reserved
|
||
╭─[compiler/strictModeReservedWordInDestructuring.ts:5:1]
|
||
5 │ var { y: { s: static }, z: { o: { p: package } }} = { y: { s: 1 }, z: { o: { p: 'h' } } };
|
||
6 │ var { public, protected } = { public: 1, protected: 2 };
|
||
· ─────────
|
||
7 │ var { public: a, protected: b } = { public: 1, protected: 2 };
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeReservedWordInImportEqualDeclaration.ts:3:1]
|
||
3 │ "use strict"
|
||
4 │ import public = require("1");
|
||
· ──────
|
||
╰────
|
||
|
||
× The keyword 'package' is reserved
|
||
╭─[compiler/strictModeWordInImportDeclaration.ts:2:1]
|
||
2 │ "use strict"
|
||
3 │ import * as package from "./1"
|
||
· ───────
|
||
4 │ import {foo as private} from "./1"
|
||
╰────
|
||
|
||
× The keyword 'private' is reserved
|
||
╭─[compiler/strictModeWordInImportDeclaration.ts:3:1]
|
||
3 │ import * as package from "./1"
|
||
4 │ import {foo as private} from "./1"
|
||
· ───────
|
||
5 │ import public from "./1"
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[compiler/strictModeWordInImportDeclaration.ts:4:1]
|
||
4 │ import {foo as private} from "./1"
|
||
5 │ import public from "./1"
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/strictSubtypeAndNarrowing.ts:187:1]
|
||
187 │ ObjT extends object,
|
||
188 │ const DeepPathT extends ReadonlyArray<number | string>,
|
||
· ─────
|
||
189 │ ValueT,
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[compiler/stringLiteralsErrors.ts:1:1]
|
||
1 │ // Srtings missing line terminator
|
||
2 │ var es1 = "line 1
|
||
· ────────
|
||
3 │ ";
|
||
4 │ var es2 = 'line 1
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superAccess2.ts:6:1]
|
||
6 │ class Q extends P {
|
||
7 │ xx = super;
|
||
· ─────
|
||
8 │ static yy = super; // error for static initializer accessing super
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superAccess2.ts:7:1]
|
||
7 │ xx = super;
|
||
8 │ static yy = super; // error for static initializer accessing super
|
||
· ─────
|
||
9 │
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superAccess2.ts:10:1]
|
||
10 │ // Super is not allowed in constructor args
|
||
11 │ constructor(public z = super, zz = super, zzz = () => super) {
|
||
· ─────
|
||
12 │ super();
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superAccess2.ts:10:1]
|
||
10 │ // Super is not allowed in constructor args
|
||
11 │ constructor(public z = super, zz = super, zzz = () => super) {
|
||
· ─────
|
||
12 │ super();
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superAccess2.ts:10:1]
|
||
10 │ // Super is not allowed in constructor args
|
||
11 │ constructor(public z = super, zz = super, zzz = () => super) {
|
||
· ─────
|
||
12 │ super();
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superAccess2.ts:14:1]
|
||
14 │
|
||
15 │ foo(zz = super) {
|
||
· ─────
|
||
16 │ super.x();
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superAccess2.ts:19:1]
|
||
19 │
|
||
20 │ static bar(zz = super) {
|
||
· ─────
|
||
21 │ super.x(); // error
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be referenced in a derived class.
|
||
╭─[compiler/superCallFromClassThatHasNoBaseType1.ts:7:1]
|
||
7 │
|
||
8 │ ╭─▶ class B {
|
||
9 │ │╭▶ constructor() { super(value => String(value)); }
|
||
· ││ ─────
|
||
10 │ ├─▶ }
|
||
· ╰──── class does not have `extends`
|
||
╰────
|
||
help: either remove this super, or extend the class
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[compiler/superCallFromFunction1.ts:2:1]
|
||
2 │ function foo() {
|
||
3 │ super(value => String(value));
|
||
· ─────────────────────────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[compiler/superCallOutsideConstructor.ts:5:1]
|
||
5 │ class D extends C {
|
||
6 │ x = super();
|
||
· ───────
|
||
7 │
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/superCallsInConstructor.ts:11:1]
|
||
11 │ constructor() {
|
||
12 │ with(new C()) {
|
||
· ────
|
||
13 │ foo();
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:2:1]
|
||
2 │ // super in a non class context
|
||
3 │ var x = super;
|
||
· ─────
|
||
4 │ var y = () => super;
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:3:1]
|
||
3 │ var x = super;
|
||
4 │ var y = () => super;
|
||
· ─────
|
||
5 │ var z = () => () => () => super;
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:4:1]
|
||
4 │ var y = () => super;
|
||
5 │ var z = () => () => () => super;
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:30:1]
|
||
30 │ // super call in a lambda in a function expression in a constructor
|
||
31 │ (function() { return () => super; })();
|
||
· ─────
|
||
32 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:42:1]
|
||
42 │ // super call in a lambda in a function expression in a constructor
|
||
43 │ (function() { return () => super; })();
|
||
· ─────
|
||
44 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:46:1]
|
||
46 │ // super in static functions
|
||
47 │ var s = super;
|
||
· ─────
|
||
48 │ var x = () => super;
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:47:1]
|
||
47 │ var s = super;
|
||
48 │ var x = () => super;
|
||
· ─────
|
||
49 │ var y = () => () => () => super;
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superErrors.ts:48:1]
|
||
48 │ var x = () => super;
|
||
49 │ var y = () => () => () => super;
|
||
· ─────
|
||
50 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be referenced in members of derived classes or object literal expressions.
|
||
│
|
||
╭─[compiler/superErrors.ts:2:1]
|
||
2 │ // super in a non class context
|
||
3 │ var x = super;
|
||
· ─────
|
||
4 │ var y = () => super;
|
||
╰────
|
||
|
||
× 'super' can only be referenced in members of derived classes or object literal expressions.
|
||
│
|
||
╭─[compiler/superErrors.ts:3:1]
|
||
3 │ var x = super;
|
||
4 │ var y = () => super;
|
||
· ─────
|
||
5 │ var z = () => () => () => super;
|
||
╰────
|
||
|
||
× 'super' can only be referenced in members of derived classes or object literal expressions.
|
||
│
|
||
╭─[compiler/superErrors.ts:4:1]
|
||
4 │ var y = () => super;
|
||
5 │ var z = () => () => () => super;
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superInLambdas.ts:60:1]
|
||
60 │ // super in a nested lambda in a constructor
|
||
61 │ var x = () => () => super;
|
||
· ─────
|
||
62 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superInLambdas.ts:64:1]
|
||
64 │ // super in a nested lambda in a method
|
||
65 │ var x = () => () => super;
|
||
· ─────
|
||
66 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superWithTypeArgument.ts:6:1]
|
||
6 │ constructor() {
|
||
7 │ super<T>();
|
||
· ─────
|
||
8 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superWithTypeArgument2.ts:6:1]
|
||
6 │ constructor(x) {
|
||
7 │ super<T>(x);
|
||
· ─────
|
||
8 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[compiler/superWithTypeArgument3.ts:7:1]
|
||
7 │ constructor() {
|
||
8 │ super<T>();
|
||
· ─────
|
||
9 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[compiler/switchStatementsWithMultipleDefaults.ts:25:1]
|
||
25 │ default: // Error, third 'default' clause
|
||
26 │ def\u0061ult: // Error, fourth 'default' clause.
|
||
· ────────────
|
||
27 │ // Errors on fifth-seventh
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[compiler/switchStatementsWithMultipleDefaults.ts:27:1]
|
||
27 │ // Errors on fifth-seventh
|
||
28 │ default: return;
|
||
· ──────
|
||
29 │ default: default:
|
||
╰────
|
||
|
||
× Identifier `default` has already been declared
|
||
╭─[compiler/switchStatementsWithMultipleDefaults.ts:6:1]
|
||
6 │ case 2:
|
||
7 │ ╭─▶ default: // No issues.
|
||
8 │ ├─▶ break;
|
||
· ╰──── `default` has already been declared here
|
||
9 │ ╭─▶ default: // Error; second 'default' clause.
|
||
· │ ────┬───
|
||
· │ ╰── It can not be redeclared here
|
||
10 │ default: // Error; third 'default' clause.
|
||
╰────
|
||
|
||
× Identifier `default` has already been declared
|
||
╭─[compiler/switchStatementsWithMultipleDefaults.ts:19:1]
|
||
19 │ switch (x * x) {
|
||
20 │ ╭─▶ default: // No issues.
|
||
· │ ────┬───
|
||
· │ ╰── `default` has already been declared here
|
||
21 │ ╭─▶ default: // Error; second 'default' clause.
|
||
22 │ ├─▶ break;
|
||
· ╰──── It can not be redeclared here
|
||
23 │ case 10000:
|
||
╰────
|
||
|
||
× Identifier `default` has already been declared
|
||
╭─[compiler/switchStatementsWithMultipleDefaults1.ts:5:1]
|
||
5 │ case 2:
|
||
6 │ ╭─▶ default: // No issues.
|
||
7 │ ├─▶ break;
|
||
· ╰──── `default` has already been declared here
|
||
8 │ ╭─▶ default: // Error; second 'default' clause.
|
||
· │ ────┬───
|
||
· │ ╰── It can not be redeclared here
|
||
9 │ default: // Error; third 'default' clause.
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.ts:6:1]
|
||
6 │ // Incomplete call, not enough parameters.
|
||
7 │ f `123qdawdrqw
|
||
· ────────────
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate1.ts:6:1]
|
||
6 │ // Incomplete call, not enough parameters.
|
||
7 │ f `123qdawdrqw
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unterminated string
|
||
╭─[compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.ts:6:1]
|
||
6 │ // Incomplete call, not enough parameters, at EOF.
|
||
7 │ f `
|
||
· ─
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/taggedTemplatesWithIncompleteNoSubstitutionTemplate2.ts:6:1]
|
||
6 │ // Incomplete call, not enough parameters, at EOF.
|
||
7 │ f `
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/taggedTemplatesWithIncompleteTemplateExpressions1.ts:6:1]
|
||
6 │ // Incomplete call, not enough parameters.
|
||
7 │ f `123qdawdrqw${
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/taggedTemplatesWithIncompleteTemplateExpressions2.ts:6:1]
|
||
6 │ // Incomplete call, enough parameters.
|
||
7 │ f `123qdawdrqw${ }${
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `$}` but found `EOF`
|
||
╭─[compiler/taggedTemplatesWithIncompleteTemplateExpressions3.ts:6:1]
|
||
6 │ // Incomplete call, not enough parameters.
|
||
7 │ f `123qdawdrqw${ 1 }${
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/taggedTemplatesWithIncompleteTemplateExpressions4.ts:6:1]
|
||
6 │ // Incomplete call, but too many parameters.
|
||
7 │ f `123qdawdrqw${ 1 }${ }${
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `$}` but found `EOF`
|
||
╭─[compiler/taggedTemplatesWithIncompleteTemplateExpressions5.ts:6:1]
|
||
6 │ // Incomplete call, but too many parameters.
|
||
7 │ f `123qdawdrqw${ 1 }${ 2 }${
|
||
╰────
|
||
|
||
× Expected `$}` but found `EOF`
|
||
╭─[compiler/taggedTemplatesWithIncompleteTemplateExpressions6.ts:6:1]
|
||
6 │ // Incomplete call, not enough parameters, at EOF.
|
||
7 │ f `123qdawdrqw${ 1 }${
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:2:1]
|
||
2 │
|
||
3 │ `\u`;
|
||
· ──
|
||
4 │ `\u0`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:3:1]
|
||
3 │ `\u`;
|
||
4 │ `\u0`;
|
||
· ───
|
||
5 │ `\u00`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:4:1]
|
||
4 │ `\u0`;
|
||
5 │ `\u00`;
|
||
· ────
|
||
6 │ `\u000`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:5:1]
|
||
5 │ `\u00`;
|
||
6 │ `\u000`;
|
||
· ─────
|
||
7 │ `\u0000`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:7:1]
|
||
7 │ `\u0000`;
|
||
8 │ `\u{}`;
|
||
· ────
|
||
9 │ `\u{ffffff}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:8:1]
|
||
8 │ `\u{}`;
|
||
9 │ `\u{ffffff}`;
|
||
· ──────────
|
||
10 │ `\x`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:9:1]
|
||
9 │ `\u{ffffff}`;
|
||
10 │ `\x`;
|
||
· ──
|
||
11 │ `\x0`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:10:1]
|
||
10 │ `\x`;
|
||
11 │ `\x0`;
|
||
· ───
|
||
12 │ `\x00`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:12:1]
|
||
12 │ `\x00`;
|
||
13 │ `${0}\u`;
|
||
· ──
|
||
14 │ `${0}\u0`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:13:1]
|
||
13 │ `${0}\u`;
|
||
14 │ `${0}\u0`;
|
||
· ───
|
||
15 │ `${0}\u00`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:14:1]
|
||
14 │ `${0}\u0`;
|
||
15 │ `${0}\u00`;
|
||
· ────
|
||
16 │ `${0}\u000`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:15:1]
|
||
15 │ `${0}\u00`;
|
||
16 │ `${0}\u000`;
|
||
· ─────
|
||
17 │ `${0}\u0000`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:17:1]
|
||
17 │ `${0}\u0000`;
|
||
18 │ `${0}\u{}`;
|
||
· ────
|
||
19 │ `${0}\u{ffffff}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:18:1]
|
||
18 │ `${0}\u{}`;
|
||
19 │ `${0}\u{ffffff}`;
|
||
· ──────────
|
||
20 │ `${0}\x`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:19:1]
|
||
19 │ `${0}\u{ffffff}`;
|
||
20 │ `${0}\x`;
|
||
· ──
|
||
21 │ `${0}\x0`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:20:1]
|
||
20 │ `${0}\x`;
|
||
21 │ `${0}\x0`;
|
||
· ───
|
||
22 │ `${0}\x00`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:22:1]
|
||
22 │ `${0}\x00`;
|
||
23 │ `\u${0}`;
|
||
· ──
|
||
24 │ `\u0${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:23:1]
|
||
23 │ `\u${0}`;
|
||
24 │ `\u0${0}`;
|
||
· ───
|
||
25 │ `\u00${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:24:1]
|
||
24 │ `\u0${0}`;
|
||
25 │ `\u00${0}`;
|
||
· ────
|
||
26 │ `\u000${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:25:1]
|
||
25 │ `\u00${0}`;
|
||
26 │ `\u000${0}`;
|
||
· ─────
|
||
27 │ `\u0000${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:27:1]
|
||
27 │ `\u0000${0}`;
|
||
28 │ `\u{}${0}`;
|
||
· ────
|
||
29 │ `\u{ffffff}${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:28:1]
|
||
28 │ `\u{}${0}`;
|
||
29 │ `\u{ffffff}${0}`;
|
||
· ──────────
|
||
30 │ `\x${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:29:1]
|
||
29 │ `\u{ffffff}${0}`;
|
||
30 │ `\x${0}`;
|
||
· ──
|
||
31 │ `\x0${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:30:1]
|
||
30 │ `\x${0}`;
|
||
31 │ `\x0${0}`;
|
||
· ───
|
||
32 │ `\x00${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:32:1]
|
||
32 │ `\x00${0}`;
|
||
33 │ `${0}\u${0}`;
|
||
· ──
|
||
34 │ `${0}\u0${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:33:1]
|
||
33 │ `${0}\u${0}`;
|
||
34 │ `${0}\u0${0}`;
|
||
· ───
|
||
35 │ `${0}\u00${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:34:1]
|
||
34 │ `${0}\u0${0}`;
|
||
35 │ `${0}\u00${0}`;
|
||
· ────
|
||
36 │ `${0}\u000${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:35:1]
|
||
35 │ `${0}\u00${0}`;
|
||
36 │ `${0}\u000${0}`;
|
||
· ─────
|
||
37 │ `${0}\u0000${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:37:1]
|
||
37 │ `${0}\u0000${0}`;
|
||
38 │ `${0}\u{}${0}`;
|
||
· ────
|
||
39 │ `${0}\u{ffffff}${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:38:1]
|
||
38 │ `${0}\u{}${0}`;
|
||
39 │ `${0}\u{ffffff}${0}`;
|
||
· ──────────
|
||
40 │ `${0}\x${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:39:1]
|
||
39 │ `${0}\u{ffffff}${0}`;
|
||
40 │ `${0}\x${0}`;
|
||
· ──
|
||
41 │ `${0}\x0${0}`;
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[compiler/templateLiteralEscapeSequence.ts:40:1]
|
||
40 │ `${0}\x${0}`;
|
||
41 │ `${0}\x0${0}`;
|
||
· ───
|
||
42 │ `${0}\x00${0}`;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/throwWithoutNewLine1.ts:1:1]
|
||
1 │ throw
|
||
╰────
|
||
|
||
× Illegal newline after throw
|
||
╭─[compiler/throwWithoutNewLine2.ts:1:1]
|
||
1 │ throw
|
||
· ──┬──
|
||
· ╰── throw starts here
|
||
2 │ a;
|
||
· ┬
|
||
· ╰── A newline is not expected here
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:2:1]
|
||
2 │
|
||
3 │ ++eval;
|
||
· ────
|
||
4 │ --eval;
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:3:1]
|
||
3 │ ++eval;
|
||
4 │ --eval;
|
||
· ────
|
||
5 │ ++arguments;
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:4:1]
|
||
4 │ --eval;
|
||
5 │ ++arguments;
|
||
· ─────────
|
||
6 │ --arguments;
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:5:1]
|
||
5 │ ++arguments;
|
||
6 │ --arguments;
|
||
· ─────────
|
||
7 │ eval++;
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:6:1]
|
||
6 │ --arguments;
|
||
7 │ eval++;
|
||
· ────
|
||
8 │ eval--;
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:7:1]
|
||
7 │ eval++;
|
||
8 │ eval--;
|
||
· ────
|
||
9 │ arguments++;
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:8:1]
|
||
8 │ eval--;
|
||
9 │ arguments++;
|
||
· ─────────
|
||
10 │ arguments--;
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[compiler/unaryOperatorsInStrictMode.ts:9:1]
|
||
9 │ arguments++;
|
||
10 │ arguments--;
|
||
· ─────────
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[compiler/uncaughtCompilerError2.ts:1:1]
|
||
1 │ function getObj() {
|
||
2 │ ().toString();
|
||
· ──
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[compiler/unexpectedStatementBlockTerminator.ts:3:1]
|
||
3 │ class Bar {}
|
||
4 │ case
|
||
· ────
|
||
5 │
|
||
╰────
|
||
|
||
× Invalid Character `₁`
|
||
╭─[compiler/unicodeIdentifierName2.ts:1:1]
|
||
1 │ var a₁ = "hello"; alert(a₁)
|
||
· ─
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/unicodeIdentifierName2.ts:1:1]
|
||
1 │ var a₁ = "hello"; alert(a₁)
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/unparenthesizedConstructorTypeInUnionOrIntersection.ts:1:1]
|
||
1 │ type U1 = string | new () => void;
|
||
· ─
|
||
2 │ type U2 = string | new (foo: number) => void
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/unparenthesizedFunctionTypeInUnionOrIntersection.ts:1:1]
|
||
1 │ type U1 = string | () => void;
|
||
· ─
|
||
2 │ type U2 = string | (foo: number) => void
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[compiler/unterminatedRegexAtEndOfSource1.ts:1:1]
|
||
1 │ var a = /
|
||
· ─
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[compiler/unterminatedStringLiteralWithBackslash1.ts:1:1]
|
||
1 │ "\
|
||
· ──
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[compiler/unterminatedStringLiteralWithBackslash1.ts:1:1]
|
||
1 │ "\
|
||
· ──
|
||
╰────
|
||
|
||
× Expected `;` but found `)`
|
||
╭─[compiler/unusedLocalsAndParameters.ts:85:1]
|
||
85 │
|
||
86 │ for (let x: y) {
|
||
· ┬
|
||
· ╰── `;` expected
|
||
87 │ z(x);
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[compiler/validRegexp.ts:1:1]
|
||
1 │ var x = / [a - z /]$ / i;
|
||
· ─
|
||
2 │ var x1 = /[a-z/]$/i;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[compiler/varArgWithNoParamName.ts:1:1]
|
||
1 │ function t1(...) {}
|
||
· ─
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[compiler/variableDeclarationInStrictMode1.ts:2:1]
|
||
2 │ "use strict";
|
||
3 │ var eval;
|
||
· ────
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/withStatement.ts:2:1]
|
||
2 │
|
||
3 │ with (ooo.eee.oo.ah_ah.ting.tang.walla.walla) { // error
|
||
· ────
|
||
4 │ bing = true; // no error
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/withStatementErrors.ts:2:1]
|
||
2 │
|
||
3 │ with (ooo.eee.oo.ah_ah.ting.tang.walla.walla) { // error
|
||
· ────
|
||
4 │ bing = true; // no error
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[compiler/withStatementNestedScope.ts:1:1]
|
||
1 │ var x = 1;
|
||
2 │ with (x) {
|
||
· ────
|
||
3 │ function f(a: number) {
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[compiler/yieldStringLiteral.ts:1:1]
|
||
1 │ function yieldString() {
|
||
2 │ yield 'literal';
|
||
· ─────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es2017/asyncArrowFunction/asyncArrowFunction5_es2017.ts:3:1]
|
||
3 │
|
||
4 │ var foo = async (await): Promise<void> => {
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/async/es2017/asyncArrowFunction/asyncArrowFunction6_es2017.ts:3:1]
|
||
3 │
|
||
4 │ var foo = async (a = await): Promise<void> => {
|
||
· ▲
|
||
5 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es2017/asyncArrowFunction/asyncArrowFunction7_es2017.ts:5:1]
|
||
5 │ // 'await' here is an identifier, and not an await expression.
|
||
6 │ var foo = async (a = await): Promise<void> => {
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es2017/asyncArrowFunction/asyncArrowFunction8_es2017.ts:4:1]
|
||
4 │ var foo = async (): Promise<void> => {
|
||
5 │ var v = { [await]: foo }
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es2017/asyncArrowFunction/asyncArrowFunction9_es2017.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ var foo = async (a = await => await): Promise<void> => {
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/async/es2017/await_unaryExpression_es2017_3.ts:3:1]
|
||
3 │ async function bar1() {
|
||
4 │ ++await 42; // Error
|
||
· ────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration10_es2017.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ async function foo(a = await => await): Promise<void> {
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration12_es2017.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ var v = async function await(): Promise<void> { }
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration5_es2017.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ async function foo(await): Promise<void> {
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration6_es2017.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ async function foo(a = await): Promise<void> {
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration7_es2017.ts:4:1]
|
||
4 │ // 'await' here is an identifier, and not a yield expression.
|
||
5 │ async function foo(a = await): Promise<void> {
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es2017/functionDeclarations/asyncFunctionDeclaration9_es2017.ts:3:1]
|
||
3 │ async function foo(): Promise<void> {
|
||
4 │ var v = { [await]: foo }
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es5/asyncArrowFunction/asyncArrowFunction5_es5.ts:4:1]
|
||
4 │
|
||
5 │ var foo = async (await): Promise<void> => {
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/async/es5/asyncArrowFunction/asyncArrowFunction6_es5.ts:4:1]
|
||
4 │
|
||
5 │ var foo = async (a = await): Promise<void> => {
|
||
· ▲
|
||
6 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es5/asyncArrowFunction/asyncArrowFunction7_es5.ts:6:1]
|
||
6 │ // 'await' here is an identifier, and not an await expression.
|
||
7 │ var foo = async (a = await): Promise<void> => {
|
||
· ─
|
||
8 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es5/asyncArrowFunction/asyncArrowFunction8_es5.ts:5:1]
|
||
5 │ var foo = async (): Promise<void> => {
|
||
6 │ var v = { [await]: foo }
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es5/asyncArrowFunction/asyncArrowFunction9_es5.ts:3:1]
|
||
3 │ // @noEmitHelpers: true
|
||
4 │ var foo = async (a = await => await): Promise<void> => {
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Constructor can't be an async method
|
||
╭─[conformance/async/es5/asyncConstructor_es5.ts:4:1]
|
||
4 │ class C {
|
||
5 │ async constructor() {
|
||
· ───────────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `Identifier`
|
||
╭─[conformance/async/es5/asyncGetter_es5.ts:4:1]
|
||
4 │ class C {
|
||
5 │ async get foo() {
|
||
· ─┬─
|
||
· ╰── `(` expected
|
||
6 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `Identifier`
|
||
╭─[conformance/async/es5/asyncSetter_es5.ts:4:1]
|
||
4 │ class C {
|
||
5 │ async set foo(value) {
|
||
· ─┬─
|
||
· ╰── `(` expected
|
||
6 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es5/functionDeclarations/asyncFunctionDeclaration10_es5.ts:3:1]
|
||
3 │ // @noEmitHelpers: true
|
||
4 │ async function foo(a = await => await): Promise<void> {
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es5/functionDeclarations/asyncFunctionDeclaration12_es5.ts:3:1]
|
||
3 │ // @noEmitHelpers: true
|
||
4 │ var v = async function await(): Promise<void> { }
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es5/functionDeclarations/asyncFunctionDeclaration5_es5.ts:3:1]
|
||
3 │ // @noEmitHelpers: true
|
||
4 │ async function foo(await): Promise<void> {
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es5/functionDeclarations/asyncFunctionDeclaration6_es5.ts:3:1]
|
||
3 │ // @noEmitHelpers: true
|
||
4 │ async function foo(a = await): Promise<void> {
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es5/functionDeclarations/asyncFunctionDeclaration7_es5.ts:5:1]
|
||
5 │ // 'await' here is an identifier, and not a yield expression.
|
||
6 │ async function foo(a = await): Promise<void> {
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es5/functionDeclarations/asyncFunctionDeclaration9_es5.ts:4:1]
|
||
4 │ async function foo(): Promise<void> {
|
||
5 │ var v = { [await]: foo }
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/asyncArrowFunction/asyncArrowFunction5_es6.ts:3:1]
|
||
3 │
|
||
4 │ var foo = async (await): Promise<void> => {
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/async/es6/asyncArrowFunction/asyncArrowFunction6_es6.ts:3:1]
|
||
3 │
|
||
4 │ var foo = async (a = await): Promise<void> => {
|
||
· ▲
|
||
5 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es6/asyncArrowFunction/asyncArrowFunction7_es6.ts:5:1]
|
||
5 │ // 'await' here is an identifier, and not an await expression.
|
||
6 │ var foo = async (a = await): Promise<void> => {
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es6/asyncArrowFunction/asyncArrowFunction8_es6.ts:4:1]
|
||
4 │ var foo = async (): Promise<void> => {
|
||
5 │ var v = { [await]: foo }
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/asyncArrowFunction/asyncArrowFunction9_es6.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ var foo = async (a = await => await): Promise<void> => {
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Constructor can't be an async method
|
||
╭─[conformance/async/es6/asyncConstructor_es6.ts:3:1]
|
||
3 │ class C {
|
||
4 │ async constructor() {
|
||
· ───────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `Identifier`
|
||
╭─[conformance/async/es6/asyncGetter_es6.ts:3:1]
|
||
3 │ class C {
|
||
4 │ async get foo() {
|
||
· ─┬─
|
||
· ╰── `(` expected
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `Identifier`
|
||
╭─[conformance/async/es6/asyncSetter_es6.ts:3:1]
|
||
3 │ class C {
|
||
4 │ async set foo(value) {
|
||
· ─┬─
|
||
· ╰── `(` expected
|
||
5 │ }
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/async/es6/await_unaryExpression_es6_3.ts:3:1]
|
||
3 │ async function bar1() {
|
||
4 │ ++await 42; // Error
|
||
· ────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncFunctionDeclaration10_es6.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ async function foo(a = await => await): Promise<void> {
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncFunctionDeclaration12_es6.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ var v = async function await(): Promise<void> { }
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncFunctionDeclaration5_es6.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ async function foo(await): Promise<void> {
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es6/functionDeclarations/asyncFunctionDeclaration6_es6.ts:2:1]
|
||
2 │ // @noEmitHelpers: true
|
||
3 │ async function foo(a = await): Promise<void> {
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es6/functionDeclarations/asyncFunctionDeclaration7_es6.ts:4:1]
|
||
4 │ // 'await' here is an identifier, and not a yield expression.
|
||
5 │ async function foo(a = await): Promise<void> {
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/async/es6/functionDeclarations/asyncFunctionDeclaration9_es6.ts:3:1]
|
||
3 │ async function foo(): Promise<void> {
|
||
4 │ var v = { [await]: foo }
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncOrYieldAsBindingIdentifier1.ts:15:1]
|
||
15 │ async function f2_let () {
|
||
16 │ let await = 1
|
||
· ─────
|
||
17 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncOrYieldAsBindingIdentifier1.ts:19:1]
|
||
19 │ async function f2_var () {
|
||
20 │ var await = 1
|
||
· ─────
|
||
21 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncOrYieldAsBindingIdentifier1.ts:23:1]
|
||
23 │ async function f2_const () {
|
||
24 │ const await = 1
|
||
· ─────
|
||
25 │ }
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncOrYieldAsBindingIdentifier1.ts:39:1]
|
||
39 │ function * f4_let () {
|
||
40 │ let yield = 2;
|
||
· ─────
|
||
41 │ }
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncOrYieldAsBindingIdentifier1.ts:43:1]
|
||
43 │ function * f4_var () {
|
||
44 │ var yield = 2;
|
||
· ─────
|
||
45 │ }
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[conformance/async/es6/functionDeclarations/asyncOrYieldAsBindingIdentifier1.ts:47:1]
|
||
47 │ function * f4_const () {
|
||
48 │ const yield = 2;
|
||
· ─────
|
||
49 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/classDeclarations/classAbstractKeyword/classAbstractCrashedOnce.ts:7:1]
|
||
7 │ this.
|
||
8 │ }
|
||
· ─
|
||
9 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/classDeclarations/classAbstractKeyword/classAbstractManyKeywords.ts:2:1]
|
||
2 │ export abstract class B {}
|
||
3 │ default abstract class C {}
|
||
· ───────
|
||
4 │ import abstract class D {}
|
||
╰────
|
||
|
||
× Identifier `CC1` has already been declared
|
||
╭─[conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMergedDeclaration.ts:12:1]
|
||
12 │
|
||
13 │ abstract class CC1 {}
|
||
· ─┬─
|
||
· ╰── `CC1` has already been declared here
|
||
14 │ class CC1 {}
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
15 │
|
||
╰────
|
||
|
||
× Identifier `CC2` has already been declared
|
||
╭─[conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMergedDeclaration.ts:15:1]
|
||
15 │
|
||
16 │ class CC2 {}
|
||
· ─┬─
|
||
· ╰── `CC2` has already been declared here
|
||
17 │ abstract class CC2 {}
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
18 │
|
||
╰────
|
||
|
||
× Expected `(` but found `Identifier`
|
||
╭─[conformance/classes/classDeclarations/classAbstractKeyword/classAbstractMixedWithModifiers.ts:15:1]
|
||
15 │ abstract async foo_f();
|
||
16 │ async abstract foo_g();
|
||
· ──┬──
|
||
· ╰── `(` expected
|
||
17 │ }
|
||
╰────
|
||
|
||
× Identifier `C` has already been declared
|
||
╭─[conformance/classes/classDeclarations/classAndVariableWithSameName.ts:1:1]
|
||
1 │ class C { foo: string; } // error
|
||
· ┬
|
||
· ╰── `C` has already been declared here
|
||
2 │ var C = ''; // error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
3 │
|
||
╰────
|
||
|
||
× Identifier `D` has already been declared
|
||
╭─[conformance/classes/classDeclarations/classAndVariableWithSameName.ts:4:1]
|
||
4 │ module M {
|
||
5 │ class D { // error
|
||
· ┬
|
||
· ╰── `D` has already been declared here
|
||
6 │ bar: string;
|
||
7 │ }
|
||
8 │
|
||
9 │ var D = 1; // error
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
10 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/classes/classDeclarations/classBody/classBodyWithStatements.ts:1:1]
|
||
1 │ class C {
|
||
2 │ var x = 1;
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `{` but found `?.`
|
||
╭─[conformance/classes/classDeclarations/classHeritageSpecification/classExtendingOptionalChain.ts:8:1]
|
||
8 │ // error
|
||
9 │ class C2 implements A?.B {}
|
||
· ─┬
|
||
· ╰── `{` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts:6:1]
|
||
6 │ class C4 extends Void { }
|
||
7 │ class C4a extends void {}
|
||
· ────
|
||
8 │ class C5 extends Null { }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts:2:1]
|
||
2 │
|
||
3 │ class C4a extends void {}
|
||
· ────
|
||
4 │ class C5a extends null { }
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts:5:1]
|
||
5 │
|
||
6 │ class C2 extends { foo: string; } { } // error
|
||
· ┬
|
||
· ╰── `,` expected
|
||
7 │ var x: { foo: string; }
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType2.ts:1:1]
|
||
1 │ class C2 extends { foo: string; } { } // error
|
||
· ┬
|
||
· ╰── `,` expected
|
||
2 │
|
||
╰────
|
||
|
||
× Expected `{` but found `void`
|
||
╭─[conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts:2:1]
|
||
2 │
|
||
3 │ class void {}
|
||
· ──┬─
|
||
· ╰── `{` expected
|
||
╰────
|
||
|
||
× Private field 'y' must be declared in an enclosing class
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock16.ts:12:1]
|
||
12 │ getX = (obj: C) => obj.#x;
|
||
13 │ getY = (obj: D) => obj.#y;
|
||
· ──
|
||
14 │ }
|
||
╰────
|
||
|
||
× Private field 'x' must be declared in an enclosing class
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock16.ts:22:1]
|
||
22 │ // getY has privileged access to y
|
||
23 │ getX = (obj: C) => obj.#x;
|
||
· ──
|
||
24 │ getY = (obj: D) => obj.#y;
|
||
╰────
|
||
|
||
× Expected `(` but found `{`
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock20.ts:1:1]
|
||
1 │ class C {
|
||
2 │ async static {
|
||
· ┬
|
||
· ╰── `(` expected
|
||
3 │ // something
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock22.ts:5:1]
|
||
5 │ static {
|
||
6 │ let await: any; // illegal, cannot declare a new binding for await
|
||
· ─────
|
||
7 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock22.ts:14:1]
|
||
14 │ static {
|
||
15 │ let await; // illegal, cannot declare a new binding for await
|
||
· ─────
|
||
16 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock22.ts:17:1]
|
||
17 │ static {
|
||
18 │ function await() { }; // illegal
|
||
· ─────
|
||
19 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock22.ts:20:1]
|
||
20 │ static {
|
||
21 │ class await { }; // illegal
|
||
· ─────
|
||
22 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock22.ts:26:1]
|
||
26 │ await = 1; // legal
|
||
27 │ x = await; // legal (initializers have an implicit function boundary)
|
||
· ─
|
||
28 │ };
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock26.ts:4:1]
|
||
4 │ static {
|
||
5 │ await; // illegal
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock6.ts:6:1]
|
||
6 │ static {
|
||
7 │ let await = 1;
|
||
· ─────
|
||
8 │ let arguments = 1;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock6.ts:12:1]
|
||
12 │ static {
|
||
13 │ await: if (true) {
|
||
· ─
|
||
14 │
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock7.ts:3:1]
|
||
3 │ await 1;
|
||
4 │ yield 1;
|
||
· ─────
|
||
5 │ return 1;
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock7.ts:4:1]
|
||
4 │ yield 1;
|
||
5 │ return 1;
|
||
· ──────
|
||
6 │ }
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock7.ts:23:1]
|
||
23 │ static {
|
||
24 │ yield 1;
|
||
· ─────
|
||
25 │
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock7.ts:35:1]
|
||
35 │ static {
|
||
36 │ return 1;
|
||
· ──────
|
||
37 │
|
||
╰────
|
||
|
||
× Cannot use await in class static initialization block
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock7.ts:2:1]
|
||
2 │ static {
|
||
3 │ await 1;
|
||
· ─────
|
||
4 │ yield 1;
|
||
╰────
|
||
|
||
× Cannot use await in class static initialization block
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock7.ts:11:1]
|
||
11 │ static {
|
||
12 │ await 1;
|
||
· ─────
|
||
13 │
|
||
╰────
|
||
|
||
× Jump target cannot cross function boundary.
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock8.ts:5:1]
|
||
5 │ if (v === 1) {
|
||
6 │ break label;
|
||
· ─────
|
||
7 │ }
|
||
╰────
|
||
|
||
× Jump target cannot cross function boundary.
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock8.ts:8:1]
|
||
8 │ if (v === 2) {
|
||
9 │ continue label;
|
||
· ─────
|
||
10 │ }
|
||
╰────
|
||
|
||
× Illegal break statement
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock8.ts:11:1]
|
||
11 │ if (v === 3) {
|
||
12 │ break
|
||
· ─────
|
||
13 │ }
|
||
╰────
|
||
help: A `break` statement can only be used within an enclosing iteration or switch statement.
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[conformance/classes/classStaticBlock/classStaticBlock8.ts:14:1]
|
||
14 │ if (v === 4) {
|
||
15 │ continue
|
||
· ────────
|
||
16 │ }
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× Multiple constructor implementations are not allowed.
|
||
╭─[conformance/classes/constructorDeclarations/classWithTwoConstructorDefinitions.ts:1:1]
|
||
1 │ class C {
|
||
2 │ constructor() { } // error
|
||
· ─────┬─────
|
||
· ╰── constructor has already been declared here
|
||
3 │ constructor(x) { } // error
|
||
· ─────┬─────
|
||
· ╰── it cannot be redeclared here
|
||
4 │ }
|
||
╰────
|
||
|
||
× Multiple constructor implementations are not allowed.
|
||
╭─[conformance/classes/constructorDeclarations/classWithTwoConstructorDefinitions.ts:6:1]
|
||
6 │ class D<T> {
|
||
7 │ constructor(x: T) { } // error
|
||
· ─────┬─────
|
||
· ╰── constructor has already been declared here
|
||
8 │ constructor(x: T, y: T) { } // error
|
||
· ─────┬─────
|
||
· ╰── it cannot be redeclared here
|
||
9 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/classes/constructorDeclarations/superCalls/derivedClassSuperCallsInNonConstructorMembers.ts:7:1]
|
||
7 │ class Derived extends Base {
|
||
8 │ a: super();
|
||
· ▲
|
||
9 │ b() {
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× 'super' can only be referenced in a derived class.
|
||
╭─[conformance/classes/constructorDeclarations/superCalls/superCallInConstructorWithNoBaseType.ts:1:1]
|
||
1 │ ╭─▶ class C {
|
||
2 │ │ constructor() {
|
||
3 │ │╭▶ super(); // error
|
||
· ││ ─────
|
||
4 │ │ }
|
||
5 │ ├─▶ }
|
||
· ╰──── class does not have `extends`
|
||
6 │
|
||
╰────
|
||
help: either remove this super, or extend the class
|
||
|
||
× 'super' can only be referenced in a derived class.
|
||
╭─[conformance/classes/constructorDeclarations/superCalls/superCallInConstructorWithNoBaseType.ts:6:1]
|
||
6 │
|
||
7 │ ╭─▶ class D<T> {
|
||
8 │ │ public constructor(public x: T) {
|
||
9 │ │╭▶ super(); // error
|
||
· ││ ─────
|
||
10 │ │ }
|
||
11 │ ├─▶ }
|
||
· ╰──── class does not have `extends`
|
||
╰────
|
||
help: either remove this super, or extend the class
|
||
|
||
× Expected `,` but found `[`
|
||
╭─[conformance/classes/indexMemberDeclarations/privateIndexer2.ts:3:1]
|
||
3 │ var x = {
|
||
4 │ private [x: string]: string;
|
||
· ┬
|
||
· ╰── `,` expected
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/classes/members/accessibility/privateInstanceMemberAccessibility.ts:11:1]
|
||
11 │
|
||
12 │ a: this.foo; // error
|
||
· ▲
|
||
13 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/classes/members/instanceAndStaticMembers/typeOfThisInStaticMembers6.ts:5:1]
|
||
5 │ class D extends C {
|
||
6 │ static c = super();
|
||
· ───────
|
||
7 │ }
|
||
╰────
|
||
|
||
× Private identifier '#prop' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameAccessorsAccess.ts:15:1]
|
||
15 │ }
|
||
16 │ new A2().#prop; // Error
|
||
· ─────
|
||
17 │
|
||
╰────
|
||
|
||
× Private identifier '#prop' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameAccessorsAccess.ts:18:1]
|
||
18 │ function foo (){
|
||
19 │ new A2().#prop; // Error
|
||
· ─────
|
||
20 │ }
|
||
╰────
|
||
|
||
× Private field 'prop' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameAccessorsAccess.ts:23:1]
|
||
23 │ m() {
|
||
24 │ new A2().#prop;
|
||
· ─────
|
||
25 │ }
|
||
╰────
|
||
|
||
× Private field 'prop' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameAccessorssDerivedClasses.ts:10:1]
|
||
10 │ static method(x: Derived) {
|
||
11 │ console.log(x.#prop);
|
||
· ─────
|
||
12 │ }
|
||
╰────
|
||
|
||
× Private field 'bar' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameAndAny.ts:11:1]
|
||
11 │ thing.#baz;
|
||
12 │ thing.#bar; // Error
|
||
· ────
|
||
13 │ thing.#foo();
|
||
╰────
|
||
|
||
× Private field 'bar' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameAndAny.ts:18:1]
|
||
18 │ thing.#baz;
|
||
19 │ thing.#bar;
|
||
· ────
|
||
20 │ thing.#foo();
|
||
╰────
|
||
|
||
× Private field 'bar' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameAndAny.ts:25:1]
|
||
25 │ thing.#baz;
|
||
26 │ thing.#bar;
|
||
· ────
|
||
27 │ thing.#foo();
|
||
╰────
|
||
|
||
× Private field 'f' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameAndIndexSignature.ts:8:1]
|
||
8 │ constructor(message: string) {
|
||
9 │ this.#f = 3 // Error (index signatures do not implicitly declare private names)
|
||
· ──
|
||
10 │ this["#foo"] = 3; // Okay (type has index signature and "#foo" does not collide with private identifier #foo)
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameAndPropertySignature.ts:1:1]
|
||
1 │ type A = {
|
||
2 │ #foo: string;
|
||
· ────
|
||
3 │ #bar(): string;
|
||
╰────
|
||
|
||
× Private identifier '#nope' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameBadAssignment.ts:2:1]
|
||
2 │
|
||
3 │ exports.#nope = 1; // Error (outside class body)
|
||
· ─────
|
||
4 │ function A() { }
|
||
╰────
|
||
|
||
× Private identifier '#no' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameBadAssignment.ts:4:1]
|
||
4 │ function A() { }
|
||
5 │ A.prototype.#no = 2; // Error (outside class body)
|
||
· ───
|
||
6 │
|
||
╰────
|
||
|
||
× Private identifier '#foo' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameBadAssignment.ts:7:1]
|
||
7 │ class B {}
|
||
8 │ B.#foo = 3; // Error (outside class body)
|
||
· ────
|
||
9 │
|
||
╰────
|
||
|
||
× Private field 'foo' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameBadAssignment.ts:13:1]
|
||
13 │ exports.#bar = 6; // Error
|
||
14 │ this.#foo = 3; // Error (undeclared)
|
||
· ────
|
||
15 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameBadDeclaration.ts:2:1]
|
||
2 │ A.prototype = {
|
||
3 │ #x: 1, // Error
|
||
· ──
|
||
4 │ #m() {}, // Error
|
||
╰────
|
||
|
||
× Classes can't have an element named '#constructor'
|
||
╭─[conformance/classes/members/privateNames/privateNameConstructorReserved.ts:3:1]
|
||
3 │ class A {
|
||
4 │ #constructor() {} // Error: `#constructor` is a reserved word.
|
||
· ────────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:7:1]
|
||
7 │ class A_Field_Field {
|
||
8 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
9 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
10 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:13:1]
|
||
13 │ class A_Field_Method {
|
||
14 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
15 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
16 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:19:1]
|
||
19 │ class A_Field_Getter {
|
||
20 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
21 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
22 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:25:1]
|
||
25 │ class A_Field_Setter {
|
||
26 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
27 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
28 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:31:1]
|
||
31 │ class A_Field_StaticField {
|
||
32 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
33 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
34 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:37:1]
|
||
37 │ class A_Field_StaticMethod {
|
||
38 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
39 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
40 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:43:1]
|
||
43 │ class A_Field_StaticGetter {
|
||
44 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
45 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
46 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:49:1]
|
||
49 │ class A_Field_StaticSetter {
|
||
50 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
51 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
52 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:57:1]
|
||
57 │ class A_Method_Field {
|
||
58 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
59 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
60 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:63:1]
|
||
63 │ class A_Method_Method {
|
||
64 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
65 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
66 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:69:1]
|
||
69 │ class A_Method_Getter {
|
||
70 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
71 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
72 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:75:1]
|
||
75 │ class A_Method_Setter {
|
||
76 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
77 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
78 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:81:1]
|
||
81 │ class A_Method_StaticField {
|
||
82 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
83 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
84 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:87:1]
|
||
87 │ class A_Method_StaticMethod {
|
||
88 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
89 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
90 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:93:1]
|
||
93 │ class A_Method_StaticGetter {
|
||
94 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
95 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
96 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:99:1]
|
||
99 │ class A_Method_StaticSetter {
|
||
100 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
101 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
102 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:108:1]
|
||
108 │ class A_Getter_Field {
|
||
109 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
110 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
111 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:114:1]
|
||
114 │ class A_Getter_Method {
|
||
115 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
116 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
117 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:120:1]
|
||
120 │ class A_Getter_Getter {
|
||
121 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
122 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
123 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:132:1]
|
||
132 │ class A_Getter_StaticField {
|
||
133 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
134 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
135 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:138:1]
|
||
138 │ class A_Getter_StaticMethod {
|
||
139 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
140 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
141 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:144:1]
|
||
144 │ class A_Getter_StaticGetter {
|
||
145 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
146 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
147 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:150:1]
|
||
150 │ class A_Getter_StaticSetter {
|
||
151 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
152 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
153 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:158:1]
|
||
158 │ class A_Setter_Field {
|
||
159 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
160 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
161 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:164:1]
|
||
164 │ class A_Setter_Method {
|
||
165 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
166 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
167 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:176:1]
|
||
176 │ class A_Setter_Setter {
|
||
177 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
178 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
179 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:182:1]
|
||
182 │ class A_Setter_StaticField {
|
||
183 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
184 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
185 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:188:1]
|
||
188 │ class A_Setter_StaticMethod {
|
||
189 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
190 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
191 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:194:1]
|
||
194 │ class A_Setter_StaticGetter {
|
||
195 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
196 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
197 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:200:1]
|
||
200 │ class A_Setter_StaticSetter {
|
||
201 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
202 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
203 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:208:1]
|
||
208 │ class A_StaticField_Field {
|
||
209 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
210 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
211 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:214:1]
|
||
214 │ class A_StaticField_Method {
|
||
215 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
216 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
217 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:220:1]
|
||
220 │ class A_StaticField_Getter {
|
||
221 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
222 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
223 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:226:1]
|
||
226 │ class A_StaticField_Setter {
|
||
227 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
228 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
229 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:232:1]
|
||
232 │ class A_StaticField_StaticField {
|
||
233 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
234 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
235 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:238:1]
|
||
238 │ class A_StaticField_StaticMethod {
|
||
239 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
240 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
241 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:244:1]
|
||
244 │ class A_StaticField_StaticGetter {
|
||
245 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
246 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
247 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:250:1]
|
||
250 │ class A_StaticField_StaticSetter {
|
||
251 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
252 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
253 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:258:1]
|
||
258 │ class A_StaticMethod_Field {
|
||
259 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
260 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
261 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:264:1]
|
||
264 │ class A_StaticMethod_Method {
|
||
265 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
266 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
267 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:270:1]
|
||
270 │ class A_StaticMethod_Getter {
|
||
271 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
272 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
273 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:276:1]
|
||
276 │ class A_StaticMethod_Setter {
|
||
277 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
278 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
279 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:282:1]
|
||
282 │ class A_StaticMethod_StaticField {
|
||
283 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
284 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
285 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:288:1]
|
||
288 │ class A_StaticMethod_StaticMethod {
|
||
289 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
290 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
291 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:294:1]
|
||
294 │ class A_StaticMethod_StaticGetter {
|
||
295 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
296 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
297 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:300:1]
|
||
300 │ class A_StaticMethod_StaticSetter {
|
||
301 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
302 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
303 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:309:1]
|
||
309 │ class A_StaticGetter_Field {
|
||
310 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
311 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
312 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:315:1]
|
||
315 │ class A_StaticGetter_Method {
|
||
316 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
317 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
318 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:321:1]
|
||
321 │ class A_StaticGetter_Getter {
|
||
322 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
323 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
324 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:327:1]
|
||
327 │ class A_StaticGetter_Setter {
|
||
328 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
329 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
330 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:333:1]
|
||
333 │ class A_StaticGetter_StaticField {
|
||
334 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
335 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
336 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:339:1]
|
||
339 │ class A_StaticGetter_StaticMethod {
|
||
340 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
341 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
342 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:345:1]
|
||
345 │ class A_StaticGetter_StaticGetter {
|
||
346 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
347 │ static get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
348 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:358:1]
|
||
358 │ class A_StaticSetter_Field {
|
||
359 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
360 │ #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
361 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:364:1]
|
||
364 │ class A_StaticSetter_Method {
|
||
365 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
366 │ #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
367 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:371:1]
|
||
371 │ class A_StaticSetter_Getter {
|
||
372 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
373 │ get #foo() { return ""}
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
374 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:377:1]
|
||
377 │ class A_StaticSetter_Setter {
|
||
378 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
379 │ set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
380 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:383:1]
|
||
383 │ class A_StaticSetter_StaticField {
|
||
384 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
385 │ static #foo = "foo";
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
386 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:389:1]
|
||
389 │ class A_StaticSetter_StaticMethod {
|
||
390 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
391 │ static #foo() { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
392 │ }
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNameDuplicateField.ts:401:1]
|
||
401 │ class A_StaticSetter_StaticSetter {
|
||
402 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
403 │ static set #foo(value: string) { }
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
404 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameEnum.ts:2:1]
|
||
2 │ enum E {
|
||
3 │ #x
|
||
· ──
|
||
4 │ }
|
||
╰────
|
||
|
||
× Private field 'prop' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameFieldDerivedClasses.ts:10:1]
|
||
10 │ static method(x: Derived) {
|
||
11 │ console.log(x.#prop);
|
||
· ─────
|
||
12 │ }
|
||
╰────
|
||
|
||
× Invalid Character `
|
||
`
|
||
╭─[conformance/classes/members/privateNames/privateNameHashCharName.ts:2:1]
|
||
2 │
|
||
3 │ #
|
||
· ─
|
||
4 │
|
||
5 │ class C {
|
||
╰────
|
||
|
||
× Private field 'x' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameImplicitDeclaration.ts:8:1]
|
||
8 │ /** @type {string} */
|
||
9 │ this.#x;
|
||
· ──
|
||
10 │ }
|
||
╰────
|
||
|
||
× Expected `in` but found `)`
|
||
╭─[conformance/classes/members/privateNames/privateNameInInExpression.ts:28:1]
|
||
28 │
|
||
29 │ const c = (#field) in v; // Bad - privateID is not an expression on its own
|
||
· ┬
|
||
· ╰── `in` expected
|
||
30 │
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/classes/members/privateNames/privateNameInInExpressionTransform.ts:30:1]
|
||
30 │ invalidLHS(v: any) {
|
||
31 │ 'prop' in v = 10;
|
||
· ───────────
|
||
32 │ #field in v = 10;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameInObjectLiteral-1.ts:1:1]
|
||
1 │ const obj = {
|
||
2 │ #foo: 1
|
||
· ────
|
||
3 │ };
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameInObjectLiteral-2.ts:1:1]
|
||
1 │ const obj = {
|
||
2 │ #foo() {
|
||
· ────
|
||
3 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameInObjectLiteral-3.ts:1:1]
|
||
1 │ const obj = {
|
||
2 │ get #foo() {
|
||
· ────
|
||
3 │ return ""
|
||
╰────
|
||
|
||
× Private identifier '#nope' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameJsBadAssignment.ts:6:1]
|
||
6 │
|
||
7 │ exports.#nope = 1; // Error (outside class body)
|
||
· ─────
|
||
8 │ function A() { }
|
||
╰────
|
||
|
||
× Private identifier '#no' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameJsBadAssignment.ts:8:1]
|
||
8 │ function A() { }
|
||
9 │ A.prototype.#no = 2; // Error (outside class body)
|
||
· ───
|
||
10 │
|
||
╰────
|
||
|
||
× Private identifier '#foo' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameJsBadAssignment.ts:11:1]
|
||
11 │ class B {}
|
||
12 │ B.#foo = 3; // Error (outside class body)
|
||
· ────
|
||
13 │
|
||
╰────
|
||
|
||
× Private field 'foo' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameJsBadAssignment.ts:16:1]
|
||
16 │ constructor () {
|
||
17 │ this.#foo = 3; // Error (undeclared)
|
||
· ────
|
||
18 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameJsBadDeclaration.ts:7:1]
|
||
7 │ A.prototype = {
|
||
8 │ #x: 1, // Error
|
||
· ──
|
||
9 │ #m() {}, // Error
|
||
╰────
|
||
|
||
× Private identifier '#method' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameMethodAccess.ts:13:1]
|
||
13 │ }
|
||
14 │ new A2().#method(); // Error
|
||
· ───────
|
||
15 │
|
||
╰────
|
||
|
||
× Private identifier '#method' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameMethodAccess.ts:16:1]
|
||
16 │ function foo (){
|
||
17 │ new A2().#method(); // Error
|
||
· ───────
|
||
18 │ }
|
||
╰────
|
||
|
||
× Private field 'method' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameMethodAccess.ts:21:1]
|
||
21 │ m() {
|
||
22 │ new A2().#method();
|
||
· ───────
|
||
23 │ }
|
||
╰────
|
||
|
||
× Private identifier '#method' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameMethodClassExpression.ts:10:1]
|
||
10 │ console.log(C.getInstance().getField());
|
||
11 │ C.getInstance().#method; // Error
|
||
· ───────
|
||
12 │ C.getInstance().#field; // Error
|
||
╰────
|
||
|
||
× Private identifier '#field' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameMethodClassExpression.ts:11:1]
|
||
11 │ C.getInstance().#method; // Error
|
||
12 │ C.getInstance().#field; // Error
|
||
· ──────
|
||
13 │
|
||
╰────
|
||
|
||
× Private field 'prop' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameMethodsDerivedClasses.ts:10:1]
|
||
10 │ static method(x: Derived) {
|
||
11 │ console.log(x.#prop());
|
||
· ─────
|
||
12 │ }
|
||
╰────
|
||
|
||
× Private field 'unknown' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameNestedMethodAccess.ts:20:1]
|
||
20 │ x.#bar;
|
||
21 │ x.#unknown; // Error
|
||
· ────────
|
||
22 │ }
|
||
╰────
|
||
|
||
× Private identifier '#foo' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameNotAccessibleOutsideDefiningClass.ts:7:1]
|
||
7 │
|
||
8 │ new A().#foo = 4; // Error
|
||
· ────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNameNotAllowedOutsideClass.ts:3:1]
|
||
3 │
|
||
4 │ const #foo = 3;
|
||
· ────
|
||
╰────
|
||
|
||
× Private identifier '#prop' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticAccessorsAccess.ts:16:1]
|
||
16 │
|
||
17 │ A2.#prop; // Error
|
||
· ─────
|
||
18 │
|
||
╰────
|
||
|
||
× Private identifier '#prop' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticAccessorsAccess.ts:19:1]
|
||
19 │ function foo (){
|
||
20 │ A2.#prop; // Error
|
||
· ─────
|
||
21 │ }
|
||
╰────
|
||
|
||
× Private field 'prop' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticAccessorsAccess.ts:24:1]
|
||
24 │ m() {
|
||
25 │ A2.#prop;
|
||
· ─────
|
||
26 │ }
|
||
╰────
|
||
|
||
× Private field 'prop' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticAccessorssDerivedClasses.ts:10:1]
|
||
10 │ static method(x: typeof Derived) {
|
||
11 │ console.log(x.#prop);
|
||
· ─────
|
||
12 │ }
|
||
╰────
|
||
|
||
× Private field 'derivedProp' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticFieldDerivedClasses.ts:5:1]
|
||
5 │ static method(x: Derived) {
|
||
6 │ Derived.#derivedProp // error
|
||
· ────────────
|
||
7 │ Base.#prop = 10;
|
||
╰────
|
||
|
||
× Private field 'prop' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticFieldDerivedClasses.ts:13:1]
|
||
13 │ Derived.#derivedProp
|
||
14 │ Base.#prop = 10; // error
|
||
· ─────
|
||
15 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `*`
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticMethodAsync.ts:12:1]
|
||
12 │ }
|
||
13 │ async static *#bazBad() { yield 42; }
|
||
· ┬
|
||
· ╰── `(` expected
|
||
14 │ }
|
||
╰────
|
||
|
||
× Private identifier '#method' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticMethodClassExpression.ts:10:1]
|
||
10 │ console.log(C.getClass().getField());
|
||
11 │ C.getClass().#method; // Error
|
||
· ───────
|
||
12 │ C.getClass().#field; // Error
|
||
╰────
|
||
|
||
× Private identifier '#field' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNameStaticMethodClassExpression.ts:11:1]
|
||
11 │ C.getClass().#method; // Error
|
||
12 │ C.getClass().#field; // Error
|
||
· ──────
|
||
13 │
|
||
╰────
|
||
|
||
× Private field 'foo' must be declared in an enclosing class
|
||
╭─[conformance/classes/members/privateNames/privateNameUncheckedJsOptionalChain.ts:9:1]
|
||
9 │ constructor () {
|
||
10 │ this?.#foo;
|
||
· ────
|
||
11 │ this?.#bar;
|
||
╰────
|
||
|
||
× Private identifier '#foo' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNamesAndGenericClasses-2.ts:26:1]
|
||
26 │ const x: number = a.baz // OK
|
||
27 │ a.#foo; // Error
|
||
· ────
|
||
28 │ a = b; // Error
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNamesAndIndexedAccess.ts:10:1]
|
||
10 │ // not supported yet, could support in future:
|
||
11 │ const badForNow: C[#bar] = 3; // Error
|
||
· ────
|
||
12 │ // will never use this syntax, already taken:
|
||
╰────
|
||
|
||
× Private identifier '#foo' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNamesInGenericClasses.ts:25:1]
|
||
25 │ declare let b: C<string>;
|
||
26 │ a.#foo; // Error
|
||
· ────
|
||
27 │ a.#method; // Error
|
||
╰────
|
||
|
||
× Private identifier '#method' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNamesInGenericClasses.ts:26:1]
|
||
26 │ a.#foo; // Error
|
||
27 │ a.#method; // Error
|
||
· ───────
|
||
28 │ a.#prop; // Error
|
||
╰────
|
||
|
||
× Private identifier '#prop' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNamesInGenericClasses.ts:27:1]
|
||
27 │ a.#method; // Error
|
||
28 │ a.#prop; // Error
|
||
· ─────
|
||
29 │ a = b; // Error
|
||
╰────
|
||
|
||
× Expected `(` but found `#identifier`
|
||
╭─[conformance/classes/members/privateNames/privateNamesIncompatibleModifiers.ts:29:1]
|
||
29 │ declare set #whatProp(value: number) // Error
|
||
30 │ async get #asyncProp() { return 1; } // Error
|
||
· ─────┬────
|
||
· ╰── `(` expected
|
||
31 │ async set #asyncProp(value: number) { } // Error
|
||
╰────
|
||
|
||
× Private identifier '#prop' is not allowed outside class bodies
|
||
╭─[conformance/classes/members/privateNames/privateNamesInterfaceExtendingClass.ts:11:1]
|
||
11 │ function func(x: I) {
|
||
12 │ x.#prop = 123;
|
||
· ─────
|
||
13 │ }
|
||
╰────
|
||
|
||
× Private fields can not be deleted
|
||
╭─[conformance/classes/members/privateNames/privateNamesNoDelete.ts:6:1]
|
||
6 │ constructor() {
|
||
7 │ delete this.#v; // Error: The operand of a delete operator cannot be a private name.
|
||
· ───────
|
||
8 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNamesNotAllowedAsParameters.ts:3:1]
|
||
3 │ class A {
|
||
4 │ setFoo(#foo: string) {}
|
||
· ────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/members/privateNames/privateNamesNotAllowedInVariableDeclarations.ts:3:1]
|
||
3 │
|
||
4 │ const #foo = 3;
|
||
· ────
|
||
╰────
|
||
|
||
× Identifier `foo` has already been declared
|
||
╭─[conformance/classes/members/privateNames/privateNamesUnique-3.ts:3:1]
|
||
3 │ class A {
|
||
4 │ #foo = 1;
|
||
· ──┬─
|
||
· ╰── `foo` has already been declared here
|
||
5 │ static #foo = true; // error (duplicate)
|
||
· ──┬─
|
||
· ╰── It can not be redeclared here
|
||
6 │ // because static and instance private names
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/classes/nestedClassDeclaration.ts:4:1]
|
||
4 │ x: string;
|
||
5 │ class C2 {
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/propertyMemberDeclarations/autoAccessorDisallowedModifiers.ts:12:1]
|
||
12 │ accessor static h: any;
|
||
13 │ accessor i() {}
|
||
· ─
|
||
14 │ accessor get j() { return false; }
|
||
╰────
|
||
|
||
× Classes can't have a field named 'constructor'
|
||
╭─[conformance/classes/propertyMemberDeclarations/propertyNamedConstructor.ts:1:1]
|
||
1 │ class X1 {
|
||
2 │ "constructor" = 3; // Error
|
||
· ─────────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[conformance/classes/propertyMemberDeclarations/propertyNamedPrototype.ts:2:1]
|
||
2 │ prototype: number; // ok
|
||
3 │ static prototype: C; // error
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:25:1]
|
||
25 │ class StaticPrototype {
|
||
26 │ static prototype: number; // error
|
||
· ─────────
|
||
27 │ prototype: string; // ok
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:30:1]
|
||
30 │ class StaticPrototypeFn {
|
||
31 │ static prototype() {} // error
|
||
· ─────────
|
||
32 │ prototype() {} // ok
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:84:1]
|
||
84 │ var StaticPrototype_Anonymous = class {
|
||
85 │ static prototype: number; // error
|
||
· ─────────
|
||
86 │ prototype: string; // ok
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:89:1]
|
||
89 │ var StaticPrototypeFn_Anonymous = class {
|
||
90 │ static prototype() {} // error
|
||
· ─────────
|
||
91 │ prototype() {} // ok
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:151:1]
|
||
151 │ export default class StaticPrototype {
|
||
152 │ static prototype: number; // error
|
||
· ─────────
|
||
153 │ prototype: string; // ok
|
||
╰────
|
||
|
||
× Classes may not have a static property named prototype
|
||
╭─[conformance/classes/propertyMemberDeclarations/staticPropertyNameConflicts.ts:158:1]
|
||
158 │ export default class StaticPrototypeFn {
|
||
159 │ static prototype() {} // error
|
||
· ─────────
|
||
160 │ prototype() {} // ok
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/staticIndexSignature/staticIndexSignature4.ts:13:1]
|
||
13 │ interface IB {
|
||
14 │ static [s: string]: number;
|
||
· ──────
|
||
15 │ static [s: number]: 42 | 233;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/classes/staticIndexSignature/staticIndexSignature5.ts:8:1]
|
||
8 │ interface I {
|
||
9 │ static readonly [s: string]: number;
|
||
· ──────
|
||
10 │ static readonly [s: number]: 42 | 233
|
||
╰────
|
||
|
||
× Expected `,` but found `is`
|
||
╭─[conformance/controlFlow/assertionTypePredicates1.ts:166:1]
|
||
166 │ get p1(): this is string;
|
||
167 │ set p1(x: this is string);
|
||
· ─┬
|
||
· ╰── `,` expected
|
||
168 │ get p2(): asserts this is string;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/controlFlow/definiteAssignmentAssertions.ts:71:1]
|
||
71 │ function f4() {
|
||
72 │ let a!;
|
||
· ─
|
||
73 │ let b! = 1;
|
||
╰────
|
||
|
||
× Expected `,` but found `!`
|
||
╭─[conformance/controlFlow/definiteAssignmentAssertionsWithObjectShortHand.ts:4:1]
|
||
4 │ const a: string | undefined = 'ff';
|
||
5 │ const foo = { a! }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
6 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/decorators/class/accessor/decoratorOnClassAccessor3.ts:5:1]
|
||
5 │ class C {
|
||
6 │ public @dec get accessor() { return 1; }
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/decorators/class/accessor/decoratorOnClassAccessor6.ts:5:1]
|
||
5 │ class C {
|
||
6 │ public @dec set accessor(value: number) { }
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `,` but found `@`
|
||
╭─[conformance/decorators/class/constructor/parameter/decoratorOnClassConstructorParameter4.ts:5:1]
|
||
5 │ class C {
|
||
6 │ constructor(public @dec p: number) {}
|
||
· ┬
|
||
· ╰── `,` expected
|
||
7 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/decorators/class/method/decoratorOnClassMethod11.ts:6:1]
|
||
6 │
|
||
7 │ @this.decorator
|
||
· ────
|
||
8 │ method() { }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/decorators/class/method/decoratorOnClassMethod12.ts:7:1]
|
||
7 │ class C extends S {
|
||
8 │ @super.decorator
|
||
· ─────
|
||
9 │ method() { }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/decorators/class/method/decoratorOnClassMethod17.ts:6:1]
|
||
6 │ class Foo {
|
||
7 │ private prop @decorator
|
||
· ─
|
||
8 │ foo() {
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/decorators/class/method/decoratorOnClassMethod3.ts:5:1]
|
||
5 │ class C {
|
||
6 │ public @dec method() {}
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× await expression not allowed in formal parameter
|
||
╭─[conformance/decorators/class/method/parameter/decoratorOnClassMethodParameter3.ts:7:1]
|
||
7 │ class Class {
|
||
8 │ async method(@dec(await value) arg: number) {}
|
||
· ─────┬─────
|
||
· ╰── await expression not allowed in formal parameter
|
||
9 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/decorators/class/property/decoratorOnClassProperty3.ts:5:1]
|
||
5 │ class C {
|
||
6 │ public @dec prop;
|
||
· ─
|
||
7 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/decorators/decoratorMetadata-jsdoc.ts:8:1]
|
||
8 │ @decorator()
|
||
9 │ a?: string?;
|
||
· ▲
|
||
10 │ @decorator()
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/decorators/invalid/decoratorOnArrowFunction.ts:2:1]
|
||
2 │
|
||
3 │ var F = @dec () => {
|
||
· ──
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/decorators/invalid/decoratorOnEnum2.ts:3:1]
|
||
3 │ enum E {
|
||
4 │ @dec A
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/dynamicImport/importCallExpressionGrammarError.ts:8:1]
|
||
8 │ var a = ["./0"];
|
||
9 │ import(...["PathModule"]);
|
||
· ───
|
||
10 │
|
||
╰────
|
||
|
||
× `await` is only allowed within async functions and at the top levels of modules
|
||
╭─[conformance/enums/awaitAndYield.ts:4:1]
|
||
4 │ enum E {
|
||
5 │ foo = await x,
|
||
· ─────
|
||
6 │ baz = yield 1,
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[conformance/enums/enumErrors.ts:47:1]
|
||
47 │
|
||
48 │ postSemicolon;
|
||
· ┬
|
||
· ╰── `,` expected
|
||
49 │ postColonValueComma: 2,
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es2018/invalidTaggedTemplateEscapeSequences.ts:9:1]
|
||
9 │ const x = tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`;
|
||
10 │ const y = `\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; // should error with NoSubstitutionTemplate
|
||
· ──────────
|
||
11 │ const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es2018/invalidTaggedTemplateEscapeSequences.ts:9:1]
|
||
9 │ const x = tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`;
|
||
10 │ const y = `\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; // should error with NoSubstitutionTemplate
|
||
· ───────────────
|
||
11 │ const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es2018/invalidTaggedTemplateEscapeSequences.ts:9:1]
|
||
9 │ const x = tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`;
|
||
10 │ const y = `\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; // should error with NoSubstitutionTemplate
|
||
· ────────
|
||
11 │ const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:1:1]
|
||
1 │ var f1 = ()
|
||
2 │ => { }
|
||
· ──
|
||
3 │ var f2 = (x: string, y: string) /*
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:3:1]
|
||
3 │ var f2 = (x: string, y: string) /*
|
||
4 │ */ => { }
|
||
· ──
|
||
5 │ var f3 = (x: string, y: number, ...rest)
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:5:1]
|
||
5 │ var f3 = (x: string, y: number, ...rest)
|
||
6 │ => { }
|
||
· ──
|
||
7 │ var f4 = (x: string, y: number, ...rest) /*
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:7:1]
|
||
7 │ var f4 = (x: string, y: number, ...rest) /*
|
||
8 │ */ => { }
|
||
· ──
|
||
9 │ var f5 = (...rest)
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:9:1]
|
||
9 │ var f5 = (...rest)
|
||
10 │ => { }
|
||
· ──
|
||
11 │ var f6 = (...rest) /*
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:11:1]
|
||
11 │ var f6 = (...rest) /*
|
||
12 │ */ => { }
|
||
· ──
|
||
13 │ var f7 = (x: string, y: number, z = 10)
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:13:1]
|
||
13 │ var f7 = (x: string, y: number, z = 10)
|
||
14 │ => { }
|
||
· ──
|
||
15 │ var f8 = (x: string, y: number, z = 10) /*
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:15:1]
|
||
15 │ var f8 = (x: string, y: number, z = 10) /*
|
||
16 │ */ => { }
|
||
· ──
|
||
17 │ var f9 = (a: number): number
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:17:1]
|
||
17 │ var f9 = (a: number): number
|
||
18 │ => a;
|
||
· ──
|
||
19 │ var f10 = (a: number) :
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:20:1]
|
||
20 │ number
|
||
21 │ => a
|
||
· ──
|
||
22 │ var f11 = (a: number): number /*
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:22:1]
|
||
22 │ var f11 = (a: number): number /*
|
||
23 │ */ => a;
|
||
· ──
|
||
24 │ var f12 = (a: number) :
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:25:1]
|
||
25 │ number /*
|
||
26 │ */ => a
|
||
· ──
|
||
27 │
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:51:1]
|
||
51 │ foo(()
|
||
52 │ => true);
|
||
· ──
|
||
53 │ foo(()
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:53:1]
|
||
53 │ foo(()
|
||
54 │ => { return false; });
|
||
· ──
|
||
55 │
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:58:1]
|
||
58 │ constructor(x: number, thing = ()
|
||
59 │ => 100) {
|
||
· ──
|
||
60 │ }
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:62:1]
|
||
62 │ public m = ()
|
||
63 │ => 2 * 2 * 2
|
||
· ──
|
||
64 │ }
|
||
╰────
|
||
|
||
× Line terminator not permitted before arrow
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:67:1]
|
||
67 │ claw = (()
|
||
68 │ => 10)()
|
||
· ──
|
||
69 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/arrowFunction/disallowLineTerminatorBeforeArrow.ts:71:1]
|
||
71 │ export var v = x
|
||
72 │ => new City(Enum.claw);
|
||
· ──
|
||
73 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments12.ts:3:1]
|
||
3 │ class C {
|
||
4 │ f(arguments) {
|
||
· ─────────
|
||
5 │ var a = () => arguments;
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments12_ES6.ts:3:1]
|
||
3 │ class C {
|
||
4 │ f(arguments) {
|
||
· ─────────
|
||
5 │ var a = () => arguments;
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[conformance/es6/binaryAndOctalIntegerLiteral/binaryIntegerLiteralError.ts:1:1]
|
||
1 │ // error
|
||
2 │ var bin1 = 0B1102110;
|
||
· ─
|
||
3 │ var bin1 = 0b11023410;
|
||
╰────
|
||
|
||
× Invalid Character `2`
|
||
╭─[conformance/es6/binaryAndOctalIntegerLiteral/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.ts:1:1]
|
||
1 │ // Error
|
||
2 │ var binary = 0b21010;
|
||
· ▲
|
||
3 │ var binary1 = 0B21010;
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[conformance/es6/binaryAndOctalIntegerLiteral/octalIntegerLiteralError.ts:1:1]
|
||
1 │ // error
|
||
2 │ var oct1 = 0O13334823;
|
||
· ─
|
||
3 │ var oct2 = 0o34318592;
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[conformance/es6/classDeclaration/parseClassDeclarationInStrictModeByDefaultInES6.ts:4:1]
|
||
4 │ public implements() { }
|
||
5 │ public foo(arguments: any) { }
|
||
· ─────────
|
||
6 │ private bar(eval:any) {
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/es6/classDeclaration/parseClassDeclarationInStrictModeByDefaultInES6.ts:5:1]
|
||
5 │ public foo(arguments: any) { }
|
||
6 │ private bar(eval:any) {
|
||
· ────
|
||
7 │ arguments = "hello";
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[conformance/es6/classDeclaration/parseClassDeclarationInStrictModeByDefaultInES6.ts:6:1]
|
||
6 │ private bar(eval:any) {
|
||
7 │ arguments = "hello";
|
||
· ─────────
|
||
8 │ }
|
||
╰────
|
||
|
||
× 'super' can only be referenced in a derived class.
|
||
╭─[conformance/es6/classDeclaration/superCallFromClassThatHasNoBaseTypeButWithSameSymbolInterface.ts:2:1]
|
||
2 │
|
||
3 │ ╭─▶ class Foo {
|
||
4 │ │ constructor() {
|
||
5 │ │╭▶ super(); // error
|
||
· ││ ─────
|
||
6 │ │ }
|
||
7 │ ├─▶ }
|
||
· ╰──── class does not have `extends`
|
||
╰────
|
||
help: either remove this super, or extend the class
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames27_ES5.ts:4:1]
|
||
4 │ class C extends Base {
|
||
5 │ [(super(), "prop")]() { }
|
||
· ───────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames27_ES6.ts:4:1]
|
||
4 │ class C extends Base {
|
||
5 │ [(super(), "prop")]() { }
|
||
· ───────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Delete of an unqualified identifier in strict mode.
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames3_ES5.ts:5:1]
|
||
5 │ static [() => { }]() { }
|
||
6 │ get [delete id]() { }
|
||
· ──
|
||
7 │ set [[0, 1]](v) { }
|
||
╰────
|
||
|
||
× Delete of an unqualified identifier in strict mode.
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames3_ES6.ts:5:1]
|
||
5 │ static [() => { }]() { }
|
||
6 │ get [delete id]() { }
|
||
· ──
|
||
7 │ set [[0, 1]](v) { }
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames49_ES5.ts:9:1]
|
||
9 │ },
|
||
10 │ set [1 + 1]() {
|
||
· ──
|
||
11 │ // just throw
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames49_ES6.ts:10:1]
|
||
10 │ },
|
||
11 │ set [1 + 1]() {
|
||
· ──
|
||
12 │ // just throw
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames50_ES5.ts:11:1]
|
||
11 │ },
|
||
12 │ set [1 + 1]() {
|
||
· ──
|
||
13 │ // just throw
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/es6/computedProperties/computedPropertyNames50_ES6.ts:12:1]
|
||
12 │ },
|
||
13 │ set [1 + 1]() {
|
||
· ──
|
||
14 │ // just throw
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/declarationWithNoInitializer.ts:1:1]
|
||
1 │ var [a, b]; // Error, no initializer
|
||
· ──────
|
||
2 │ var {c, d}; // Error, no initializer
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/declarationWithNoInitializer.ts:1:1]
|
||
1 │ var [a, b]; // Error, no initializer
|
||
2 │ var {c, d}; // Error, no initializer
|
||
· ──────
|
||
╰────
|
||
|
||
× Expected `,` but found `?`
|
||
╭─[conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment3.ts:1:1]
|
||
1 │ // Error
|
||
2 │ var {h?} = { h?: 1 };
|
||
· ┬
|
||
· ╰── `,` expected
|
||
3 │ var {i}: string | number = { i: 2 };
|
||
╰────
|
||
|
||
× Identifier `number` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringParameterDeclaration1ES6.ts:96:1]
|
||
96 │
|
||
97 │ function e6({x: [number, number, number]}) { } // error, duplicate identifier;
|
||
· ───┬── ───┬──
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `number` has already been declared here
|
||
98 │
|
||
╰────
|
||
|
||
× Identifier `number` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringParameterDeclaration1ES6.ts:96:1]
|
||
96 │
|
||
97 │ function e6({x: [number, number, number]}) { } // error, duplicate identifier;
|
||
· ───┬── ───┬──
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `number` has already been declared here
|
||
98 │
|
||
╰────
|
||
|
||
× Expected `,` but found `)`
|
||
╭─[conformance/es6/destructuring/destructuringParameterDeclaration2.ts:6:1]
|
||
6 │ function a0([a, b, [[c]]]: [number, number, string[][]]) { }
|
||
7 │ a0([1, "string", [["world"]]); // Error
|
||
· ┬
|
||
· ╰── `,` expected
|
||
8 │ a0([1, 2, [["world"]], "string"]); // Error
|
||
╰────
|
||
|
||
× A rest parameter cannot have an initializer
|
||
╭─[conformance/es6/destructuring/destructuringParameterDeclaration4.ts:14:1]
|
||
14 │ function a3(...b?) { } // Error, can't be optional
|
||
15 │ function a4(...b = [1,2,3]) { } // Error, can't have initializer
|
||
· ──────────────
|
||
16 │ function a5([a, b, [[c]]]) { }
|
||
╰────
|
||
|
||
× Expected `:` but found `}`
|
||
╭─[conformance/es6/destructuring/destructuringParameterDeclaration6.ts:6:1]
|
||
6 │ // Error
|
||
7 │ function a({while}) { }
|
||
· ┬
|
||
· ╰── `:` expected
|
||
8 │ function a1({public}) { }
|
||
╰────
|
||
|
||
× Identifier `foo1` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:20:1]
|
||
20 │
|
||
21 │ let { foo1, foo1 } = { foo1: 10 };
|
||
· ──┬─ ──┬─
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `foo1` has already been declared here
|
||
22 │ let { foo2, bar2: foo2 } = { foo2: 20, bar2: 220 };
|
||
╰────
|
||
|
||
× Identifier `foo2` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:21:1]
|
||
21 │ let { foo1, foo1 } = { foo1: 10 };
|
||
22 │ let { foo2, bar2: foo2 } = { foo2: 20, bar2: 220 };
|
||
· ──┬─ ──┬─
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `foo2` has already been declared here
|
||
23 │ let { bar3: foo3, foo3 } = { foo3: 30, bar3: 330 };
|
||
╰────
|
||
|
||
× Identifier `foo3` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:22:1]
|
||
22 │ let { foo2, bar2: foo2 } = { foo2: 20, bar2: 220 };
|
||
23 │ let { bar3: foo3, foo3 } = { foo3: 30, bar3: 330 };
|
||
· ──┬─ ──┬─
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `foo3` has already been declared here
|
||
24 │ const { foo4, foo4 } = { foo4: 40 };
|
||
╰────
|
||
|
||
× Identifier `foo4` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:23:1]
|
||
23 │ let { bar3: foo3, foo3 } = { foo3: 30, bar3: 330 };
|
||
24 │ const { foo4, foo4 } = { foo4: 40 };
|
||
· ──┬─ ──┬─
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `foo4` has already been declared here
|
||
25 │ const { foo5, bar5: foo5 } = { foo5: 50, bar5: 550 };
|
||
╰────
|
||
|
||
× Identifier `foo5` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:24:1]
|
||
24 │ const { foo4, foo4 } = { foo4: 40 };
|
||
25 │ const { foo5, bar5: foo5 } = { foo5: 50, bar5: 550 };
|
||
· ──┬─ ──┬─
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `foo5` has already been declared here
|
||
26 │ const { bar6: foo6, foo6 } = { foo6: 60, bar6: 660 };
|
||
╰────
|
||
|
||
× Identifier `foo6` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:25:1]
|
||
25 │ const { foo5, bar5: foo5 } = { foo5: 50, bar5: 550 };
|
||
26 │ const { bar6: foo6, foo6 } = { foo6: 60, bar6: 660 };
|
||
· ──┬─ ──┬─
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `foo6` has already been declared here
|
||
27 │
|
||
╰────
|
||
|
||
× Identifier `blah1` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:27:1]
|
||
27 │
|
||
28 │ let [blah1, blah1] = [111, 222];
|
||
· ──┬── ──┬──
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `blah1` has already been declared here
|
||
29 │ const [blah2, blah2] = [333, 444];
|
||
╰────
|
||
|
||
× Identifier `blah2` has already been declared
|
||
╭─[conformance/es6/destructuring/destructuringSameNames.ts:28:1]
|
||
28 │ let [blah1, blah1] = [111, 222];
|
||
29 │ const [blah2, blah2] = [333, 444];
|
||
· ──┬── ──┬──
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `blah2` has already been declared here
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts:4:1]
|
||
4 │ (function () {
|
||
5 │ var {};
|
||
· ──
|
||
6 │ let {};
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts:5:1]
|
||
5 │ var {};
|
||
6 │ let {};
|
||
· ──
|
||
7 │ const {};
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts:6:1]
|
||
6 │ let {};
|
||
7 │ const {};
|
||
· ──
|
||
8 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts:8:1]
|
||
8 │
|
||
9 │ var [];
|
||
· ──
|
||
10 │ let [];
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts:9:1]
|
||
9 │ var [];
|
||
10 │ let [];
|
||
· ──
|
||
11 │ const [];
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts:10:1]
|
||
10 │ let [];
|
||
11 │ const [];
|
||
· ──
|
||
12 │ })();
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts:5:1]
|
||
5 │ (function () {
|
||
6 │ var {};
|
||
· ──
|
||
7 │ let {};
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts:6:1]
|
||
6 │ var {};
|
||
7 │ let {};
|
||
· ──
|
||
8 │ const {};
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts:7:1]
|
||
7 │ let {};
|
||
8 │ const {};
|
||
· ──
|
||
9 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts:9:1]
|
||
9 │
|
||
10 │ var [];
|
||
· ──
|
||
11 │ let [];
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts:10:1]
|
||
10 │ var [];
|
||
11 │ let [];
|
||
· ──
|
||
12 │ const [];
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts:11:1]
|
||
11 │ let [];
|
||
12 │ const [];
|
||
· ──
|
||
13 │ })();
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts:4:1]
|
||
4 │ (function () {
|
||
5 │ var {};
|
||
· ──
|
||
6 │ let {};
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts:5:1]
|
||
5 │ var {};
|
||
6 │ let {};
|
||
· ──
|
||
7 │ const {};
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts:6:1]
|
||
6 │ let {};
|
||
7 │ const {};
|
||
· ──
|
||
8 │
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts:8:1]
|
||
8 │
|
||
9 │ var [];
|
||
· ──
|
||
10 │ let [];
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts:9:1]
|
||
9 │ var [];
|
||
10 │ let [];
|
||
· ──
|
||
11 │ const [];
|
||
╰────
|
||
|
||
× Missing initializer in destructuring declaration
|
||
╭─[conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts:10:1]
|
||
10 │ let [];
|
||
11 │ const [];
|
||
· ──
|
||
12 │ })();
|
||
╰────
|
||
|
||
× Expected `:` but found `}`
|
||
╭─[conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers01.ts:1:1]
|
||
1 │
|
||
2 │ var { while } = { while: 1 }
|
||
· ┬
|
||
· ╰── `:` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers02.ts:1:1]
|
||
1 │
|
||
2 │ var { while: while } = { while: 1 }
|
||
· ─────
|
||
╰────
|
||
|
||
× Expected `:` but found `}`
|
||
╭─[conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers03.ts:1:1]
|
||
1 │
|
||
2 │ var { "while" } = { while: 1 }
|
||
· ┬
|
||
· ╰── `:` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/destructuring/objectBindingPatternKeywordIdentifiers04.ts:1:1]
|
||
1 │
|
||
2 │ var { "while": while } = { while: 1 }
|
||
· ─────
|
||
╰────
|
||
|
||
× A rest parameter cannot have an initializer
|
||
╭─[conformance/es6/destructuring/restElementWithInitializer1.ts:1:1]
|
||
1 │ var a: number[];
|
||
2 │ var [...x = a] = a; // Error, rest element cannot have initializer
|
||
· ────────
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/es6/destructuring/restElementWithInitializer2.ts:2:1]
|
||
2 │ var x: number[];
|
||
3 │ [...x = a] = a; // Error, rest element cannot have initializer
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/es6/destructuring/restPropertyWithBindingPattern.ts:1:1]
|
||
1 │ ({...{}} = {});
|
||
2 │ ({...({})} = {});
|
||
· ────
|
||
3 │ ({...[]} = {});
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[conformance/es6/for-ofStatements/for-of2.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ const v;
|
||
· ─
|
||
3 │ for (v of []) { }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/for-ofStatements/for-of3.ts:2:1]
|
||
2 │ var v: any;
|
||
3 │ for (v++ of []) { }
|
||
· ───
|
||
╰────
|
||
|
||
× `let` cannot be declared as a variable name inside of a `let` declaration
|
||
╭─[conformance/es6/for-ofStatements/for-of51.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (let let of []) {}
|
||
· ───
|
||
╰────
|
||
|
||
× Identifier `v` has already been declared
|
||
╭─[conformance/es6/for-ofStatements/for-of52.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (let [v, v] of [[]]) {}
|
||
· ┬ ┬
|
||
· │ ╰── It can not be redeclared here
|
||
· ╰── `v` has already been declared here
|
||
╰────
|
||
|
||
× Identifier `v` has already been declared
|
||
╭─[conformance/es6/for-ofStatements/for-of54.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (let v of []) {
|
||
· ┬
|
||
· ╰── `v` has already been declared here
|
||
3 │ var v = 0;
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
4 │ }
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[conformance/es6/functionDeclarations/FunctionDeclaration10_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ function * foo(a = yield => yield) {
|
||
· ─────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[conformance/es6/functionDeclarations/FunctionDeclaration12_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ var v = function * yield() { }
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[conformance/es6/functionDeclarations/FunctionDeclaration5_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ function*foo(yield) {
|
||
· ─────
|
||
3 │ }
|
||
╰────
|
||
|
||
× yield expression not allowed in formal parameter
|
||
╭─[conformance/es6/functionDeclarations/FunctionDeclaration6_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ function*foo(a = yield) {
|
||
· ──┬──
|
||
· ╰── yield expression not allowed in formal parameter
|
||
3 │ }
|
||
╰────
|
||
|
||
× yield expression not allowed in formal parameter
|
||
╭─[conformance/es6/functionDeclarations/FunctionDeclaration7_es6.ts:3:1]
|
||
3 │ // 'yield' here is an identifier, and not a yield expression.
|
||
4 │ function*foo(a = yield) {
|
||
· ──┬──
|
||
· ╰── yield expression not allowed in formal parameter
|
||
5 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments2_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ var v = { *() { } }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments3_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ var v = { *{ } }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments4_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ var v = { * }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/functionPropertyAssignments/FunctionPropertyAssignments6_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ var v = { *<T>() { } }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration4_es6.ts:2:1]
|
||
2 │ class C {
|
||
3 │ *() { }
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration5_es6.ts:3:1]
|
||
3 │ *
|
||
4 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `(` but found `}`
|
||
╭─[conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration6_es6.ts:3:1]
|
||
3 │ *foo
|
||
4 │ }
|
||
· ┬
|
||
· ╰── `(` expected
|
||
╰────
|
||
|
||
× Invalid Character `¬`
|
||
╭─[conformance/es6/memberFunctionDeclarations/MemberFunctionDeclaration8_es6.ts:4:1]
|
||
4 │ // Make sure we don't think of *bar as the start of a generator method.
|
||
5 │ if (a) ¬ * bar;
|
||
· ─
|
||
6 │ return bar;
|
||
╰────
|
||
|
||
× Identifier `C` has already been declared
|
||
╭─[conformance/es6/modules/multipleDefaultExports03.ts:3:1]
|
||
3 │
|
||
4 │ export default class C {
|
||
· ┬
|
||
· ╰── `C` has already been declared here
|
||
5 │ }
|
||
6 │
|
||
7 │ export default class C {
|
||
· ┬
|
||
· ╰── It can not be redeclared here
|
||
8 │ }
|
||
╰────
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:1:1]
|
||
1 │ // @target: es5
|
||
2 │ const a = new.target;
|
||
· ──────────
|
||
3 │ const b = () => new.target;
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:2:1]
|
||
2 │ const a = new.target;
|
||
3 │ const b = () => new.target;
|
||
· ──────────
|
||
4 │
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:5:1]
|
||
5 │ class C {
|
||
6 │ [new.target]() { }
|
||
· ──────────
|
||
7 │ c() { return new.target; }
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:9:1]
|
||
9 │ set e(_) { _ = new.target; }
|
||
10 │ f = () => new.target;
|
||
· ──────────
|
||
11 │
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:11:1]
|
||
11 │
|
||
12 │ static [new.target]() { }
|
||
· ──────────
|
||
13 │ static g() { return new.target; }
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:15:1]
|
||
15 │ static set i(_) { _ = new.target; }
|
||
16 │ static j = () => new.target;
|
||
· ──────────
|
||
17 │ }
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:19:1]
|
||
19 │ const O = {
|
||
20 │ [new.target]: undefined,
|
||
· ──────────
|
||
21 │ k() { return new.target; },
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es5.ts:23:1]
|
||
23 │ set m(_) { _ = new.target; },
|
||
24 │ n: new.target,
|
||
· ──────────
|
||
25 │ };
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ const a = new.target;
|
||
· ──────────
|
||
3 │ const b = () => new.target;
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:2:1]
|
||
2 │ const a = new.target;
|
||
3 │ const b = () => new.target;
|
||
· ──────────
|
||
4 │
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:5:1]
|
||
5 │ class C {
|
||
6 │ [new.target]() { }
|
||
· ──────────
|
||
7 │ c() { return new.target; }
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:9:1]
|
||
9 │ set e(_) { _ = new.target; }
|
||
10 │ f = () => new.target;
|
||
· ──────────
|
||
11 │
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:11:1]
|
||
11 │
|
||
12 │ static [new.target]() { }
|
||
· ──────────
|
||
13 │ static g() { return new.target; }
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:15:1]
|
||
15 │ static set i(_) { _ = new.target; }
|
||
16 │ static j = () => new.target;
|
||
· ──────────
|
||
17 │ }
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:19:1]
|
||
19 │ const O = {
|
||
20 │ [new.target]: undefined,
|
||
· ──────────
|
||
21 │ k() { return new.target; },
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected new.target expression
|
||
╭─[conformance/es6/newTarget/invalidNewTarget.es6.ts:23:1]
|
||
23 │ set m(_) { _ = new.target; },
|
||
24 │ n: new.target,
|
||
· ──────────
|
||
25 │ };
|
||
╰────
|
||
help: new.target is only allowed in constructors and functions invoked using thew `new` operator
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.ts:2:1]
|
||
2 │ var y = {
|
||
3 │ "stringLiteral",
|
||
· ─
|
||
4 │ 42,
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/shorthandPropertyAssignment/objectLiteralShorthandPropertiesErrorWithModule.ts:9:1]
|
||
9 │ export var y = {
|
||
10 │ m.x // error
|
||
· ─
|
||
11 │ };
|
||
╰────
|
||
|
||
× Expected `$}` but found `EOF`
|
||
╭─[conformance/es6/templates/TemplateExpression1.ts:1:1]
|
||
1 │ var v = `foo ${ a
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[conformance/es6/templates/taggedTemplatesWithTypeArguments2.ts:39:1]
|
||
39 │ constructor() {
|
||
40 │ super<number, string, T> `hello world`;
|
||
· ─────
|
||
41 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInFunctionParameterType.ts:1:1]
|
||
1 │ function f(`hello`);
|
||
· ───────
|
||
2 │ function f(x: string);
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInFunctionParameterTypeES6.ts:1:1]
|
||
1 │ // @target: ES6
|
||
2 │ function f(`hello`);
|
||
· ───────
|
||
3 │ function f(x: string);
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/es6/templates/templateStringInModuleName.ts:1:1]
|
||
1 │ declare module `M1` {
|
||
· ─
|
||
2 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/es6/templates/templateStringInModuleNameES6.ts:1:1]
|
||
1 │ // @target: ES6
|
||
2 │ declare module `M1` {
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInObjectLiteral.ts:2:1]
|
||
2 │ a: `abc${ 123 }def`,
|
||
3 │ `b`: 321
|
||
· ───
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInObjectLiteralES6.ts:3:1]
|
||
3 │ a: `abc${ 123 }def`,
|
||
4 │ `b`: 321
|
||
· ───
|
||
5 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInPropertyName1.ts:1:1]
|
||
1 │ var x = {
|
||
2 │ `a`: 321
|
||
· ───
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInPropertyName2.ts:1:1]
|
||
1 │ var x = {
|
||
2 │ `abc${ 123 }def${ 456 }ghi`: 321
|
||
· ──────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInPropertyNameES6_1.ts:2:1]
|
||
2 │ var x = {
|
||
3 │ `a`: 321
|
||
· ───
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/templates/templateStringInPropertyNameES6_2.ts:2:1]
|
||
2 │ var x = {
|
||
3 │ `abc${ 123 }def${ 456 }ghi`: 321
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated1.ts:1:1]
|
||
1 │
|
||
2 │ `
|
||
· ─
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated1_ES6.ts:1:1]
|
||
1 │ // @target: ES6
|
||
2 │ `
|
||
· ─
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated2.ts:1:1]
|
||
1 │
|
||
2 │ `\`
|
||
· ───
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated2_ES6.ts:1:1]
|
||
1 │ // @target: ES6
|
||
2 │ `\`
|
||
· ───
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated3.ts:1:1]
|
||
1 │
|
||
2 │ `\\
|
||
· ───
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated3_ES6.ts:1:1]
|
||
1 │ // @target: ES6
|
||
2 │ `\\
|
||
· ───
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated4.ts:1:1]
|
||
1 │
|
||
2 │ `\\\`
|
||
· ─────
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated4_ES6.ts:1:1]
|
||
1 │ // @target: ES6
|
||
2 │ `\\\`
|
||
· ─────
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated5.ts:1:1]
|
||
1 │
|
||
2 │ `\\\\\`
|
||
· ───────
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/templates/templateStringUnterminated5_ES6.ts:1:1]
|
||
1 │ // @target: ES6
|
||
2 │ `\\\\\`
|
||
· ───────
|
||
╰────
|
||
|
||
× Expected `(` but found `{`
|
||
╭─[conformance/es6/templates/templateStringWithEmbeddedYieldKeyword.ts:1:1]
|
||
1 │ function* gen {
|
||
· ┬
|
||
· ╰── `(` expected
|
||
2 │ // Once this is supported, yield *must* be parenthesized.
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07_ES5.ts:4:1]
|
||
4 │ // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
|
||
5 │ var x = "\u{110000}";
|
||
· ─────────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07_ES6.ts:4:1]
|
||
4 │ // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
|
||
5 │ var x = "\u{110000}";
|
||
· ─────────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{FFFFFFFF}";
|
||
· ─────────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{FFFFFFFF}";
|
||
· ─────────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14_ES5.ts:3:1]
|
||
3 │ // Shouldn't work, negatives are not allowed.
|
||
4 │ var x = "\u{-DDDD}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14_ES6.ts:3:1]
|
||
3 │ // Shouldn't work, negatives are not allowed.
|
||
4 │ var x = "\u{-DDDD}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{r}\u{n}\u{t}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{r}\u{n}\u{t}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{r}\u{n}\u{t}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{r}\u{n}\u{t}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{r}\u{n}\u{t}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{r}\u{n}\u{t}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{}";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{";
|
||
· ───
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{67";
|
||
· ─────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{67";
|
||
· ─────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067";
|
||
· ─────────────────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067";
|
||
· ─────────────────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067
|
||
· ─────────────────
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067
|
||
· ───────────────────
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067
|
||
· ─────────────────
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067
|
||
· ───────────────────
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067}
|
||
· ────────────────────
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = "\u{00000000000067}
|
||
· ────────────────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES5.ts:4:1]
|
||
4 │ // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
|
||
5 │ var x = `\u{110000}`;
|
||
· ──────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07_ES6.ts:4:1]
|
||
4 │ // 1. Assert: 0 ≤ cp ≤ 0x10FFFF.
|
||
5 │ var x = `\u{110000}`;
|
||
· ──────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = `\u{FFFFFFFF}`;
|
||
· ────────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = `\u{FFFFFFFF}`;
|
||
· ────────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14_ES5.ts:3:1]
|
||
3 │ // Shouldn't work, negatives are not allowed.
|
||
4 │ var x = `\u{-DDDD}`;
|
||
· ─────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14_ES6.ts:3:1]
|
||
3 │ // Shouldn't work, negatives are not allowed.
|
||
4 │ var x = `\u{-DDDD}`;
|
||
· ─────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = `\u{r}\u{n}\u{t}`;
|
||
· ───────────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = `\u{r}\u{n}\u{t}`;
|
||
· ───────────────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19_ES5.ts:2:1]
|
||
2 │
|
||
3 │ var x = `\u{}`;
|
||
· ────
|
||
╰────
|
||
|
||
× Bad escape sequence in untagged template literal
|
||
╭─[conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19_ES6.ts:2:1]
|
||
2 │
|
||
3 │ var x = `\u{}`;
|
||
· ────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/variableDeclarations/VariableDeclaration11_es6.ts:2:1]
|
||
2 │ "use strict";
|
||
3 │ let
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/variableDeclarations/VariableDeclaration13_es6.ts:5:1]
|
||
5 │ var let: any;
|
||
6 │ let[0] = 100;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/variableDeclarations/VariableDeclaration1_es6.ts:1:1]
|
||
1 │ // @target:es6
|
||
2 │ const
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[conformance/es6/variableDeclarations/VariableDeclaration2_es6.ts:1:1]
|
||
1 │ // @target:es6
|
||
2 │ const a
|
||
· ─
|
||
╰────
|
||
|
||
× Missing initializer in const declaration
|
||
╭─[conformance/es6/variableDeclarations/VariableDeclaration4_es6.ts:1:1]
|
||
1 │ // @target:es6
|
||
2 │ const a: number
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/variableDeclarations/VariableDeclaration6_es6.ts:1:1]
|
||
1 │ // @target:es6
|
||
2 │ let
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression12_es6.ts:3:1]
|
||
3 │ constructor() {
|
||
4 │ yield foo
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression14_es6.ts:3:1]
|
||
3 │ foo() {
|
||
4 │ yield foo
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression15_es6.ts:2:1]
|
||
2 │ var v = () => {
|
||
3 │ yield foo
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression16_es6.ts:3:1]
|
||
3 │ function bar() {
|
||
4 │ yield foo;
|
||
· ─────
|
||
5 │ }
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression17_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ var v = { get foo() { yield foo; } }
|
||
· ─────
|
||
╰────
|
||
|
||
× The keyword 'yield' is reserved
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression18_es6.ts:2:1]
|
||
2 │ "use strict";
|
||
3 │ yield(foo);
|
||
· ─────
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression2_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ yield foo;
|
||
· ─────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/yieldExpressions/YieldExpression5_es6.ts:3:1]
|
||
3 │ yield*
|
||
4 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/yieldExpressions/YieldStarExpression2_es6.ts:1:1]
|
||
1 │ // @target: es6
|
||
2 │ yield *;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es6/yieldExpressions/YieldStarExpression3_es6.ts:2:1]
|
||
2 │ function *g() {
|
||
3 │ yield *;
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
|
||
× A 'yield' expression is only allowed in a generator body.
|
||
╭─[conformance/es6/yieldExpressions/generatorTypeCheck32.ts:2:1]
|
||
2 │ var s: string;
|
||
3 │ var f: () => number = () => yield s;
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/es7/exponentiationOperator/compoundExponentiationAssignmentLHSIsValue.ts:7:1]
|
||
7 │ constructor() {
|
||
8 │ this **= value;
|
||
· ────
|
||
9 │ }
|
||
╰────
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:8:1]
|
||
8 │ // TempateHead & TemplateTail are empty
|
||
9 │ `${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
10 │ `${-t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:9:1]
|
||
9 │ `${1 + typeof t1 ** t2 ** t1}`;
|
||
10 │ `${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
11 │ `${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:10:1]
|
||
10 │ `${-t1 ** t2 - t1}`;
|
||
11 │ `${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
12 │ `${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:11:1]
|
||
11 │ `${-++t1 ** t2 - t1}`;
|
||
12 │ `${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
13 │ `${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:12:1]
|
||
12 │ `${-t1++ ** t2 - t1}`;
|
||
13 │ `${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
14 │ `${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:13:1]
|
||
13 │ `${!t1 ** t2 ** --t1 }`;
|
||
14 │ `${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
15 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:15:1]
|
||
15 │
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:15:1]
|
||
15 │
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:16:1]
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:16:1]
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:17:1]
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:17:1]
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:18:1]
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:18:1]
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:19:1]
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:19:1]
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:20:1]
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
22 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:20:1]
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
22 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:22:1]
|
||
22 │
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:22:1]
|
||
22 │
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:23:1]
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:23:1]
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:24:1]
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:24:1]
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:25:1]
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:25:1]
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:26:1]
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:26:1]
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:27:1]
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError1.ts:27:1]
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:8:1]
|
||
8 │ // With templateHead
|
||
9 │ `hello ${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
10 │ `hello ${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:9:1]
|
||
9 │ `hello ${-t1 ** t2 - t1}`;
|
||
10 │ `hello ${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
11 │ `hello ${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:10:1]
|
||
10 │ `hello ${-++t1 ** t2 - t1}`;
|
||
11 │ `hello ${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
12 │ `hello ${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:11:1]
|
||
11 │ `hello ${-t1++ ** t2 - t1}`;
|
||
12 │ `hello ${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
13 │ `hello ${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:12:1]
|
||
12 │ `hello ${!t1 ** t2 ** --t1 }`;
|
||
13 │ `hello ${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
14 │ `hello ${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:13:1]
|
||
13 │ `hello ${typeof t1 ** t2 ** t1}`;
|
||
14 │ `hello ${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
15 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:15:1]
|
||
15 │
|
||
16 │ `hello ${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
17 │ `hello ${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:15:1]
|
||
15 │
|
||
16 │ `hello ${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
17 │ `hello ${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:16:1]
|
||
16 │ `hello ${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
17 │ `hello ${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
18 │ `hello ${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:16:1]
|
||
16 │ `hello ${-t1 ** t2 - t1}${-t1 ** t2 - t1}`;
|
||
17 │ `hello ${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
18 │ `hello ${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:17:1]
|
||
17 │ `hello ${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
18 │ `hello ${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
19 │ `hello ${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:17:1]
|
||
17 │ `hello ${-++t1 ** t2 - t1}${-++t1 ** t2 - t1}`;
|
||
18 │ `hello ${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
19 │ `hello ${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:18:1]
|
||
18 │ `hello ${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
19 │ `hello ${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
20 │ `hello ${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:18:1]
|
||
18 │ `hello ${-t1++ ** t2 - t1}${-t1++ ** t2 - t1}`;
|
||
19 │ `hello ${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
20 │ `hello ${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:19:1]
|
||
19 │ `hello ${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
20 │ `hello ${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
21 │ `hello ${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:19:1]
|
||
19 │ `hello ${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 }`;
|
||
20 │ `hello ${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
21 │ `hello ${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:20:1]
|
||
20 │ `hello ${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
21 │ `hello ${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
22 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:20:1]
|
||
20 │ `hello ${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1}`;
|
||
21 │ `hello ${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
22 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:22:1]
|
||
22 │
|
||
23 │ `hello ${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
24 │ `hello ${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:22:1]
|
||
22 │
|
||
23 │ `hello ${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
· ─────────
|
||
24 │ `hello ${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:23:1]
|
||
23 │ `hello ${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
24 │ `hello ${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
25 │ `hello ${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:23:1]
|
||
23 │ `hello ${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1}`;
|
||
24 │ `hello ${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
· ───────────
|
||
25 │ `hello ${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:24:1]
|
||
24 │ `hello ${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
25 │ `hello ${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
26 │ `hello ${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:24:1]
|
||
24 │ `hello ${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1}`;
|
||
25 │ `hello ${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
· ───────────
|
||
26 │ `hello ${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:25:1]
|
||
25 │ `hello ${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
26 │ `hello ${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
27 │ `hello ${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:25:1]
|
||
25 │ `hello ${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1}`;
|
||
26 │ `hello ${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
· ─────────────────
|
||
27 │ `hello ${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:26:1]
|
||
26 │ `hello ${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
27 │ `hello ${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
28 │ `hello ${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:26:1]
|
||
26 │ `hello ${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 }`;
|
||
27 │ `hello ${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
28 │ `hello ${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:27:1]
|
||
27 │ `hello ${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
28 │ `hello ${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError2.ts:27:1]
|
||
27 │ `hello ${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1}`;
|
||
28 │ `hello ${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`;
|
||
· ─────────────────────
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:8:1]
|
||
8 │ // With TemplateTail
|
||
9 │ `${-t1 ** t2 - t1} world`;
|
||
· ─────────
|
||
10 │ `${-++t1 ** t2 - t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:9:1]
|
||
9 │ `${-t1 ** t2 - t1} world`;
|
||
10 │ `${-++t1 ** t2 - t1} world`;
|
||
· ───────────
|
||
11 │ `${-t1++ ** t2 - t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:10:1]
|
||
10 │ `${-++t1 ** t2 - t1} world`;
|
||
11 │ `${-t1++ ** t2 - t1} world`;
|
||
· ───────────
|
||
12 │ `${!t1 ** t2 ** --t1 } world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:11:1]
|
||
11 │ `${-t1++ ** t2 - t1} world`;
|
||
12 │ `${!t1 ** t2 ** --t1 } world`;
|
||
· ─────────────────
|
||
13 │ `${typeof t1 ** t2 ** t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:12:1]
|
||
12 │ `${!t1 ** t2 ** --t1 } world`;
|
||
13 │ `${typeof t1 ** t2 ** t1} world`;
|
||
· ─────────────────────
|
||
14 │ `${1 + typeof t1 ** t2 ** t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:13:1]
|
||
13 │ `${typeof t1 ** t2 ** t1} world`;
|
||
14 │ `${1 + typeof t1 ** t2 ** t1} world`;
|
||
· ─────────────────────
|
||
15 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:15:1]
|
||
15 │
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1} world`;
|
||
· ─────────
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:15:1]
|
||
15 │
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1} world`;
|
||
· ─────────
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:16:1]
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1} world`;
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1} world`;
|
||
· ───────────
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:16:1]
|
||
16 │ `${-t1 ** t2 - t1}${-t1 ** t2 - t1} world`;
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1} world`;
|
||
· ───────────
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:17:1]
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1} world`;
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1} world`;
|
||
· ───────────
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 } world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:17:1]
|
||
17 │ `${-++t1 ** t2 - t1}${-++t1 ** t2 - t1} world`;
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1} world`;
|
||
· ───────────
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 } world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:18:1]
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1} world`;
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 } world`;
|
||
· ─────────────────
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:18:1]
|
||
18 │ `${-t1++ ** t2 - t1}${-t1++ ** t2 - t1} world`;
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 } world`;
|
||
· ─────────────────
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:19:1]
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 } world`;
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1} world`;
|
||
· ─────────────────────
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:19:1]
|
||
19 │ `${!t1 ** t2 ** --t1 }${!t1 ** t2 ** --t1 } world`;
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1} world`;
|
||
· ─────────────────────
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1} world`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:20:1]
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1} world`;
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1} world`;
|
||
· ─────────────────────
|
||
22 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:20:1]
|
||
20 │ `${typeof t1 ** t2 ** t1}${typeof t1 ** t2 ** t1} world`;
|
||
21 │ `${1 + typeof t1 ** t2 ** t1}${1 + typeof t1 ** t2 ** t1} world`;
|
||
· ─────────────────────
|
||
22 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:22:1]
|
||
22 │
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1} !!`;
|
||
· ─────────
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:22:1]
|
||
22 │
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1} !!`;
|
||
· ─────────
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:23:1]
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1} !!`;
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1} !!`;
|
||
· ───────────
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:23:1]
|
||
23 │ `${-t1 ** t2 - t1} hello world ${-t1 ** t2 - t1} !!`;
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1} !!`;
|
||
· ───────────
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:24:1]
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1} !!`;
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1} !!`;
|
||
· ───────────
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 } !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:24:1]
|
||
24 │ `${-++t1 ** t2 - t1} hello world ${-++t1 ** t2 - t1} !!`;
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1} !!`;
|
||
· ───────────
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 } !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:25:1]
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1} !!`;
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 } !!`;
|
||
· ─────────────────
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:25:1]
|
||
25 │ `${-t1++ ** t2 - t1} hello world ${-t1++ ** t2 - t1} !!`;
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 } !!`;
|
||
· ─────────────────
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:26:1]
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 } !!`;
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1} !!`;
|
||
· ─────────────────────
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:26:1]
|
||
26 │ `${!t1 ** t2 ** --t1 } hello world ${!t1 ** t2 ** --t1 } !!`;
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1} !!`;
|
||
· ─────────────────────
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1} !!`;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:27:1]
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1} !!`;
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1} !!`;
|
||
· ─────────────────────
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorInTemplateStringWithSyntaxError3.ts:27:1]
|
||
27 │ `${typeof t1 ** t2 ** t1} hello world ${typeof t1 ** t2 ** t1} !!`;
|
||
28 │ `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1} !!`;
|
||
· ─────────────────────
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:3:1]
|
||
3 │ // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
|
||
4 │ -1 ** 2;
|
||
· ───────
|
||
5 │ +1 ** 2
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:4:1]
|
||
4 │ -1 ** 2;
|
||
5 │ +1 ** 2
|
||
· ───────
|
||
6 │ 1 ** -2 ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:5:1]
|
||
5 │ +1 ** 2
|
||
6 │ 1 ** -2 ** 3;
|
||
· ───────
|
||
7 │ 1 ** -2 ** -3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:6:1]
|
||
6 │ 1 ** -2 ** 3;
|
||
7 │ 1 ** -2 ** -3;
|
||
· ────────
|
||
8 │ -1 ** -2 ** -3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:7:1]
|
||
7 │ 1 ** -2 ** -3;
|
||
8 │ -1 ** -2 ** -3;
|
||
· ────────
|
||
9 │ -(1 ** 2) ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:7:1]
|
||
7 │ 1 ** -2 ** -3;
|
||
8 │ -1 ** -2 ** -3;
|
||
· ──────────────
|
||
9 │ -(1 ** 2) ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:8:1]
|
||
8 │ -1 ** -2 ** -3;
|
||
9 │ -(1 ** 2) ** 3;
|
||
· ──────────────
|
||
10 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:12:1]
|
||
12 │
|
||
13 │ -++temp ** 3;
|
||
· ────────────
|
||
14 │ +--temp ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:13:1]
|
||
13 │ -++temp ** 3;
|
||
14 │ +--temp ** 3;
|
||
· ────────────
|
||
15 │ -temp++ ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:14:1]
|
||
14 │ +--temp ** 3;
|
||
15 │ -temp++ ** 3;
|
||
· ────────────
|
||
16 │ +temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:15:1]
|
||
15 │ -temp++ ** 3;
|
||
16 │ +temp-- ** 3;
|
||
· ────────────
|
||
17 │ 1 ** -++temp ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:16:1]
|
||
16 │ +temp-- ** 3;
|
||
17 │ 1 ** -++temp ** 3;
|
||
· ────────────
|
||
18 │ 1 ** +--temp ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:17:1]
|
||
17 │ 1 ** -++temp ** 3;
|
||
18 │ 1 ** +--temp ** 3;
|
||
· ────────────
|
||
19 │ 1 ** -temp++ ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:18:1]
|
||
18 │ 1 ** +--temp ** 3;
|
||
19 │ 1 ** -temp++ ** 3;
|
||
· ────────────
|
||
20 │ 1 ** +temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:19:1]
|
||
19 │ 1 ** -temp++ ** 3;
|
||
20 │ 1 ** +temp-- ** 3;
|
||
· ────────────
|
||
21 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:21:1]
|
||
21 │
|
||
22 │ -3 ** temp++;
|
||
· ────────────
|
||
23 │ -3 ** temp--;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:22:1]
|
||
22 │ -3 ** temp++;
|
||
23 │ -3 ** temp--;
|
||
· ────────────
|
||
24 │ -3 ** ++temp;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:23:1]
|
||
23 │ -3 ** temp--;
|
||
24 │ -3 ** ++temp;
|
||
· ────────────
|
||
25 │ -3 ** --temp;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:24:1]
|
||
24 │ -3 ** ++temp;
|
||
25 │ -3 ** --temp;
|
||
· ────────────
|
||
26 │ +3 ** temp++;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:25:1]
|
||
25 │ -3 ** --temp;
|
||
26 │ +3 ** temp++;
|
||
· ────────────
|
||
27 │ +3 ** temp--;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:26:1]
|
||
26 │ +3 ** temp++;
|
||
27 │ +3 ** temp--;
|
||
· ────────────
|
||
28 │ +3 ** ++temp;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:27:1]
|
||
27 │ +3 ** temp--;
|
||
28 │ +3 ** ++temp;
|
||
· ────────────
|
||
29 │ +3 ** --temp;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:28:1]
|
||
28 │ +3 ** ++temp;
|
||
29 │ +3 ** --temp;
|
||
· ────────────
|
||
30 │ -3 ** temp++ ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:29:1]
|
||
29 │ +3 ** --temp;
|
||
30 │ -3 ** temp++ ** 2;
|
||
· ─────────────────
|
||
31 │ -3 ** temp-- ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:30:1]
|
||
30 │ -3 ** temp++ ** 2;
|
||
31 │ -3 ** temp-- ** 2;
|
||
· ─────────────────
|
||
32 │ -3 ** ++temp ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:31:1]
|
||
31 │ -3 ** temp-- ** 2;
|
||
32 │ -3 ** ++temp ** 2;
|
||
· ─────────────────
|
||
33 │ -3 ** --temp ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:32:1]
|
||
32 │ -3 ** ++temp ** 2;
|
||
33 │ -3 ** --temp ** 2;
|
||
· ─────────────────
|
||
34 │ +3 ** temp++ ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:33:1]
|
||
33 │ -3 ** --temp ** 2;
|
||
34 │ +3 ** temp++ ** 2;
|
||
· ─────────────────
|
||
35 │ +3 ** temp-- ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:34:1]
|
||
34 │ +3 ** temp++ ** 2;
|
||
35 │ +3 ** temp-- ** 2;
|
||
· ─────────────────
|
||
36 │ +3 ** ++temp ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:35:1]
|
||
35 │ +3 ** temp-- ** 2;
|
||
36 │ +3 ** ++temp ** 2;
|
||
· ─────────────────
|
||
37 │ +3 ** --temp ** 2;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError1.ts:36:1]
|
||
36 │ +3 ** ++temp ** 2;
|
||
37 │ +3 ** --temp ** 2;
|
||
· ─────────────────
|
||
38 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:5:1]
|
||
5 │
|
||
6 │ delete --temp ** 3;
|
||
· ──────────────────
|
||
7 │ delete ++temp ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:6:1]
|
||
6 │ delete --temp ** 3;
|
||
7 │ delete ++temp ** 3;
|
||
· ──────────────────
|
||
8 │ delete temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:7:1]
|
||
7 │ delete ++temp ** 3;
|
||
8 │ delete temp-- ** 3;
|
||
· ──────────────────
|
||
9 │ delete temp++ ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:8:1]
|
||
8 │ delete temp-- ** 3;
|
||
9 │ delete temp++ ** 3;
|
||
· ──────────────────
|
||
10 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:11:1]
|
||
11 │
|
||
12 │ 1 ** delete --temp ** 3;
|
||
· ──────────────────
|
||
13 │ 1 ** delete ++temp ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:12:1]
|
||
12 │ 1 ** delete --temp ** 3;
|
||
13 │ 1 ** delete ++temp ** 3;
|
||
· ──────────────────
|
||
14 │ 1 ** delete temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:13:1]
|
||
13 │ 1 ** delete ++temp ** 3;
|
||
14 │ 1 ** delete temp-- ** 3;
|
||
· ──────────────────
|
||
15 │ 1 ** delete temp++ ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:14:1]
|
||
14 │ 1 ** delete temp-- ** 3;
|
||
15 │ 1 ** delete temp++ ** 3;
|
||
· ──────────────────
|
||
16 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:16:1]
|
||
16 │
|
||
17 │ typeof --temp ** 3;
|
||
· ──────────────────
|
||
18 │ typeof temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:17:1]
|
||
17 │ typeof --temp ** 3;
|
||
18 │ typeof temp-- ** 3;
|
||
· ──────────────────
|
||
19 │ typeof 3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:18:1]
|
||
18 │ typeof temp-- ** 3;
|
||
19 │ typeof 3 ** 4;
|
||
· ─────────────
|
||
20 │ typeof temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:19:1]
|
||
19 │ typeof 3 ** 4;
|
||
20 │ typeof temp++ ** 4;
|
||
· ──────────────────
|
||
21 │ typeof temp-- ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:20:1]
|
||
20 │ typeof temp++ ** 4;
|
||
21 │ typeof temp-- ** 4;
|
||
· ──────────────────
|
||
22 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:22:1]
|
||
22 │
|
||
23 │ 1 ** typeof --temp ** 3;
|
||
· ──────────────────
|
||
24 │ 1 ** typeof temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:23:1]
|
||
23 │ 1 ** typeof --temp ** 3;
|
||
24 │ 1 ** typeof temp-- ** 3;
|
||
· ──────────────────
|
||
25 │ 1 ** typeof 3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:24:1]
|
||
24 │ 1 ** typeof temp-- ** 3;
|
||
25 │ 1 ** typeof 3 ** 4;
|
||
· ─────────────
|
||
26 │ 1 ** typeof temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:25:1]
|
||
25 │ 1 ** typeof 3 ** 4;
|
||
26 │ 1 ** typeof temp++ ** 4;
|
||
· ──────────────────
|
||
27 │ 1 ** typeof temp-- ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:26:1]
|
||
26 │ 1 ** typeof temp++ ** 4;
|
||
27 │ 1 ** typeof temp-- ** 4;
|
||
· ──────────────────
|
||
28 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:28:1]
|
||
28 │
|
||
29 │ void --temp ** 3;
|
||
· ────────────────
|
||
30 │ void temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:29:1]
|
||
29 │ void --temp ** 3;
|
||
30 │ void temp-- ** 3;
|
||
· ────────────────
|
||
31 │ void 3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:30:1]
|
||
30 │ void temp-- ** 3;
|
||
31 │ void 3 ** 4;
|
||
· ───────────
|
||
32 │ void temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:31:1]
|
||
31 │ void 3 ** 4;
|
||
32 │ void temp++ ** 4;
|
||
· ────────────────
|
||
33 │ void temp-- ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:32:1]
|
||
32 │ void temp++ ** 4;
|
||
33 │ void temp-- ** 4;
|
||
· ────────────────
|
||
34 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:34:1]
|
||
34 │
|
||
35 │ 1 ** void --temp ** 3;
|
||
· ────────────────
|
||
36 │ 1 ** void temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:35:1]
|
||
35 │ 1 ** void --temp ** 3;
|
||
36 │ 1 ** void temp-- ** 3;
|
||
· ────────────────
|
||
37 │ 1 ** void 3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:36:1]
|
||
36 │ 1 ** void temp-- ** 3;
|
||
37 │ 1 ** void 3 ** 4;
|
||
· ───────────
|
||
38 │ 1 ** void temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:37:1]
|
||
37 │ 1 ** void 3 ** 4;
|
||
38 │ 1 ** void temp++ ** 4;
|
||
· ────────────────
|
||
39 │ 1 ** void temp-- ** 4 ;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:38:1]
|
||
38 │ 1 ** void temp++ ** 4;
|
||
39 │ 1 ** void temp-- ** 4 ;
|
||
· ────────────────
|
||
40 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:40:1]
|
||
40 │
|
||
41 │ ~ --temp ** 3;
|
||
· ─────────────
|
||
42 │ ~temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:41:1]
|
||
41 │ ~ --temp ** 3;
|
||
42 │ ~temp-- ** 3;
|
||
· ────────────
|
||
43 │ ~3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:42:1]
|
||
42 │ ~temp-- ** 3;
|
||
43 │ ~3 ** 4;
|
||
· ───────
|
||
44 │ ~temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:43:1]
|
||
43 │ ~3 ** 4;
|
||
44 │ ~temp++ ** 4;
|
||
· ────────────
|
||
45 │ ~temp-- ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:44:1]
|
||
44 │ ~temp++ ** 4;
|
||
45 │ ~temp-- ** 4;
|
||
· ────────────
|
||
46 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:46:1]
|
||
46 │
|
||
47 │ 1 ** ~ --temp ** 3;
|
||
· ─────────────
|
||
48 │ 1 ** ~temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:47:1]
|
||
47 │ 1 ** ~ --temp ** 3;
|
||
48 │ 1 ** ~temp-- ** 3;
|
||
· ────────────
|
||
49 │ 1 ** ~3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:48:1]
|
||
48 │ 1 ** ~temp-- ** 3;
|
||
49 │ 1 ** ~3 ** 4;
|
||
· ───────
|
||
50 │ 1 ** ~temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:49:1]
|
||
49 │ 1 ** ~3 ** 4;
|
||
50 │ 1 ** ~temp++ ** 4;
|
||
· ────────────
|
||
51 │ 1 ** ~temp-- ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:50:1]
|
||
50 │ 1 ** ~temp++ ** 4;
|
||
51 │ 1 ** ~temp-- ** 4;
|
||
· ────────────
|
||
52 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:52:1]
|
||
52 │
|
||
53 │ ! --temp ** 3;
|
||
· ─────────────
|
||
54 │ !temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:53:1]
|
||
53 │ ! --temp ** 3;
|
||
54 │ !temp-- ** 3;
|
||
· ────────────
|
||
55 │ !3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:54:1]
|
||
54 │ !temp-- ** 3;
|
||
55 │ !3 ** 4;
|
||
· ───────
|
||
56 │ !temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:55:1]
|
||
55 │ !3 ** 4;
|
||
56 │ !temp++ ** 4;
|
||
· ────────────
|
||
57 │ !temp-- ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:56:1]
|
||
56 │ !temp++ ** 4;
|
||
57 │ !temp-- ** 4;
|
||
· ────────────
|
||
58 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:58:1]
|
||
58 │
|
||
59 │ 1 ** ! --temp ** 3;
|
||
· ─────────────
|
||
60 │ 1 ** !temp-- ** 3;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:59:1]
|
||
59 │ 1 ** ! --temp ** 3;
|
||
60 │ 1 ** !temp-- ** 3;
|
||
· ────────────
|
||
61 │ 1 ** !3 ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:60:1]
|
||
60 │ 1 ** !temp-- ** 3;
|
||
61 │ 1 ** !3 ** 4;
|
||
· ───────
|
||
62 │ 1 ** !temp++ ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:61:1]
|
||
61 │ 1 ** !3 ** 4;
|
||
62 │ 1 ** !temp++ ** 4;
|
||
· ────────────
|
||
63 │ 1 ** !temp-- ** 4;
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected exponentiation expression
|
||
╭─[conformance/es7/exponentiationOperator/exponentiationOperatorSyntaxError2.ts:62:1]
|
||
62 │ 1 ** !temp++ ** 4;
|
||
63 │ 1 ** !temp-- ** 4;
|
||
· ────────────
|
||
64 │
|
||
╰────
|
||
help: Wrap unary expression in parentheses to enforce operator precedence
|
||
|
||
× Unexpected trailing comma after rest element
|
||
╭─[conformance/es7/trailingCommasInBindingPatterns.ts:1:1]
|
||
1 │ const [...a,] = [];
|
||
· ─
|
||
2 │ const {...b,} = {};
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[conformance/es7/trailingCommasInBindingPatterns.ts:1:1]
|
||
1 │ const [...a,] = [];
|
||
2 │ const {...b,} = {};
|
||
· ────
|
||
3 │ let c, d;
|
||
╰────
|
||
|
||
× Unexpected trailing comma after rest element
|
||
╭─[conformance/es7/trailingCommasInBindingPatterns.ts:3:1]
|
||
3 │ let c, d;
|
||
4 │ ([...c,] = []);
|
||
· ▲
|
||
5 │ ({...d,} = {});
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[conformance/es7/trailingCommasInFunctionParametersAndArguments.ts:6:1]
|
||
6 │
|
||
7 │ function f2(...args,) {}
|
||
· ───────
|
||
8 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/es7/trailingCommasInGetter.ts:1:1]
|
||
1 │ class X {
|
||
2 │ get x(,) { return 0; }
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/assignmentOperator/assignmentLHSIsValue.ts:5:1]
|
||
5 │ class C {
|
||
6 │ constructor() { this = value; }
|
||
· ────
|
||
7 │ foo() { this = value; }
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/assignmentOperator/compoundAssignmentLHSIsValue.ts:8:1]
|
||
8 │ constructor() {
|
||
9 │ this *= value;
|
||
· ────
|
||
10 │ this += value;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/expressions/commaOperator/commaOperatorWithoutOperand.ts:16:1]
|
||
16 │ // Missing the first operand
|
||
17 │ (, ANY);
|
||
· ─
|
||
18 │ (, BOOLEAN);
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[conformance/expressions/functions/arrowFunctionContexts.ts:2:1]
|
||
2 │ // Arrow function used in with statement
|
||
3 │ with (window) {
|
||
· ────
|
||
4 │ var p = () => this;
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[conformance/expressions/functions/arrowFunctionContexts.ts:43:1]
|
||
43 │ // Arrow function used in with statement
|
||
44 │ with (window) {
|
||
· ────
|
||
45 │ var p = () => this;
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/newOperator/newOperatorErrorCases.ts:26:1]
|
||
26 │ // Construct expression with no parentheses for construct signature with > 0 parameters
|
||
27 │ var b = new C0 32, ''; // Parse error
|
||
· ─
|
||
28 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Logical expressions and coalesce expressions cannot be mixed
|
||
╭─[conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperator5.ts:7:1]
|
||
7 │ // should be a syntax error
|
||
8 │ a ?? b || c;
|
||
· ───────────
|
||
9 │
|
||
╰────
|
||
help: Wrap either expression by parentheses
|
||
|
||
× Logical expressions and coalesce expressions cannot be mixed
|
||
╭─[conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperator5.ts:10:1]
|
||
10 │ // should be a syntax error
|
||
11 │ a || b ?? c;
|
||
· ───────────
|
||
12 │
|
||
╰────
|
||
help: Wrap either expression by parentheses
|
||
|
||
× Logical expressions and coalesce expressions cannot be mixed
|
||
╭─[conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperator5.ts:13:1]
|
||
13 │ // should be a syntax error
|
||
14 │ a ?? b && c;
|
||
· ───────────
|
||
15 │
|
||
╰────
|
||
help: Wrap either expression by parentheses
|
||
|
||
× Logical expressions and coalesce expressions cannot be mixed
|
||
╭─[conformance/expressions/nullishCoalescingOperator/nullishCoalescingOperator5.ts:16:1]
|
||
16 │ // should be a syntax error
|
||
17 │ a && b ?? c;
|
||
· ───────────
|
||
18 │
|
||
╰────
|
||
help: Wrap either expression by parentheses
|
||
|
||
× Unexpected token
|
||
╭─[conformance/expressions/objectLiterals/objectLiteralErrors.ts:51:1]
|
||
51 │ y = 2,
|
||
52 │ #z: 3
|
||
· ──
|
||
53 │ }
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/operators/incrementAndDecrement.ts:8:1]
|
||
8 │ // Assign to expression++
|
||
9 │ x++ = 4; // Error
|
||
· ───
|
||
10 │
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/optionalChaining/elementAccessChain/elementAccessChain.3.ts:4:1]
|
||
4 │
|
||
5 │ obj?.["a"]++;
|
||
· ──────────
|
||
6 │ obj?.a["b"]++;
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/optionalChaining/propertyAccessChain/propertyAccessChain.3.ts:4:1]
|
||
4 │
|
||
5 │ obj?.a++;
|
||
· ──────
|
||
6 │ obj?.a.b++;
|
||
╰────
|
||
|
||
× Tagged template expressions are not permitted in an optional chain
|
||
╭─[conformance/expressions/optionalChaining/taggedTemplateChain/taggedTemplateChain.ts:1:1]
|
||
1 │ declare let a: any;
|
||
2 │ a?.`b`;
|
||
· ───
|
||
3 │
|
||
╰────
|
||
|
||
× Tagged template expressions are not permitted in an optional chain
|
||
╭─[conformance/expressions/optionalChaining/taggedTemplateChain/taggedTemplateChain.ts:3:1]
|
||
3 │
|
||
4 │ a?.`b${1}c`;
|
||
· ────────
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[conformance/expressions/propertyAccess/propertyAccessNumericLiterals.ts:7:1]
|
||
7 │ 08.8e5.toString();
|
||
8 │ 0_8.8e5.toString();
|
||
· ─
|
||
9 │ 8.8e5.toString();
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:45:1]
|
||
45 │ constructor() {
|
||
46 │ super<string>();
|
||
· ─────
|
||
47 │ super();
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× 'super' can only be referenced in a derived class.
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:1:1]
|
||
1 │ //super call in class constructor with no base type
|
||
2 │ ╭─▶ class NoBase {
|
||
3 │ │ constructor() {
|
||
4 │ │╭▶ super();
|
||
· ││ ─────
|
||
5 │ │ }
|
||
6 │ │
|
||
7 │ │ //super call in class member function with no base type
|
||
8 │ │ fn() {
|
||
9 │ │ super();
|
||
10 │ │ }
|
||
11 │ │
|
||
12 │ │ //super call in class accessor (get and set) with no base type
|
||
13 │ │ get foo() {
|
||
14 │ │ super();
|
||
15 │ │ return null;
|
||
16 │ │ }
|
||
17 │ │ set foo(v) {
|
||
18 │ │ super();
|
||
19 │ │ }
|
||
20 │ │
|
||
21 │ │ //super call in class member initializer with no base type
|
||
22 │ │ p = super();
|
||
23 │ │
|
||
24 │ │ //super call in static class member function with no base type
|
||
25 │ │ static fn() {
|
||
26 │ │ super();
|
||
27 │ │ }
|
||
28 │ │
|
||
29 │ │ //super call in static class member initializer with no base type
|
||
30 │ │ static k = super();
|
||
31 │ │
|
||
32 │ │ //super call in static class accessor (get and set) with no base type
|
||
33 │ │ static get q() {
|
||
34 │ │ super();
|
||
35 │ │ return null;
|
||
36 │ │ }
|
||
37 │ │ static set q(n) {
|
||
38 │ │ super();
|
||
39 │ │ }
|
||
40 │ ├─▶ }
|
||
· ╰──── class does not have `extends`
|
||
41 │
|
||
╰────
|
||
help: either remove this super, or extend the class
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:8:1]
|
||
8 │ fn() {
|
||
9 │ super();
|
||
· ───────
|
||
10 │ }
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:13:1]
|
||
13 │ get foo() {
|
||
14 │ super();
|
||
· ───────
|
||
15 │ return null;
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:17:1]
|
||
17 │ set foo(v) {
|
||
18 │ super();
|
||
· ───────
|
||
19 │ }
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:21:1]
|
||
21 │ //super call in class member initializer with no base type
|
||
22 │ p = super();
|
||
· ───────
|
||
23 │
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:25:1]
|
||
25 │ static fn() {
|
||
26 │ super();
|
||
· ───────
|
||
27 │ }
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:29:1]
|
||
29 │ //super call in static class member initializer with no base type
|
||
30 │ static k = super();
|
||
· ───────
|
||
31 │
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:33:1]
|
||
33 │ static get q() {
|
||
34 │ super();
|
||
· ───────
|
||
35 │ return null;
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:37:1]
|
||
37 │ static set q(n) {
|
||
38 │ super();
|
||
· ───────
|
||
39 │ }
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:57:1]
|
||
57 │ //super call in class member initializer of derived type
|
||
58 │ t = super();
|
||
· ───────
|
||
59 │
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:61:1]
|
||
61 │ //super call in class member function of derived type
|
||
62 │ super();
|
||
· ───────
|
||
63 │ }
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:66:1]
|
||
66 │ get foo() {
|
||
67 │ super();
|
||
· ───────
|
||
68 │ return null;
|
||
╰────
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/expressions/superCalls/errorSuperCalls.ts:70:1]
|
||
70 │ set foo(n) {
|
||
71 │ super();
|
||
· ───────
|
||
72 │ }
|
||
╰────
|
||
|
||
× 'super' can only be referenced in members of derived classes or object literal expressions.
|
||
│
|
||
╭─[conformance/expressions/superPropertyAccess/errorSuperPropertyAccess.ts:126:1]
|
||
126 │ // In object literal
|
||
127 │ var obj = { n: super.wat, p: super.foo() };
|
||
· ─────
|
||
╰────
|
||
|
||
× 'super' can only be referenced in members of derived classes or object literal expressions.
|
||
│
|
||
╭─[conformance/expressions/superPropertyAccess/errorSuperPropertyAccess.ts:126:1]
|
||
126 │ // In object literal
|
||
127 │ var obj = { n: super.wat, p: super.foo() };
|
||
· ─────
|
||
╰────
|
||
|
||
× Expected `>` but found `is`
|
||
╭─[conformance/expressions/typeAssertions/typeAssertions.ts:43:1]
|
||
43 │ var str: string;
|
||
44 │ if(<numOrStr is string>(numOrStr === undefined)) { // Error
|
||
· ─┬
|
||
· ╰── `>` expected
|
||
45 │ str = numOrStr; // Error, no narrowing occurred
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/typeGuards/typeGuardFunctionErrors.ts:17:1]
|
||
17 │
|
||
18 │ function hasTypeGuardTypeInsideTypeGuardType(x): x is x is A {
|
||
· ─
|
||
19 │ return true;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/typeGuards/typeGuardOfFormThisMember.ts:5:1]
|
||
5 │ export class FileSystemObject {
|
||
6 │ isFSO: this is FileSystemObject;
|
||
· ─
|
||
7 │ get isFile(): this is File {
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/typeGuards/typeGuardOfFormThisMemberErrors.ts:5:1]
|
||
5 │ export class FileSystemObject {
|
||
6 │ isFSO: this is FileSystemObject;
|
||
· ─
|
||
7 │ get isFile(): this is File {
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/typeGuards/typePredicateOnVariableDeclaration01.ts:2:1]
|
||
2 │
|
||
3 │ var x: this is string;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/typeGuards/typePredicateOnVariableDeclaration02.ts:2:1]
|
||
2 │
|
||
3 │ var y: z is number;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/unaryOperators/bitwiseNotOperator/bitwiseNotOperatorInvalidOperations.ts:4:1]
|
||
4 │ // operand before ~
|
||
5 │ var a = q~; //expect error
|
||
· ▲
|
||
6 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/decrementOperator/decrementOperatorWithAnyOtherTypeInvalidOperations.ts:36:1]
|
||
36 │ // any type literal
|
||
37 │ var ResultIsNumber11 = --{};
|
||
· ──
|
||
38 │ var ResultIsNumber12 = --null;
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/decrementOperator/decrementOperatorWithEnumTypeInvalidOperations.ts:13:1]
|
||
13 │ // enum type expressions
|
||
14 │ var ResultIsNumber5 = --(ENUM["A"] + ENUM.B);
|
||
· ──────────────────
|
||
15 │ var ResultIsNumber6 = (ENUM.A + ENUM["B"])--;
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/decrementOperator/decrementOperatorWithNumberTypeInvalidOperations.ts:21:1]
|
||
21 │ // number type literal
|
||
22 │ var ResultIsNumber3 = --1;
|
||
· ─
|
||
23 │ var ResultIsNumber4 = --{ x: 1, y: 2};
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/decrementOperator/decrementOperatorWithUnsupportedBooleanType.ts:21:1]
|
||
21 │ // boolean type literal
|
||
22 │ var ResultIsNumber3 = --true;
|
||
· ────
|
||
23 │ var ResultIsNumber4 = --{ x: true, y: false };
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/decrementOperator/decrementOperatorWithUnsupportedStringType.ts:24:1]
|
||
24 │ // string type literal
|
||
25 │ var ResultIsNumber5 = --"";
|
||
· ──
|
||
26 │ var ResultIsNumber6 = --{ x: "", y: "" };
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/unaryOperators/deleteOperator/deleteOperatorInvalidOperations.ts:4:1]
|
||
4 │ // operand before delete operator
|
||
5 │ var BOOLEAN1 = ANY delete ; //expect error
|
||
· ─
|
||
6 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/incrementOperator/incrementOperatorWithAnyOtherTypeInvalidOperations.ts:36:1]
|
||
36 │ // any type literal
|
||
37 │ var ResultIsNumber11 = ++{};
|
||
· ──
|
||
38 │ var ResultIsNumber12 = ++null;
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/incrementOperator/incrementOperatorWithEnumTypeInvalidOperations.ts:13:1]
|
||
13 │ // enum type expressions
|
||
14 │ var ResultIsNumber5 = ++(ENUM[1] + ENUM[2]);
|
||
· ─────────────────
|
||
15 │ var ResultIsNumber6 = (ENUM[1] + ENUM[2])++;
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/incrementOperator/incrementOperatorWithNumberTypeInvalidOperations.ts:21:1]
|
||
21 │ // number type literal
|
||
22 │ var ResultIsNumber3 = ++1;
|
||
· ─
|
||
23 │ var ResultIsNumber4 = ++{ x: 1, y: 2};
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/incrementOperator/incrementOperatorWithUnsupportedBooleanType.ts:21:1]
|
||
21 │ // boolean type literal
|
||
22 │ var ResultIsNumber3 = ++true;
|
||
· ────
|
||
23 │ var ResultIsNumber4 = ++{ x: true, y: false };
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/expressions/unaryOperators/incrementOperator/incrementOperatorWithUnsupportedStringType.ts:24:1]
|
||
24 │ // string type literal
|
||
25 │ var ResultIsNumber5 = ++"";
|
||
· ──
|
||
26 │ var ResultIsNumber6 = ++{ x: "", y: "" };
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/expressions/unaryOperators/logicalNotOperator/logicalNotOperatorInvalidOperations.ts:10:1]
|
||
10 │ // miss an operand
|
||
11 │ var BOOLEAN3 =!;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/expressions/unaryOperators/negateOperator/negateOperatorInvalidOperations.ts:3:1]
|
||
3 │ // operand before -
|
||
4 │ var NUMBER1 = var NUMBER-; //expect error
|
||
· ───
|
||
5 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/expressions/unaryOperators/plusOperator/plusOperatorInvalidOperations.ts:4:1]
|
||
4 │ // operand before +
|
||
5 │ var result1 = b+; //expect error
|
||
· ─
|
||
6 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/unaryOperators/typeofOperator/typeofOperatorInvalidOperations.ts:3:1]
|
||
3 │ // opreand before typeof
|
||
4 │ var ANY = ANY typeof ; //expect error
|
||
· ─
|
||
5 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/expressions/unaryOperators/voidOperator/voidOperatorInvalidOperations.ts:3:1]
|
||
3 │ // operand before void
|
||
4 │ var ANY = ANY void ; //expect error
|
||
· ─
|
||
5 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/externalModules/exportNonInitializedVariablesAMD.ts:2:1]
|
||
2 │
|
||
3 │ var;
|
||
· ─
|
||
4 │ let;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/externalModules/exportNonInitializedVariablesCommonJS.ts:2:1]
|
||
2 │
|
||
3 │ var;
|
||
· ─
|
||
4 │ let;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/externalModules/exportNonInitializedVariablesES6.ts:2:1]
|
||
2 │
|
||
3 │ var;
|
||
· ─
|
||
4 │ let;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/externalModules/exportNonInitializedVariablesSystem.ts:2:1]
|
||
2 │
|
||
3 │ var;
|
||
· ─
|
||
4 │ let;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/externalModules/exportNonInitializedVariablesUMD.ts:2:1]
|
||
2 │
|
||
3 │ var;
|
||
· ─
|
||
4 │ let;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/externalModules/importNonStringLiteral.ts:3:1]
|
||
3 │ var x = "filename";
|
||
4 │ import foo = require(x); // invalid
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `>` but found `,`
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.1.ts:9:1]
|
||
9 │ await (1,);
|
||
10 │ await <number, string>(1);
|
||
· ┬
|
||
· ╰── `>` expected
|
||
11 │
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.12.ts:7:1]
|
||
7 │ // await disallowed in import=namespace when in a module
|
||
8 │ import await = foo.await;
|
||
· ─────
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.12.ts:4:1]
|
||
4 │ export {};
|
||
5 │ declare namespace foo { const await: any; }
|
||
· ─────
|
||
6 │
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.12.ts:7:1]
|
||
7 │ // await disallowed in import=namespace when in a module
|
||
8 │ import await = foo.await;
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.2.ts:6:1]
|
||
6 │ // reparse variable name as await should fail
|
||
7 │ var await = 1;
|
||
· ─────
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.2.ts:6:1]
|
||
6 │ // reparse variable name as await should fail
|
||
7 │ var await = 1;
|
||
· ─────
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.3.ts:6:1]
|
||
6 │ // reparse binding pattern as await should fail
|
||
7 │ var {await} = {await:1};
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.4.ts:6:1]
|
||
6 │ // reparse binding pattern as await should fail
|
||
7 │ var [await] = [1];
|
||
· ─────
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.4.ts:6:1]
|
||
6 │ // reparse binding pattern as await should fail
|
||
7 │ var [await] = [1];
|
||
· ─────
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.5.ts:4:1]
|
||
4 │ // await in exported class name should fail
|
||
5 │ export class await {
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.5.ts:4:1]
|
||
4 │ // await in exported class name should fail
|
||
5 │ export class await {
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.6.ts:4:1]
|
||
4 │ // await in exported function name should fail
|
||
5 │ export function await() {
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× The keyword 'await' is reserved
|
||
╭─[conformance/externalModules/topLevelAwaitErrors.6.ts:4:1]
|
||
4 │ // await in exported function name should fail
|
||
5 │ export function await() {
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Expected `=` but found `;`
|
||
╭─[conformance/externalModules/typeOnly/exportDeclaration_missingBraces.ts:13:1]
|
||
13 │ namespace ns {
|
||
14 │ export type T; // Normal parse error because there is no other 'T'
|
||
· ┬
|
||
· ╰── `=` expected
|
||
15 │ }
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[conformance/functions/functionOverloadErrorsSyntax.ts:8:1]
|
||
8 │ //Function overload signature with rest param followed by non-optional parameter
|
||
9 │ function fn5(x: string, ...y: any[], z: string);
|
||
· ───────────
|
||
10 │ function fn5() { }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:3:1]
|
||
3 │ function a(a = 10) {
|
||
4 │ "use strict";
|
||
· ─────────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:17:1]
|
||
17 │ function rest(...args: any[]) {
|
||
18 │ 'use strict';
|
||
· ─────────────
|
||
19 │ }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:21:1]
|
||
21 │ function rest1(a = 1, ...args) {
|
||
22 │ 'use strict';
|
||
· ─────────────
|
||
23 │ }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:25:1]
|
||
25 │ function paramDefault(param = 1) {
|
||
26 │ 'use strict';
|
||
· ─────────────
|
||
27 │ }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:29:1]
|
||
29 │ function objectBindingPattern({foo}: any) {
|
||
30 │ 'use strict';
|
||
· ─────────────
|
||
31 │ }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:33:1]
|
||
33 │ function arrayBindingPattern([foo]: any[]) {
|
||
34 │ 'use strict';
|
||
· ─────────────
|
||
35 │ }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:37:1]
|
||
37 │ function manyParameter(a = 10, b = 20) {
|
||
38 │ "use strict";
|
||
· ─────────────
|
||
39 │ }
|
||
╰────
|
||
|
||
× Illegal 'use strict' directive in function with non-simple parameter list
|
||
╭─[conformance/functions/functionWithUseStrictAndSimpleParameterList_es2016.ts:42:1]
|
||
42 │ "foo";
|
||
43 │ "use strict";
|
||
· ─────────────
|
||
44 │ }
|
||
╰────
|
||
|
||
× Expected `{` but found `EOF`
|
||
╭─[conformance/importAssertion/importAssertion4.ts:1:1]
|
||
1 │ import * as f from "./first" assert
|
||
╰────
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[conformance/importAssertion/importAssertion5.ts:1:1]
|
||
1 │ import * as f from "./first" assert {
|
||
╰────
|
||
|
||
× The keyword 'interface' is reserved
|
||
╭─[conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface05.ts:2:1]
|
||
2 │
|
||
3 │ var interface: number;
|
||
· ─────────
|
||
4 │
|
||
╰────
|
||
|
||
× The keyword 'interface' is reserved
|
||
╭─[conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface05.ts:9:1]
|
||
9 │
|
||
10 │ interface // This should be the identifier 'interface'
|
||
· ─────────
|
||
11 │ I // This should be the identifier 'I'
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/interfaces/interfaceDeclarations/interfacesWithPredefinedTypesAsNames.ts:4:1]
|
||
4 │ interface boolean { }
|
||
5 │ interface void {}
|
||
· ─
|
||
6 │ interface unknown {}
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[conformance/interfaces/interfacesExtendingClasses/interfaceExtendingClass2.ts:16:1]
|
||
16 │ };
|
||
17 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/internalModules/exportDeclarations/NonInitializedExportInInternalModule.ts:2:1]
|
||
2 │ module Inner {
|
||
3 │ var;
|
||
· ─
|
||
4 │ let;
|
||
╰────
|
||
|
||
× Identifier `Point` has already been declared
|
||
╭─[conformance/internalModules/moduleDeclarations/invalidInstantiatedModule.ts:1:1]
|
||
1 │ module M {
|
||
2 │ export class Point { x: number; y: number }
|
||
· ──┬──
|
||
· ╰── `Point` has already been declared here
|
||
3 │ export var Point = 1; // Error
|
||
· ──┬──
|
||
· ╰── It can not be redeclared here
|
||
4 │ }
|
||
╰────
|
||
|
||
× Identifier `err` has already been declared
|
||
╭─[conformance/jsdoc/jsdocCatchClauseWithTypeAnnotation.ts:39:1]
|
||
39 │ try { }
|
||
40 │ catch (err) {
|
||
· ─┬─
|
||
· ╰── `err` has already been declared here
|
||
41 │ /** @type {string} */
|
||
42 │ let err;
|
||
· ─┬─
|
||
· ╰── It can not be redeclared here
|
||
43 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/jsdoc/jsdocDisallowedInTypescript.ts:3:1]
|
||
3 │ // grammar error from checker
|
||
4 │ var ara: Array.<number> = [1,2,3];
|
||
· ─
|
||
5 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/jsdoc/jsdocParseErrorsInTypescript.ts:1:1]
|
||
1 │ // parse error (blocks grammar errors from checker)
|
||
2 │ function parse1(n: number=) { }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/jsx/checkJsxNamespaceNamesQuestionableForms.tsx:12:1]
|
||
12 │ <a:b></a:b>;
|
||
13 │ <b:c.x></b:c.x>;
|
||
· ─
|
||
14 │ <this:b></this:b>;
|
||
╰────
|
||
|
||
× Expected `}` but found `:`
|
||
╭─[conformance/jsx/jsxAndTypeAssertion.tsx:7:1]
|
||
7 │ var x: any;
|
||
8 │ x = <any> { test: <any></any> };
|
||
· ┬
|
||
· ╰── `}` expected
|
||
9 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/jsx/jsxAttributeInitializer.ts:8:1]
|
||
8 │ <div attr=<><div>foo</div></> />
|
||
9 │ <div attr= />
|
||
· ─
|
||
10 │ </div>
|
||
╰────
|
||
|
||
× TS18007: JSX expressions may not use the comma operator.
|
||
╭─[conformance/jsx/jsxParsingError1.tsx:13:1]
|
||
13 │ const class2 = "bar";
|
||
14 │ const elem = <div className={class1, class2}/>;
|
||
· ──────────────
|
||
╰────
|
||
help: Did you mean to write an array?
|
||
|
||
× Unexpected token
|
||
╭─[conformance/jsx/jsxUnclosedParserRecovery.ts:13:1]
|
||
13 │ var donkey = <div>
|
||
14 │ <
|
||
· ─
|
||
15 │ </div>;
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[conformance/jsx/tsxAttributeInvalidNames.tsx:11:1]
|
||
11 │ // Invalid names
|
||
12 │ <test1 32data={32} />;
|
||
· ────
|
||
13 │ <test2 -data={32} />;
|
||
╰────
|
||
|
||
× Invalid characters after number
|
||
╭─[conformance/jsx/tsxAttributeInvalidNames.tsx:11:1]
|
||
11 │ // Invalid names
|
||
12 │ <test1 32data={32} />;
|
||
· ────
|
||
13 │ <test2 -data={32} />;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/jsx/tsxErrorRecovery1.tsx:6:1]
|
||
6 │ function foo() {
|
||
7 │ var x = <div> { </div>
|
||
· ─
|
||
8 │ }
|
||
╰────
|
||
|
||
× Expected `>` but found `Identifier`
|
||
╭─[conformance/jsx/tsxFragmentErrors.tsx:11:1]
|
||
11 │
|
||
12 │ <>hi</div> // Error
|
||
· ─┬─
|
||
· ╰── `>` expected
|
||
13 │
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[conformance/jsx/tsxStatelessFunctionComponents1.tsx:46:1]
|
||
46 │ let o = {
|
||
47 │ prop1: true;
|
||
· ┬
|
||
· ╰── `,` expected
|
||
48 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `Identifier`
|
||
╭─[conformance/override/overrideKeywordOrder.ts:14:1]
|
||
14 │ override async m1() {}
|
||
15 │ async override m2() {} // error
|
||
· ─┬
|
||
· ╰── `(` expected
|
||
16 │ }
|
||
╰────
|
||
|
||
× Expected `,` but found `get`
|
||
╭─[conformance/parser/ecmascript5/Accessors/parserAccessors10.ts:2:1]
|
||
2 │ var v = {
|
||
3 │ public get foo() { }
|
||
· ─┬─
|
||
· ╰── `,` expected
|
||
4 │ };
|
||
╰────
|
||
|
||
× A 'get' accessor must not have any formal parameters.
|
||
╭─[conformance/parser/ecmascript5/Accessors/parserAccessors7.ts:1:1]
|
||
1 │ // @target: es5
|
||
2 │ var v = { get foo(v: number) { } };
|
||
· ───────────
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/parser/ecmascript5/Accessors/parserAccessors8.ts:1:1]
|
||
1 │ // @target: es5
|
||
2 │ var v = { set foo() { } }
|
||
· ──
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/parser/ecmascript5/Accessors/parserAccessors9.ts:1:1]
|
||
1 │ // @target: es5
|
||
2 │ var v = { set foo(a, b) { } }
|
||
· ──────
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression1.ts:1:1]
|
||
1 │ var v = (public x: string) => { };
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression2.ts:1:1]
|
||
1 │ a = () => { } || a
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `,` but found `||`
|
||
╭─[conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression3.ts:1:1]
|
||
1 │ a = (() => { } || a)
|
||
· ─┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration3.ts:1:1]
|
||
1 │ class C {
|
||
2 │ export constructor() { }
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Classes can't have a field named 'constructor'
|
||
╭─[conformance/parser/ecmascript5/ConstructorDeclarations/parserConstructorDeclaration8.ts:2:1]
|
||
2 │ // Not a constructor
|
||
3 │ public constructor;
|
||
· ───────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/EnumDeclarations/parserEnum4.ts:3:1]
|
||
3 │ export enum SignatureFlags {
|
||
4 │ ,
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected `,` but found `:`
|
||
╭─[conformance/parser/ecmascript5/EnumDeclarations/parserEnum5.ts:1:1]
|
||
1 │ enum E2 { a, }
|
||
2 │ enum E3 { a: 1, }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
3 │ enum E1 { a, b: 1, c, d: 2 = 3 }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/EnumDeclarations/parserEnumDeclaration4.ts:1:1]
|
||
1 │ enum void {
|
||
· ────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/AccessibilityAfterStatic/parserAccessibilityAfterStatic6.ts:2:1]
|
||
2 │ {
|
||
3 │ static public
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList1.ts:2:1]
|
||
2 │ bar(
|
||
3 │ return x;
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList2.ts:1:1]
|
||
1 │ function foo() {
|
||
2 │ bar(;
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList3.ts:2:1]
|
||
2 │ bar(a,
|
||
3 │ return;
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Expected `,` but found `return`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList4.ts:2:1]
|
||
2 │ bar(a,b
|
||
3 │ return;
|
||
· ───┬──
|
||
· ╰── `,` expected
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList6.ts:1:1]
|
||
1 │ Foo(,
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList7.ts:1:1]
|
||
1 │ Foo(a,,
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `,` but found `decimal`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArrayLiteralExpressions/parserErrorRecoveryArrayLiteralExpression1.ts:1:1]
|
||
1 │ var v = [1, 2, 3
|
||
2 │ 4, 5, 6, 7];
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `float`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArrayLiteralExpressions/parserErrorRecoveryArrayLiteralExpression2.ts:2:1]
|
||
2 │
|
||
3 │ .7042760848999023, 1.1955541372299194, 0.19600726664066315, -0.7120069861412048];
|
||
· ────────┬────────
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArrayLiteralExpressions/parserErrorRecoveryArrayLiteralExpression3.ts:1:1]
|
||
1 │ var texCoords = [2, 2, 0.5000001192092895, 0.8749999 ; 403953552, 0.5000001192092895, 0.8749999403953552];
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArrowFunctions/ArrowFunction1.ts:1:1]
|
||
1 │ var v = (a: ) => {
|
||
· ─
|
||
2 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArrowFunctions/ArrowFunction3.ts:1:1]
|
||
1 │ var v = (a): => {
|
||
· ▲
|
||
2 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArrowFunctions/parserX_ArrowFunction1.ts:1:1]
|
||
1 │ var v = (a: ) => {
|
||
· ─
|
||
2 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ArrowFunctions/parserX_ArrowFunction3.ts:1:1]
|
||
1 │ var v = (a): => {
|
||
· ▲
|
||
2 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/Blocks/parserErrorRecovery_Block1.ts:2:1]
|
||
2 │ 1 +
|
||
3 │ return;
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Invalid Character `¬`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/Blocks/parserErrorRecovery_Block2.ts:1:1]
|
||
1 │ function f() {
|
||
2 │ ¬
|
||
· ─
|
||
3 │ return;
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/Blocks/parserErrorRecovery_Block3.ts:3:1]
|
||
3 │
|
||
4 │ private b(): boolean {
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ClassElements/parserErrorRecovery_ClassElement1.ts:4:1]
|
||
4 │ // this as a source unit element.
|
||
5 │ class D {
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ClassElements/parserErrorRecovery_ClassElement2.ts:3:1]
|
||
3 │
|
||
4 │ enum E {
|
||
· ─
|
||
5 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Character `¬`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ClassElements/parserErrorRecovery_ClassElement3.ts:1:1]
|
||
1 │ module M {
|
||
2 │ ¬
|
||
· ─
|
||
3 │ class C {
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/Expressions/parserErrorRecovery_Expression1.ts:1:1]
|
||
1 │ var v = ()({});
|
||
· ──
|
||
╰────
|
||
|
||
× Expected `{` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause1.ts:1:1]
|
||
1 │ class C extends {
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `{` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause2.ts:1:1]
|
||
1 │ class C extends A, {
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `{` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause3.ts:1:1]
|
||
1 │ class C extends implements A {
|
||
· ┬
|
||
· ╰── `{` expected
|
||
2 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause4.ts:1:1]
|
||
1 │ class C extends A implements {
|
||
· ─
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `{` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause5.ts:1:1]
|
||
1 │ class C extends A, implements B, {
|
||
· ┬
|
||
· ╰── `{` expected
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `{` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause6.ts:1:1]
|
||
1 │ interface I extends { }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement1.ts:3:1]
|
||
3 │ if (
|
||
4 │ }
|
||
· ─
|
||
5 │ f2() {
|
||
╰────
|
||
|
||
× Expected `)` but found `}`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement2.ts:3:1]
|
||
3 │ if (a
|
||
4 │ }
|
||
· ┬
|
||
· ╰── `)` expected
|
||
5 │ f2() {
|
||
╰────
|
||
|
||
× Expected `)` but found `}`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement3.ts:3:1]
|
||
3 │ if (a.b
|
||
4 │ }
|
||
· ┬
|
||
· ╰── `)` expected
|
||
5 │ f2() {
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement4.ts:3:1]
|
||
3 │ if (a.b)
|
||
4 │ }
|
||
· ─
|
||
5 │ f2() {
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement5.ts:4:1]
|
||
4 │ }
|
||
5 │ f2() {
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/IfStatements/parserErrorRecoveryIfStatement6.ts:4:1]
|
||
4 │ }
|
||
5 │ public f2() {
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/IncompleteMemberVariables/parserErrorRecovery_IncompleteMemberVariable2.ts:11:1]
|
||
11 │
|
||
12 │ public con:C "hello";
|
||
· ─
|
||
13 │ // Constructor
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/LeftShifts/parserErrorRecovery_LeftShift1.ts:1:1]
|
||
1 │ retValue = bfs.VARIABLES >> );
|
||
· ─
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement1.ts:1:1]
|
||
1 │ return foo;
|
||
· ──────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement1.ts:1:1]
|
||
1 │ return foo;
|
||
2 │ }
|
||
· ─
|
||
3 │ return bar;
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement2.ts:6:1]
|
||
6 │
|
||
7 │ )
|
||
· ─
|
||
8 │ )
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ObjectLiterals/parserErrorRecovery_ObjectLiteral1.ts:1:1]
|
||
1 │ var v = { a: 1 b: 2 }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `return`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ObjectLiterals/parserErrorRecovery_ObjectLiteral2.ts:1:1]
|
||
1 │ var v = { a
|
||
2 │ return;
|
||
· ───┬──
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ObjectLiterals/parserErrorRecovery_ObjectLiteral3.ts:1:1]
|
||
1 │ var v = { a:
|
||
2 │ return;
|
||
· ──────
|
||
╰────
|
||
|
||
× Expected `,` but found `return`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ObjectLiterals/parserErrorRecovery_ObjectLiteral4.ts:1:1]
|
||
1 │ var v = { a: 1
|
||
2 │ return;
|
||
· ───┬──
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ObjectLiterals/parserErrorRecovery_ObjectLiteral5.ts:1:1]
|
||
1 │ var v = { a: 1,
|
||
2 │ return;
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `,` but found `{`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList1.ts:1:1]
|
||
1 │ function f(a {
|
||
· ┬
|
||
· ╰── `,` expected
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `)` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList2.ts:1:1]
|
||
1 │ function f(a, {
|
||
2 │ }
|
||
╰────
|
||
|
||
× Invalid Character `¬`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList4.ts:1:1]
|
||
1 │ function f(a,¬) {
|
||
· ─
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `,` but found `=>`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/ParameterLists/parserErrorRecovery_ParameterList5.ts:1:1]
|
||
1 │ (a:number => { }
|
||
· ─┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/SourceUnits/parserErrorRecovery_SourceUnit1.ts:2:1]
|
||
2 │ }
|
||
3 │ }
|
||
· ─
|
||
4 │ class D {
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement1.ts:3:1]
|
||
3 │ 1 +
|
||
4 │ case 2:
|
||
· ────
|
||
5 │ 1 +
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement2.ts:4:1]
|
||
4 │
|
||
5 │ class D {
|
||
· ─────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/TypeArgumentLists/TypeArgumentList1.ts:1:1]
|
||
1 │ Foo<A,B,\ C>(4, 5, 6);
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/TypeArgumentLists/parserX_TypeArgumentList1.ts:1:1]
|
||
1 │ Foo<A,B,\ C>(4, 5, 6);
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/VariableLists/parserErrorRecovery_VariableList1.ts:1:1]
|
||
1 │ var a,
|
||
2 │ return;
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/VariableLists/parserInvalidIdentifiersInVariableStatements1.ts:1:1]
|
||
1 │ var export;
|
||
· ──────
|
||
2 │ var foo;
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserEmptyParenthesizedExpression1.ts:1:1]
|
||
1 │ function getObj() {
|
||
2 │ ().toString();
|
||
· ──
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected `(` but found `=>`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserEqualsGreaterThanAfterFunction1.ts:1:1]
|
||
1 │ function =>
|
||
· ─┬
|
||
· ╰── `(` expected
|
||
╰────
|
||
|
||
× Expected `,` but found `=>`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserEqualsGreaterThanAfterFunction2.ts:1:1]
|
||
1 │ function (a => b;
|
||
· ─┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserErrantAccessibilityModifierInModule1.ts:2:1]
|
||
2 │ var x=10; // variable local to this module body
|
||
3 │ private y=x; // property visible only in module
|
||
· ─
|
||
4 │ export var z=y; // property visible to any code
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserErrantEqualsGreaterThanAfterFunction1.ts:1:1]
|
||
1 │ function f() => 4;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserErrantEqualsGreaterThanAfterFunction2.ts:1:1]
|
||
1 │ function f(p: A) => p;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserErrantSemicolonInClass1.ts:14:1]
|
||
14 │ }
|
||
15 │ public set d() {
|
||
· ──
|
||
16 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserFuzz1.ts:1:1]
|
||
1 │ cla <ss {
|
||
· ─
|
||
2 │ _ static try
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserMissingLambdaOpenBrace1.ts:3:1]
|
||
3 │ return fromDoWhile(test =>
|
||
4 │ var index = 0;
|
||
· ───
|
||
5 │ return this.doWhile((item, i) => filter(item, i) ? test(item, index++) : true);
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserPublicBreak1.ts:1:1]
|
||
1 │ public break;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserStatementIsNotAMemberVariableDeclaration1.ts:1:1]
|
||
1 │ return {
|
||
· ──────
|
||
2 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNameBeforeKeyword1.ts:1:1]
|
||
1 │ var x: TypeModule1.
|
||
2 │ module TypeModule2 {
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `>` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserUnterminatedGeneric1.ts:1:1]
|
||
1 │ interface IQService {
|
||
2 │ all(promises: IPromise < any > []): IPromise<
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/ErrorRecovery/parserUnterminatedGeneric2.ts:1:1]
|
||
1 │ declare module ng {
|
||
2 │ interfaceICompiledExpression {
|
||
· ─
|
||
3 │ (context: any, locals?: any): any;
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment3.ts:1:1]
|
||
1 │ export =
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment4.ts:1:1]
|
||
1 │ export = ;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Expressions/parseIncompleteBinaryExpression1.ts:1:1]
|
||
1 │ var v = || b;
|
||
· ──
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserAssignmentExpression1.ts:1:1]
|
||
1 │ (foo()) = bar;
|
||
· ─────
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserMemberAccessAfterPostfixExpression1.ts:1:1]
|
||
1 │ // @lib: es5
|
||
2 │ a--.toString()
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserPostfixPostfixExpression1.ts:1:1]
|
||
1 │ a++ ++;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts:1:1]
|
||
1 │ foo ++ ++;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserTypeAssertionInObjectCreationExpression1.ts:1:1]
|
||
1 │ new <T>Foo()
|
||
· ─
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserUnaryExpression1.ts:1:1]
|
||
1 │ ++this;
|
||
· ────
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserUnaryExpression2.ts:1:1]
|
||
1 │ ++function(e) { }
|
||
· ───────────────
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserUnaryExpression3.ts:1:1]
|
||
1 │ ++[0];
|
||
· ───
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserUnaryExpression4.ts:1:1]
|
||
1 │ ++{};
|
||
· ──
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserUnaryExpression5.ts:1:1]
|
||
1 │ ++ delete foo.bar
|
||
· ──────────────
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Expressions/parserUnaryExpression7.ts:1:1]
|
||
1 │ ++ new Foo();
|
||
· ─────────
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Fuzz/parser0_004152.ts:1:1]
|
||
1 │ export class Game {
|
||
2 │ private position = new DisplayPosition([), 3, 3, 3, 3, 3, 0, 3, 3, 3, 3, 3, 3, 0], NoMove, 0);
|
||
· ─
|
||
3 │ private prevConfig: SeedCoords[][];
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity11.ts:1:1]
|
||
1 │ 1 >>= 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity12.ts:1:1]
|
||
1 │ 1 >> = 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity13.ts:1:1]
|
||
1 │ 1 >>/**/= 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity14.ts:1:1]
|
||
1 │ 1 >>
|
||
2 │ = 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity15.ts:1:1]
|
||
1 │ 1
|
||
· ─
|
||
2 │ // before
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity16.ts:1:1]
|
||
1 │ 1 >>>= 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity17.ts:1:1]
|
||
1 │ 1 >>> = 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity18.ts:1:1]
|
||
1 │ 1 >>>/**/= 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity19.ts:1:1]
|
||
1 │ 1 >>>
|
||
2 │ = 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity2.ts:1:1]
|
||
1 │ 1 > > 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity20.ts:1:1]
|
||
1 │ 1
|
||
· ─
|
||
2 │ // Before
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity3.ts:1:1]
|
||
1 │ 1 >/**/> 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity4.ts:1:1]
|
||
1 │ 1 >
|
||
2 │ > 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity7.ts:1:1]
|
||
1 │ 1 >> > 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity8.ts:1:1]
|
||
1 │ 1 >>/**/> 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity9.ts:1:1]
|
||
1 │ 1 >>
|
||
2 │ > 2;
|
||
· ─
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/IndexMemberDeclarations/parserIndexMemberDeclaration9.ts:1:1]
|
||
1 │ class C {
|
||
2 │ export [x: string]: string;
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature1.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ [...a]
|
||
· ───
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected `]` but found `,`
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature10.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ [a, b]: number
|
||
· ┬
|
||
· ╰── `]` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature11.ts:2:1]
|
||
2 │ [p]; // Used to be indexer, now it is a computed property
|
||
3 │ [p1: string];
|
||
· ─
|
||
4 │ [p2: string, p3: number];
|
||
╰────
|
||
|
||
× Expected `]` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature2.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ [public a]
|
||
· ┬
|
||
· ╰── `]` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature3.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ [a?]
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature6.ts:2:1]
|
||
2 │ [a:boolean]
|
||
3 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature7.ts:2:1]
|
||
2 │ [a:string]
|
||
3 │ }
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature8.ts:1:1]
|
||
1 │ var foo: { [index: any]; }; // expect an error here
|
||
· ─
|
||
2 │ var foo2: { [index: RegExp]; }; // expect an error here
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature9.ts:1:1]
|
||
1 │ interface I {
|
||
2 │ []: number
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration10.ts:2:1]
|
||
2 │ class C {
|
||
3 │ export get Foo() { }
|
||
· ─
|
||
4 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× A 'get' accessor must not have any formal parameters.
|
||
╭─[conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration12.ts:2:1]
|
||
2 │ class C {
|
||
3 │ get Foo(a: number) { }
|
||
· ───────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration13.ts:2:1]
|
||
2 │ class C {
|
||
3 │ set Foo() { }
|
||
· ──
|
||
4 │ }
|
||
╰────
|
||
|
||
× A 'set' accessor must have exactly one parameter.
|
||
╭─[conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration14.ts:2:1]
|
||
2 │ class C {
|
||
3 │ set Foo(a: number, b: number) { }
|
||
· ──────────────────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× A 'set' accessor function argument must not be a rest parameter
|
||
╭─[conformance/parser/ecmascript5/MemberAccessorDeclarations/parserMemberAccessorDeclaration18.ts:2:1]
|
||
2 │ class C {
|
||
3 │ set Foo(...a) { }
|
||
· ────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/MemberFunctionDeclarations/parserMemberFunctionDeclaration4.ts:1:1]
|
||
1 │ class C {
|
||
2 │ export Foo() { }
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/MemberVariableDeclarations/parserMemberVariableDeclaration4.ts:1:1]
|
||
1 │ class C {
|
||
2 │ export Foo;
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts:1:1]
|
||
1 │ a / finally
|
||
· ───────
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[conformance/parser/ecmascript5/MissingTokens/parserMissingToken2.ts:1:1]
|
||
1 │ / b;
|
||
· ────
|
||
╰────
|
||
|
||
× Expected `(` but found `;`
|
||
╭─[conformance/parser/ecmascript5/ObjectTypes/parserObjectType5.ts:2:1]
|
||
2 │ A: B
|
||
3 │ <T>;
|
||
· ┬
|
||
· ╰── `(` expected
|
||
4 │ };
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/ObjectTypes/parserObjectType6.ts:2:1]
|
||
2 │ a: B
|
||
3 │ [];
|
||
· ─
|
||
4 │ };
|
||
╰────
|
||
|
||
× Rest element must be last element
|
||
╭─[conformance/parser/ecmascript5/ParameterLists/parserParameterList1.ts:1:1]
|
||
1 │ class C {
|
||
2 │ F(...A, B) { }
|
||
· ────
|
||
3 │ }
|
||
╰────
|
||
|
||
× A rest parameter cannot have an initializer
|
||
╭─[conformance/parser/ecmascript5/ParameterLists/parserParameterList10.ts:1:1]
|
||
1 │ class C {
|
||
2 │ foo(...bar = 0) { }
|
||
· ──────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected `)` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/ParameterLists/parserParameterList5.ts:1:1]
|
||
1 │ function A(): (public B) => C {
|
||
· ┬
|
||
· ╰── `)` expected
|
||
2 │ }
|
||
╰────
|
||
|
||
× Expected `)` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/ParameterLists/parserParameterList6.ts:1:1]
|
||
1 │ class C {
|
||
2 │ constructor(C: (public A) => any) {
|
||
· ┬
|
||
· ╰── `)` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RealWorld/parserharness.ts:1430:1]
|
||
1430 │ // Regex for parsing options in the format "@Alpha: Value of any sort"
|
||
1431 │ private optionRegex = /^[\/]{2}\s*@(\w+):\s*(\S*)/gm; // multiple matches on multiple lines
|
||
· ─
|
||
1432 │
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser509630.ts:2:1]
|
||
2 │ public examples = [ // typing here
|
||
3 │ }
|
||
· ─
|
||
4 │ class Any extends Type {
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser509667.ts:3:1]
|
||
3 │ if (this.
|
||
4 │ }
|
||
· ─
|
||
5 │
|
||
╰────
|
||
|
||
× Empty parenthesized expression
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser509669.ts:1:1]
|
||
1 │ function foo():any {
|
||
2 │ return ():void {};
|
||
· ──
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser509669.ts:1:1]
|
||
1 │ function foo():any {
|
||
2 │ return ():void {};
|
||
· ▲
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `}` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser512084.ts:1:1]
|
||
1 │ class foo {
|
||
╰────
|
||
|
||
× Expected `,` but found `;`
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser512097.ts:1:1]
|
||
1 │ var tt = { aa; }
|
||
· ┬
|
||
· ╰── `,` expected
|
||
2 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser512325.ts:1:1]
|
||
1 │ var tt = (a, (b, c)) => a+b+c;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser519458.ts:1:1]
|
||
1 │ import rect = module("rect"); var bar = new rect.Rect();
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser521128.ts:1:1]
|
||
1 │ module.module { }
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Empty parenthesized expression
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser566700.ts:1:1]
|
||
1 │ var v = ()({});
|
||
· ──
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser585151.ts:1:1]
|
||
1 │ class Foo2 {
|
||
2 │ var icecream = "chocolate";
|
||
· ─
|
||
3 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser642331.ts:1:1]
|
||
1 │ class test {
|
||
2 │ constructor (static) { }
|
||
· ──────
|
||
3 │ }
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser642331_1.ts:3:1]
|
||
3 │ class test {
|
||
4 │ constructor (static) { }
|
||
· ──────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser645086_1.ts:1:1]
|
||
1 │ var v = /[]/]/
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegressionTests/parser645086_2.ts:1:1]
|
||
1 │ var v = /[^]/]/
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression1.ts:1:1]
|
||
1 │ return /(#?-?\d*\.\d\w*%?)|(@?#?[\w-?]+%?)/g;
|
||
· ──────
|
||
╰────
|
||
|
||
× Unexpected flag a in regular expression literal
|
||
╭─[conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity3.ts:1:1]
|
||
1 │ if (1) /regexp/a.foo();
|
||
· ▲
|
||
╰────
|
||
|
||
× Unterminated regular expression
|
||
╭─[conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity4.ts:1:1]
|
||
1 │ foo(/notregexp);
|
||
· ────────────
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity7.ts:1:1]
|
||
1 │ (a/8
|
||
2 │ ){}
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens1.ts:1:1]
|
||
1 │ \
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens10.ts:1:1]
|
||
1 │ \
|
||
· ─
|
||
2 │ \
|
||
3 │ /*existing trivia*/ ;
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens10.ts:1:1]
|
||
1 │ \
|
||
2 │ \
|
||
· ─
|
||
3 │ /*existing trivia*/ ;
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts:1:1]
|
||
1 │ ; \ \ \
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts:1:1]
|
||
1 │ ; \ \ \
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts:1:1]
|
||
1 │ ; \ \ \
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts:1:1]
|
||
1 │ \ \ \
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts:1:1]
|
||
1 │ \ \ \
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts:1:1]
|
||
1 │ \ \ \
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens13.ts:1:1]
|
||
1 │ /regexp/ \ ;
|
||
· ─
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens13.ts:1:1]
|
||
1 │ /regexp/ \ ;
|
||
· ─
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens14.ts:1:1]
|
||
1 │ \
|
||
· ─
|
||
2 │ /*existing trivia*/
|
||
3 │ \
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens14.ts:2:1]
|
||
2 │ /*existing trivia*/
|
||
3 │ \
|
||
· ─
|
||
4 │ ;
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens15.ts:1:1]
|
||
1 │ /*existing trivia*/
|
||
2 │ \
|
||
· ─
|
||
3 │ \
|
||
4 │ ;
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens15.ts:2:1]
|
||
2 │ \
|
||
3 │ \
|
||
· ─
|
||
4 │ ;
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens16.ts:1:1]
|
||
1 │ foo(): Bar { }
|
||
· ▲
|
||
2 │ function Foo () ¬ { }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens17.ts:1:1]
|
||
1 │ foo(a, \
|
||
╰────
|
||
|
||
× Expected `)` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens17.ts:1:1]
|
||
1 │ foo(a, \
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens18.ts:1:1]
|
||
1 │ foo(a \
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens18.ts:1:1]
|
||
1 │ foo(a \
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens19.ts:1:1]
|
||
1 │ \ declare var v;
|
||
· ─
|
||
╰────
|
||
|
||
× Keywords cannot contain escape characters
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens19.ts:1:1]
|
||
1 │ \ declare var v;
|
||
· ─────────
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens2.ts:1:1]
|
||
1 │ \\
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens20.ts:1:1]
|
||
1 │ var v: X<T \
|
||
╰────
|
||
|
||
× Expected `,` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens20.ts:1:1]
|
||
1 │ var v: X<T \
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens3.ts:1:1]
|
||
1 │ \ ; \
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens3.ts:1:1]
|
||
1 │ \ ; \
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens4.ts:1:1]
|
||
1 │ \ /regexp/;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens4.ts:1:1]
|
||
1 │ \ /regexp/;
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens5.ts:1:1]
|
||
1 │ \ /*foo*/ ;
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens6.ts:1:1]
|
||
1 │ /*foo*/ \
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens7.ts:1:1]
|
||
1 │ /*foo*/ \ /*bar*/
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens8.ts:1:1]
|
||
1 │ ;
|
||
2 │ /*foo*/ \ /*bar*/
|
||
· ─
|
||
╰────
|
||
|
||
× Invalid Unicode escape sequence
|
||
╭─[conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens9.ts:1:1]
|
||
1 │ ; // existing trivia
|
||
2 │ /*foo*/ \ /*bar*/
|
||
· ─
|
||
╰────
|
||
|
||
× Illegal break statement
|
||
╭─[conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement1.ts:1:1]
|
||
1 │ break;
|
||
· ──────
|
||
╰────
|
||
help: A `break` statement can only be used within an enclosing iteration or switch statement.
|
||
|
||
× Illegal break statement
|
||
╭─[conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement2.ts:2:1]
|
||
2 │ function f() {
|
||
3 │ break;
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
help: A `break` statement can only be used within an enclosing iteration or switch statement.
|
||
|
||
× Jump target cannot cross function boundary.
|
||
╭─[conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget5.ts:4:1]
|
||
4 │ while (true) {
|
||
5 │ break target;
|
||
· ──────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Use of undefined label
|
||
╭─[conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget6.ts:1:1]
|
||
1 │ while (true) {
|
||
2 │ break target;
|
||
· ───┬──
|
||
· ╰── This label is used, but not defined
|
||
3 │ }
|
||
╰────
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement1.ts:1:1]
|
||
1 │ continue;
|
||
· ─────────
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement2.ts:2:1]
|
||
2 │ function f() {
|
||
3 │ continue;
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× Illegal continue statement: no surrounding iteration statement
|
||
╭─[conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement3.ts:2:1]
|
||
2 │ default:
|
||
3 │ continue;
|
||
· ─────────
|
||
4 │ }
|
||
╰────
|
||
help: A `continue` statement can only be used within an enclosing `for`, `while` or `do while`
|
||
|
||
× A `continue` statement can only jump to a label of an enclosing `for`, `while` or `do while` statement.
|
||
╭─[conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget1.ts:1:1]
|
||
1 │ target:
|
||
· ───┬──
|
||
· ╰── This is an non-iteration statement
|
||
2 │ continue target;
|
||
· ───┬──
|
||
· ╰── for this label
|
||
╰────
|
||
|
||
× Jump target cannot cross function boundary.
|
||
╭─[conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget5.ts:4:1]
|
||
4 │ while (true) {
|
||
5 │ continue target;
|
||
· ──────
|
||
6 │ }
|
||
╰────
|
||
|
||
× Use of undefined label
|
||
╭─[conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget6.ts:1:1]
|
||
1 │ while (true) {
|
||
2 │ continue target;
|
||
· ───┬──
|
||
· ╰── This label is used, but not defined
|
||
3 │ }
|
||
╰────
|
||
|
||
× Identifier `target` has already been declared
|
||
╭─[conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel1.ts:1:1]
|
||
1 │ target:
|
||
· ───┬──
|
||
· ╰── `target` has already been declared here
|
||
2 │ target:
|
||
· ───┬──
|
||
· ╰── It can not be redeclared here
|
||
3 │ while (true) {
|
||
╰────
|
||
|
||
× Identifier `target` has already been declared
|
||
╭─[conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel2.ts:1:1]
|
||
1 │ target:
|
||
· ───┬──
|
||
· ╰── `target` has already been declared here
|
||
2 │ while (true) {
|
||
3 │ target:
|
||
· ───┬──
|
||
· ╰── It can not be redeclared here
|
||
4 │ while (true) {
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement1.ts:1:1]
|
||
1 │ return;
|
||
· ──────
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement2.ts:1:1]
|
||
1 │ {
|
||
2 │ return;
|
||
· ──────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected `;` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript5/Statements/parserES5ForOfStatement2.ts:1:1]
|
||
1 │ //@target: ES5
|
||
2 │ for (var of X) {
|
||
· ┬
|
||
· ╰── `;` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Statements/parserES5ForOfStatement21.ts:1:1]
|
||
1 │ //@target: ES5
|
||
2 │ for (var of of) { }
|
||
· ─
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...of` statement
|
||
╭─[conformance/parser/ecmascript5/Statements/parserES5ForOfStatement3.ts:1:1]
|
||
1 │ //@target: ES5
|
||
2 │ for (var a, b of X) {
|
||
· ────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× for-of loop variable declaration may not have an initializer
|
||
╭─[conformance/parser/ecmascript5/Statements/parserES5ForOfStatement4.ts:1:1]
|
||
1 │ //@target: ES5
|
||
2 │ for (var a = 1 of X) {
|
||
· ─────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...of` statement
|
||
╭─[conformance/parser/ecmascript5/Statements/parserES5ForOfStatement6.ts:1:1]
|
||
1 │ //@target: ES5
|
||
2 │ for (var a = 1, b = 2 of X) {
|
||
· ────────────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...of` statement
|
||
╭─[conformance/parser/ecmascript5/Statements/parserES5ForOfStatement7.ts:1:1]
|
||
1 │ //@target: ES5
|
||
2 │ for (var a: number = 1, b: string = "" of X) {
|
||
· ─────────────────────────────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForInStatement2.ts:1:1]
|
||
1 │ for (var in X) {
|
||
· ──
|
||
2 │ }
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...in` statement
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForInStatement3.ts:1:1]
|
||
1 │ for (var a, b in X) {
|
||
· ────────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...in` statement
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForInStatement6.ts:1:1]
|
||
1 │ for (var a = 1, b = 2 in X) {
|
||
· ────────────────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...in` statement
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForInStatement7.ts:1:1]
|
||
1 │ for (var a: number = 1, b: string = "" in X) {
|
||
· ─────────────────────────────────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForStatement4.ts:1:1]
|
||
1 │ for (a = 1 in b) {
|
||
· ─────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForStatement6.ts:1:1]
|
||
1 │ for (foo() in b) {
|
||
· ─────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForStatement7.ts:1:1]
|
||
1 │ for (new foo() in b) {
|
||
· ─────────
|
||
2 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Statements/parserForStatement8.ts:1:1]
|
||
1 │ for (this in b) {
|
||
· ────
|
||
2 │ }
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/Statements/parserReturnStatement1.d.ts:1:1]
|
||
1 │ return;
|
||
· ──────
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/Statements/parserWithStatement2.ts:1:1]
|
||
1 │ with (1)
|
||
2 │ return;
|
||
· ──────
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[conformance/parser/ecmascript5/Statements/parserWithStatement2.ts:1:1]
|
||
1 │ with (1)
|
||
· ────
|
||
2 │ return;
|
||
╰────
|
||
|
||
× '0'-prefixed octal literals and octal escape sequences are deprecated
|
||
╭─[conformance/parser/ecmascript5/StrictMode/octalLiteralInStrictModeES3.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ 03;
|
||
· ──
|
||
╰────
|
||
help: for octal literals use the '0o' prefix instead
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode10.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ function f(eval) {
|
||
· ────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode11.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ var v = function f(eval) {
|
||
· ────
|
||
3 │ };
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode12.ts:2:1]
|
||
2 │ "use strict";
|
||
3 │ var v = { set foo(eval) { } }
|
||
· ────
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode13.ts:3:1]
|
||
3 │ }
|
||
4 │ catch(eval) {
|
||
· ────
|
||
5 │ }
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode14.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ with (a) {
|
||
· ────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Delete of an unqualified identifier in strict mode.
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode15.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ delete a;
|
||
· ─
|
||
╰────
|
||
|
||
× The keyword 'static' is reserved
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode2.ts:4:1]
|
||
4 │ foo1();
|
||
5 │ static();
|
||
· ──────
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode3.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ eval = 1;
|
||
· ────
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode4.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ arguments = 1;
|
||
· ─────────
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode5.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ eval += 1;
|
||
· ────
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode6.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ eval++;
|
||
· ────
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode7.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ ++eval;
|
||
· ────
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode8.ts:2:1]
|
||
2 │ "use strict";
|
||
3 │ function eval() {
|
||
· ────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/parser/ecmascript5/StrictMode/parserStrictMode9.ts:1:1]
|
||
1 │ "use strict";
|
||
2 │ var v = function eval() {
|
||
· ────
|
||
3 │ };
|
||
╰────
|
||
|
||
× 'super' can only be used with function calls or in property accesses
|
||
╭─[conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression2.ts:2:1]
|
||
2 │ M() {
|
||
3 │ super<T>(0);
|
||
· ─────
|
||
4 │ }
|
||
╰────
|
||
help: replace with `super()` or `super.prop` or `super[prop]`
|
||
|
||
× Super calls are not permitted outside constructors or in nested functions inside constructors.
|
||
│
|
||
╭─[conformance/parser/ecmascript5/SuperExpressions/parserSuperExpression2.ts:2:1]
|
||
2 │ M() {
|
||
3 │ super<T>(0);
|
||
· ───────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Expected `]` but found `EOF`
|
||
╭─[conformance/parser/ecmascript5/TupleTypes/TupleType4.ts:1:1]
|
||
1 │ var v: [
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/TupleTypes/TupleType6.ts:1:1]
|
||
1 │ var v: [number,,]
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Types/parserTypeQuery3.ts:1:1]
|
||
1 │ var v: typeof A.
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/Types/parserTypeQuery4.ts:1:1]
|
||
1 │ var v: typeof A.;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration10.ts:1:1]
|
||
1 │ var a,;
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration5.ts:1:1]
|
||
1 │ var a,
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration6.ts:1:1]
|
||
1 │ var
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/VariableDeclarations/parserVariableDeclaration8.ts:1:1]
|
||
1 │ var ;
|
||
· ─
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[conformance/parser/ecmascript5/parser10.1.1-8gs.ts:18:1]
|
||
18 │ throw NotEarlyError;
|
||
19 │ var public = 1;
|
||
· ──────
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[conformance/parser/ecmascript5/parserKeywordsAsIdentifierName2.ts:1:1]
|
||
1 │ // 'public' should be marked unusable, should complain on trailing /*
|
||
2 │ a.public /*
|
||
· ──
|
||
╰────
|
||
|
||
× TS1108: A 'return' statement can only be used within a function body
|
||
╭─[conformance/parser/ecmascript5/parserNotRegex1.ts:2:1]
|
||
2 │ {
|
||
3 │ return true;
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserObjectCreationArrayLiteral1.ts:1:1]
|
||
1 │ new Foo[];
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserObjectCreationArrayLiteral3.ts:1:1]
|
||
1 │ new Foo[]();
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserRealSource10.ts:126:1]
|
||
126 │
|
||
127 │ export var tokenTable = new TokenInfo[];
|
||
· ─
|
||
128 │ export var nodeTypeTable = new string[];
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserRealSource11.ts:192:1]
|
||
192 │ public enclosingScope: SymbolScope = null;
|
||
193 │ public members: AST[] = new AST[];
|
||
· ─
|
||
194 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserRealSource4.ts:194:1]
|
||
194 │ public itemCount: number = 0;
|
||
195 │ public table = new HashEntry[];
|
||
· ─
|
||
196 │
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserRealSource7.ts:15:1]
|
||
15 │ if (baseTypeLinks == null) {
|
||
16 │ baseTypeLinks = new TypeLink[];
|
||
· ─
|
||
17 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserRealSource9.ts:11:1]
|
||
11 │ if (typeLinks) {
|
||
12 │ extendsList = new Type[];
|
||
· ─
|
||
13 │ for (var i = 0, len = typeLinks.length; i < len; i++) {
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript5/parserS12.11_A3_T4.ts:15:1]
|
||
15 │ switch(value) {
|
||
16 │ case:
|
||
· ─
|
||
17 │ result += 2;
|
||
╰────
|
||
|
||
× Cannot assign to this expression
|
||
╭─[conformance/parser/ecmascript5/parserS7.9_A5.7_T1.ts:15:1]
|
||
15 │ x
|
||
16 │ ╭─▶ ++
|
||
17 │ │ ++
|
||
18 │ ╰─▶ y
|
||
19 │
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript5/parservoidInQualifiedName1.ts:1:1]
|
||
1 │ var v : void.x;
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName1.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ var v = { [e] };
|
||
· ─
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName27.ts:4:1]
|
||
4 │ [e]: number = 0
|
||
5 │ [e2]: number
|
||
· ▲
|
||
6 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `,` but found `[`
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName30.ts:4:1]
|
||
4 │ [e] = id++
|
||
5 │ [e2] = 1
|
||
· ┬
|
||
· ╰── `,` expected
|
||
6 │ }
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName33.ts:4:1]
|
||
4 │ [e] = 0
|
||
5 │ [e2]() { }
|
||
· ─
|
||
6 │ }
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Expected `]` but found `,`
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName35.ts:2:1]
|
||
2 │ var x = {
|
||
3 │ [0, 1]: { }
|
||
· ┬
|
||
· ╰── `]` expected
|
||
4 │ }
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName36.ts:2:1]
|
||
2 │ class C {
|
||
3 │ [public ]: string;
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName38.ts:2:1]
|
||
2 │ class C {
|
||
3 │ [public]() { }
|
||
· ──────
|
||
4 │ }
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName39.ts:3:1]
|
||
3 │ class C {
|
||
4 │ [public]() { }
|
||
· ──────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Expected `,` but found `get`
|
||
╭─[conformance/parser/ecmascript6/ComputedPropertyNames/parserComputedPropertyName5.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ var v = { public get [e]() { } };
|
||
· ─┬─
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `;` but found `Identifier`
|
||
╭─[conformance/parser/ecmascript6/Iterators/parserForOfStatement2.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (var of X) {
|
||
· ┬
|
||
· ╰── `;` expected
|
||
3 │ }
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript6/Iterators/parserForOfStatement21.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (var of of) { }
|
||
· ─
|
||
╰────
|
||
|
||
× The left-hand side of a `for...of` statement may not be `async`
|
||
╭─[conformance/parser/ecmascript6/Iterators/parserForOfStatement22.ts:3:1]
|
||
3 │ var async;
|
||
4 │ for (async of [1, 2]) {}
|
||
· ─────
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...of` statement
|
||
╭─[conformance/parser/ecmascript6/Iterators/parserForOfStatement3.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (var a, b of X) {
|
||
· ────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× for-of loop variable declaration may not have an initializer
|
||
╭─[conformance/parser/ecmascript6/Iterators/parserForOfStatement4.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (var a = 1 of X) {
|
||
· ─────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...of` statement
|
||
╭─[conformance/parser/ecmascript6/Iterators/parserForOfStatement6.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (var a = 1, b = 2 of X) {
|
||
· ────────────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Only a single declaration is allowed in a `for...of` statement
|
||
╭─[conformance/parser/ecmascript6/Iterators/parserForOfStatement7.ts:1:1]
|
||
1 │ //@target: ES6
|
||
2 │ for (var a: number = 1, b: string = "" of X) {
|
||
· ─────────────────────────────────
|
||
3 │ }
|
||
╰────
|
||
|
||
× Expected `,` but found `?`
|
||
╭─[conformance/parser/ecmascript6/ShorthandPropertyAssignment/parserShorthandPropertyAssignment1.ts:3:1]
|
||
3 │ var name:any, id: any;
|
||
4 │ foo({ name?, id? });
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript6/ShorthandPropertyAssignment/parserShorthandPropertyAssignment2.ts:1:1]
|
||
1 │ var v = { class };
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript6/ShorthandPropertyAssignment/parserShorthandPropertyAssignment3.ts:1:1]
|
||
1 │ var v = { "" };
|
||
· ─
|
||
╰────
|
||
|
||
× Unexpected token
|
||
╭─[conformance/parser/ecmascript6/ShorthandPropertyAssignment/parserShorthandPropertyAssignment4.ts:1:1]
|
||
1 │ var v = { 0 };
|
||
· ─
|
||
╰────
|
||
|
||
× Expected `,` but found `?`
|
||
╭─[conformance/parser/ecmascript6/ShorthandPropertyAssignment/parserShorthandPropertyAssignment5.ts:1:1]
|
||
1 │ var greet = "hello";
|
||
2 │ var obj = { greet? };
|
||
· ┬
|
||
· ╰── `,` expected
|
||
╰────
|
||
|
||
× Expected `]` but found `:`
|
||
╭─[conformance/parser/ecmascript6/Symbols/parserSymbolIndexer5.ts:2:1]
|
||
2 │ var x = {
|
||
3 │ [s: symbol]: ""
|
||
· ┬
|
||
· ╰── `]` expected
|
||
4 │ }
|
||
╰────
|
||
|
||
× Constructor can't have get/set modifier
|
||
╭─[conformance/salsa/constructorNameInAccessor.ts:2:1]
|
||
2 │ class C1 {
|
||
3 │ get constructor() { return }
|
||
· ───────────
|
||
4 │ set constructor(value) {}
|
||
╰────
|
||
|
||
× Constructor can't have get/set modifier
|
||
╭─[conformance/salsa/constructorNameInAccessor.ts:3:1]
|
||
3 │ get constructor() { return }
|
||
4 │ set constructor(value) {}
|
||
· ───────────
|
||
5 │ }
|
||
╰────
|
||
|
||
× Multiple constructor implementations are not allowed.
|
||
╭─[conformance/salsa/constructorNameInAccessor.ts:2:1]
|
||
2 │ class C1 {
|
||
3 │ get constructor() { return }
|
||
· ─────┬─────
|
||
· ╰── constructor has already been declared here
|
||
4 │ set constructor(value) {}
|
||
· ─────┬─────
|
||
· ╰── it cannot be redeclared here
|
||
5 │ }
|
||
╰────
|
||
|
||
× Constructor can't be a generator
|
||
╭─[conformance/salsa/constructorNameInGenerator.ts:2:1]
|
||
2 │ class C2 {
|
||
3 │ *constructor() {}
|
||
· ───────────
|
||
4 │ }
|
||
╰────
|
||
|
||
× Cannot use `await` as an identifier in an async context
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:9:1]
|
||
9 │ async function f() {
|
||
10 │ const await = 3
|
||
· ─────
|
||
11 │ }
|
||
╰────
|
||
|
||
× Cannot use `yield` as an identifier in a generator context
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:12:1]
|
||
12 │ function* g() {
|
||
13 │ const yield = 4
|
||
· ─────
|
||
14 │ }
|
||
╰────
|
||
|
||
× Classes can't have an element named '#constructor'
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:15:1]
|
||
15 │ class C {
|
||
16 │ #constructor = 5
|
||
· ────────────
|
||
17 │ deleted() {
|
||
╰────
|
||
|
||
× Delete of an unqualified identifier in strict mode.
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:18:1]
|
||
18 │ function container(f) {
|
||
19 │ delete f
|
||
· ─
|
||
20 │ }
|
||
╰────
|
||
|
||
× Delete of an unqualified identifier in strict mode.
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:21:1]
|
||
21 │ var g = 6
|
||
22 │ delete g
|
||
· ─
|
||
23 │ delete container
|
||
╰────
|
||
|
||
× Delete of an unqualified identifier in strict mode.
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:22:1]
|
||
22 │ delete g
|
||
23 │ delete container
|
||
· ─────────
|
||
24 │ }
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:25:1]
|
||
25 │ evalArguments() {
|
||
26 │ const eval = 7
|
||
· ────
|
||
27 │ const arguments = 8
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:26:1]
|
||
26 │ const eval = 7
|
||
27 │ const arguments = 8
|
||
· ─────────
|
||
28 │ }
|
||
╰────
|
||
|
||
× 'with' statements are not allowed
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:30:1]
|
||
30 │ const redundant = 0o10
|
||
31 │ with (redundant) {
|
||
· ────
|
||
32 │ return toFixed()
|
||
╰────
|
||
|
||
× Jump target cannot cross function boundary.
|
||
╭─[conformance/salsa/plainJSBinderErrors.ts:37:1]
|
||
37 │ label: var x = 1
|
||
38 │ break label
|
||
· ─────
|
||
39 │ }
|
||
╰────
|
||
|
||
× Expected `in` but found `Identifier`
|
||
╭─[conformance/salsa/plainJSGrammarErrors.ts:8:1]
|
||
8 │ q = #unbound
|
||
9 │ m() {
|
||
· ┬
|
||
· ╰── `in` expected
|
||
10 │ #p
|
||
╰────
|
||
|
||
× Identifier `orbitol` has already been declared
|
||
╭─[conformance/salsa/plainJSRedeclare.ts:3:1]
|
||
3 │ // @filename: plainJSRedeclare.js
|
||
4 │ const orbitol = 1
|
||
· ───┬───
|
||
· ╰── `orbitol` has already been declared here
|
||
5 │ var orbitol = 1 + false
|
||
· ───┬───
|
||
· ╰── It can not be redeclared here
|
||
6 │ orbitol.toExponential()
|
||
╰────
|
||
|
||
× Identifier `orbitol` has already been declared
|
||
╭─[conformance/salsa/plainJSRedeclare2.ts:4:1]
|
||
4 │ // @filename: plainJSRedeclare.js
|
||
5 │ const orbitol = 1
|
||
· ───┬───
|
||
· ╰── `orbitol` has already been declared here
|
||
6 │ var orbitol = 1 + false
|
||
· ───┬───
|
||
· ╰── It can not be redeclared here
|
||
7 │ orbitol.toExponential()
|
||
╰────
|
||
|
||
× Cannot assign to 'eval' in strict mode
|
||
╭─[conformance/salsa/plainJSReservedStrict.ts:5:1]
|
||
5 │ "use strict"
|
||
6 │ const eval = 1
|
||
· ────
|
||
7 │ const arguments = 2
|
||
╰────
|
||
|
||
× Cannot assign to 'arguments' in strict mode
|
||
╭─[conformance/salsa/plainJSReservedStrict.ts:6:1]
|
||
6 │ const eval = 1
|
||
7 │ const arguments = 2
|
||
· ─────────
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/scanner/ecmascript3/scannerES3NumericLiteral3.ts:1:1]
|
||
1 │ 01.0
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected end of file
|
||
╭─[conformance/scanner/ecmascript3/scannerES3NumericLiteral4.ts:1:1]
|
||
1 │ 1e
|
||
╰────
|
||
|
||
× Invalid Number invalid float
|
||
╭─[conformance/scanner/ecmascript3/scannerES3NumericLiteral4.ts:1:1]
|
||
1 │ 1e
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[conformance/scanner/ecmascript3/scannerES3NumericLiteral6.ts:1:1]
|
||
1 │ 1e+
|
||
╰────
|
||
|
||
× Invalid Number invalid float
|
||
╭─[conformance/scanner/ecmascript3/scannerES3NumericLiteral6.ts:1:1]
|
||
1 │ 1e+
|
||
· ───
|
||
╰────
|
||
|
||
× The keyword 'public' is reserved
|
||
╭─[conformance/scanner/ecmascript5/scanner10.1.1-8gs.ts:16:1]
|
||
16 │ throw NotEarlyError;
|
||
17 │ var public = 1;
|
||
· ──────
|
||
╰────
|
||
|
||
× Expected a semicolon or an implicit semicolon after a statement, but found none
|
||
╭─[conformance/scanner/ecmascript5/scannerNumericLiteral3.ts:1:1]
|
||
1 │ // @target: ES5
|
||
2 │ 01.0
|
||
· ▲
|
||
╰────
|
||
help: Try insert a semicolon here
|
||
|
||
× Unexpected end of file
|
||
╭─[conformance/scanner/ecmascript5/scannerNumericLiteral4.ts:1:1]
|
||
1 │ // @target: ES5
|
||
2 │ 1e
|
||
╰────
|
||
|
||
× Invalid Number invalid float
|
||
╭─[conformance/scanner/ecmascript5/scannerNumericLiteral4.ts:1:1]
|
||
1 │ // @target: ES5
|
||
2 │ 1e
|
||
· ──
|
||
╰────
|
||
|
||
× Unexpected end of file
|
||
╭─[conformance/scanner/ecmascript5/scannerNumericLiteral6.ts:1:1]
|
||
1 │ // @target: ES5
|
||
2 │ 1e+
|
||
╰────
|
||
|
||
× Invalid Number invalid float
|
||
╭─[conformance/scanner/ecmascript5/scannerNumericLiteral6.ts:1:1]
|
||
1 │ // @target: ES5
|
||
2 │ 1e+
|
||
· ───
|
||
╰────
|
||
|
||
× Unterminated multiline comment
|
||
╭─[conformance/scanner/ecmascript5/scannerS7.4_A2_T2.ts:11:1]
|
||
11 │
|
||
12 │ ╭─▶ /*CHECK#1/
|
||
13 │ ╰─▶
|
||
╰────
|
||
|
||
× Invalid Character `
|
||
│ `
|
||
╭─[conformance/scanner/ecmascript5/scannerS7.8.3_A6.1_T1.ts:12:1]
|
||
12 │ //CHECK#1
|
||
13 │ 0x
|
||
· ▲
|
||
14 │
|
||
╰────
|
||
|
||
× Invalid escape sequence
|
||
╭─[conformance/scanner/ecmascript5/scannerS7.8.4_A7.1_T4.ts:12:1]
|
||
12 │ //CHECK#
|
||
13 │ "\u000G"
|
||
· ─────
|
||
14 │
|
||
╰────
|
||
|
||
× Unterminated string
|
||
╭─[conformance/scanner/ecmascript5/scannerStringLiterals.ts:9:1]
|
||
9 │ "
|
||
10 │ "Should error because of newline.
|
||
· ──────────────────────────────────
|
||
11 │ "Should error because of end of file.
|
||
╰────
|
||
|
||
× Invalid Character ` |