Skip to content

Commit 498b479

Browse files
fix(ast/estree): Fix AccessorProperty node (#10067)
Align our AST's ESTree output with that of TS-ESLint's for the`AccessorProperty` node. Relates to #9705 Add `optional`, `override`, `readonly`, and `declare` fields to `AccessorProperty` when serializing to TS estree. --------- Co-authored-by: overlookmotel <theoverlookmotel@gmail.com>
1 parent bf90072 commit 498b479

File tree

5 files changed

+23
-41
lines changed

5 files changed

+23
-41
lines changed

crates/oxc_ast/src/ast/js.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,7 @@ pub struct AssignmentPattern<'a> {
15611561
#[ast(visit)]
15621562
#[derive(Debug)]
15631563
#[generate_derive(CloneIn, Dummy, TakeIn, GetSpan, GetSpanMut, ContentEq, ESTree)]
1564+
#[estree(add_fields(decorators = TsEmptyArray))]
15641565
pub struct ObjectPattern<'a> {
15651566
pub span: Span,
15661567
pub properties: Vec<'a, BindingProperty<'a>>,
@@ -2282,10 +2283,12 @@ pub enum AccessorPropertyType {
22822283
#[derive(Debug)]
22832284
#[generate_derive(CloneIn, Dummy, TakeIn, GetSpan, GetSpanMut, ContentEq, ESTree)]
22842285
#[rustfmt::skip]
2285-
#[estree(field_order(
2286-
r#type, span, key, value, computed, r#static,
2287-
decorators, definite, type_annotation, accessibility,
2288-
))]
2286+
#[estree(
2287+
add_fields(declare = TsFalse, optional = TsFalse, r#override = TsFalse, readonly = TsFalse),
2288+
field_order(
2289+
r#type, span, key, value, computed, r#static, decorators, definite, type_annotation,
2290+
accessibility, optional, r#override, readonly, declare)
2291+
)]
22892292
pub struct AccessorProperty<'a> {
22902293
pub span: Span,
22912294
pub r#type: AccessorPropertyType,

crates/oxc_ast/src/generated/derive_estree.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,7 @@ impl ESTree for ObjectPattern<'_> {
12951295
"properties",
12961296
&AppendTo { array: &self.properties, after: &self.rest },
12971297
);
1298+
state.serialize_ts_field("decorators", &crate::serialize::TsEmptyArray(self));
12981299
state.end();
12991300
}
13001301
}
@@ -1635,6 +1636,10 @@ impl ESTree for AccessorProperty<'_> {
16351636
state.serialize_ts_field("definite", &self.definite);
16361637
state.serialize_ts_field("typeAnnotation", &self.type_annotation);
16371638
state.serialize_ts_field("accessibility", &self.accessibility);
1639+
state.serialize_ts_field("optional", &crate::serialize::TsFalse(self));
1640+
state.serialize_ts_field("override", &crate::serialize::TsFalse(self));
1641+
state.serialize_ts_field("readonly", &crate::serialize::TsFalse(self));
1642+
state.serialize_ts_field("declare", &crate::serialize::TsFalse(self));
16381643
state.end();
16391644
}
16401645
}

napi/parser/deserialize-ts.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ function deserializeObjectPattern(pos) {
734734
start: deserializeU32(pos),
735735
end: deserializeU32(pos + 4),
736736
properties,
737+
decorators: [],
737738
};
738739
}
739740

@@ -956,6 +957,10 @@ function deserializeAccessorProperty(pos) {
956957
definite: deserializeBool(pos + 82),
957958
typeAnnotation: deserializeOptionBoxTSTypeAnnotation(pos + 88),
958959
accessibility: deserializeOptionTSAccessibility(pos + 96),
960+
optional: false,
961+
override: false,
962+
readonly: false,
963+
declare: false,
959964
};
960965
}
961966

npm/oxc-types/types.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ export interface AssignmentPattern extends Span {
523523
export interface ObjectPattern extends Span {
524524
type: 'ObjectPattern';
525525
properties: Array<BindingProperty | BindingRestElement>;
526+
decorators?: [];
526527
}
527528

528529
export interface BindingProperty extends Span {
@@ -692,6 +693,10 @@ export interface AccessorProperty extends Span {
692693
definite?: boolean;
693694
typeAnnotation?: TSTypeAnnotation | null;
694695
accessibility?: TSAccessibility | null;
696+
optional?: false;
697+
override?: false;
698+
readonly?: false;
699+
declare?: false;
695700
}
696701

697702
export interface ImportExpression extends Span {

tasks/coverage/snapshots/estree_typescript.snap

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ commit: 15392346
22

33
estree_typescript Summary:
44
AST Parsed : 10623/10725 (99.05%)
5-
Positive Passed: 5318/10725 (49.59%)
5+
Positive Passed: 5354/10725 (49.92%)
66
Mismatch: tasks/coverage/typescript/tests/cases/compiler/APISample_Watch.ts
77
Mismatch: tasks/coverage/typescript/tests/cases/compiler/APISample_WatchWithDefaults.ts
88
Mismatch: tasks/coverage/typescript/tests/cases/compiler/APISample_WatchWithOwnWatchHost.ts
@@ -190,7 +190,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/compiler/bigintWithoutLib.ts
190190
Mismatch: tasks/coverage/typescript/tests/cases/compiler/binaryArithmeticControlFlowGraphNotTooLarge.ts
191191
Mismatch: tasks/coverage/typescript/tests/cases/compiler/bind2.ts
192192
Mismatch: tasks/coverage/typescript/tests/cases/compiler/bindingPatternCannotBeOnlyInferenceSource.ts
193-
Mismatch: tasks/coverage/typescript/tests/cases/compiler/bindingPatternContextualTypeDoesNotCauseWidening.ts
194193
Mismatch: tasks/coverage/typescript/tests/cases/compiler/bindingPatternOmittedExpressionNesting.ts
195194
Mismatch: tasks/coverage/typescript/tests/cases/compiler/blockScopedBindingCaptureThisInFunction.ts
196195
Mismatch: tasks/coverage/typescript/tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts
@@ -298,7 +297,6 @@ Unexpected estree file content error: 1 != 2
298297

299298
Mismatch: tasks/coverage/typescript/tests/cases/compiler/classExtendsNull.ts
300299
Mismatch: tasks/coverage/typescript/tests/cases/compiler/classExtendsNull2.ts
301-
Mismatch: tasks/coverage/typescript/tests/cases/compiler/classFieldSuperAccessible.ts
302300
Mismatch: tasks/coverage/typescript/tests/cases/compiler/classFunctionMerging.ts
303301
Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/classHeritageWithTrailingSeparator.ts
304302
Expected `{` but found `EOF`
@@ -595,7 +593,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/compiler/contravariantInferenceA
595593
Mismatch: tasks/coverage/typescript/tests/cases/compiler/contravariantOnlyInferenceFromAnnotatedFunction.ts
596594
Mismatch: tasks/coverage/typescript/tests/cases/compiler/contravariantOnlyInferenceWithAnnotatedOptionalParameter.ts
597595
Mismatch: tasks/coverage/typescript/tests/cases/compiler/controlFlowAliasedDiscriminants.ts
598-
Mismatch: tasks/coverage/typescript/tests/cases/compiler/controlFlowAutoAccessor1.ts
599596
Mismatch: tasks/coverage/typescript/tests/cases/compiler/controlFlowBreakContinueWithLabel.ts
600597
Mismatch: tasks/coverage/typescript/tests/cases/compiler/controlFlowCaching.ts
601598
Mismatch: tasks/coverage/typescript/tests/cases/compiler/controlFlowDestructuringLoop.ts
@@ -3145,8 +3142,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/compiler/unusedTypeParameters9.t
31453142
Mismatch: tasks/coverage/typescript/tests/cases/compiler/unusedVariablesWithUnderscoreInBindingElement.ts
31463143
Mismatch: tasks/coverage/typescript/tests/cases/compiler/unusedVariablesinModules1.ts
31473144
Mismatch: tasks/coverage/typescript/tests/cases/compiler/unwitnessedTypeParameterVariance.ts
3148-
Mismatch: tasks/coverage/typescript/tests/cases/compiler/useBeforeDeclaration_classDecorators.1.ts
3149-
Mismatch: tasks/coverage/typescript/tests/cases/compiler/useBeforeDeclaration_classDecorators.2.ts
31503145
Mismatch: tasks/coverage/typescript/tests/cases/compiler/useBeforeDeclaration_destructuring.ts
31513146
Mismatch: tasks/coverage/typescript/tests/cases/compiler/useBeforeDeclaration_propertyAssignment.ts
31523147
Mismatch: tasks/coverage/typescript/tests/cases/compiler/useBeforeDefinitionInDeclarationFiles.ts
@@ -3268,8 +3263,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/classStaticB
32683263
Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/classes/classStaticBlock/classStaticBlock7.ts
32693264
A 'yield' expression is only allowed in a generator body.
32703265
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/classStaticBlock/classStaticBlock8.ts
3271-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/classStaticBlock/classStaticBlockUseBeforeDef4.ts
3272-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/classStaticBlock/classStaticBlockUseBeforeDef5.ts
32733266
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/constructorDeclarations/automaticConstructors/derivedClassWithoutExplicitConstructor3.ts
32743267
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility.ts
32753268
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/constructorDeclarations/classConstructorAccessibility2.ts
@@ -3367,19 +3360,8 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemb
33673360
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/accessorsOverrideProperty9.ts
33683361
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/assignParameterPropertyToPropertyDeclarationES2022.ts
33693362
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/assignParameterPropertyToPropertyDeclarationESNext.ts
3370-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor1.ts
3371-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor10.ts
3372-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor11.ts
3373-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor2.ts
3374-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor3.ts
3375-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor4.ts
3376-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor5.ts
3377-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor6.ts
3378-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor7.ts
3379-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor8.ts
33803363
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessor9.ts
33813364
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessorAllowedModifiers.ts
3382-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessorExperimentalDecorators.ts
33833365
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/autoAccessorNoUseDefineForClassFields.ts
33843366
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/constructorParameterShadowsOuterScopes.ts
33853367
Mismatch: tasks/coverage/typescript/tests/cases/conformance/classes/propertyMemberDeclarations/constructorParameterShadowsOuterScopes2.ts
@@ -3478,12 +3460,10 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/class/dec
34783460
Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/class/method/decoratorOnClassMethod19.ts
34793461
Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/class/method/parameter/decoratorOnClassMethodParameter3.ts
34803462
Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty12.ts
3481-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/class/property/decoratorOnClassProperty13.ts
34823463
Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/decorators/decoratorMetadata-jsdoc.ts
34833464
Unexpected token
34843465
Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/decoratorMetadata.ts
34853466
Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/decoratorMetadataWithTypeOnlyImport.ts
3486-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/decorators/legacyDecorators-contextualTypes.ts
34873467
Mismatch: tasks/coverage/typescript/tests/cases/conformance/directives/ts-expect-error-nocheck.ts
34883468
Mismatch: tasks/coverage/typescript/tests/cases/conformance/directives/ts-expect-error.ts
34893469
Mismatch: tasks/coverage/typescript/tests/cases/conformance/directives/ts-ignore.ts
@@ -3716,7 +3696,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/de
37163696
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment2.ts
37173697
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment4.ts
37183698
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment5SiblingInitializer.ts
3719-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringAssignabilityCheck.ts
37203699
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringCatch.ts
37213700
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringControlFlow.ts
37223701
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringEvaluationOrder.ts
@@ -3762,8 +3741,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/de
37623741
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringVariableDeclaration1ES5iterable.ts
37633742
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringVariableDeclaration1ES6.ts
37643743
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringVariableDeclaration2.ts
3765-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringVoid.ts
3766-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringVoidStrictNullChecks.ts
37673744
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/destructuringWithLiteralInitializers.ts
37683745
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES5.ts
37693746
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns01_ES5iterable.ts
@@ -3777,7 +3754,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/em
37773754
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns04_ES5.ts
37783755
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns04_ES5iterable.ts
37793756
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyAssignmentPatterns04_ES6.ts
3780-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyObjectBindingPatternParameter04.ts
37813757
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns01_ES5.ts
37823758
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns01_ES5iterable.ts
37833759
Mismatch: tasks/coverage/typescript/tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns01_ES6.ts
@@ -4234,28 +4210,17 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDe
42344210
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/classSuper/esDecorators-classDeclaration-classSuper.4.ts
42354211
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/classSuper/esDecorators-classDeclaration-classSuper.5.ts
42364212
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/classSuper/esDecorators-classDeclaration-classSuper.6.ts
4237-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/classThisReference/esDecorators-classDeclaration-classThisReference.ts
42384213
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-commentPreservation.ts
42394214
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-commonjs-classNamespaceMerge.ts
42404215
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-commonjs.ts
42414216
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-missingEmitHelpers-classDecorator.2.ts
4242-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-missingEmitHelpers-nonStaticPrivateAutoAccessor.ts
4243-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-missingEmitHelpers-staticComputedAutoAccessor.ts
4244-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-missingEmitHelpers-staticPrivateAutoAccessor.ts
42454217
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-parameterProperties.ts
42464218
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-setFunctionName.ts
4247-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/esDecorators-classDeclaration-sourceMap.ts
4248-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor.ts
4249-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-nonStaticAccessor.ts
4250-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor.ts
4251-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-staticAccessor.ts
4252-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classDeclaration/fields/esDecorators-classDeclaration-fields-staticPrivateAccessor.ts
42534219
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/classSuper/esDecorators-classExpression-classSuper.1.ts
42544220
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/classSuper/esDecorators-classExpression-classSuper.3.ts
42554221
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/classSuper/esDecorators-classExpression-classSuper.4.ts
42564222
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/classSuper/esDecorators-classExpression-classSuper.5.ts
42574223
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/classSuper/esDecorators-classExpression-classSuper.6.ts
4258-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/esDecorators-classExpression-commentPreservation.ts
42594224
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/esDecorators-classExpression-missingEmitHelpers-classDecorator.17.ts
42604225
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/esDecorators-classExpression-missingEmitHelpers-classDecorator.3.ts
42614226
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/esDecorators-classExpression-missingEmitHelpers-classDecorator.5.ts
@@ -4268,7 +4233,6 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classEx
42684233
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/classExpression/namedEvaluation/esDecorators-classExpression-namedEvaluation.8.ts
42694234
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/esDecorators-arguments.ts
42704235
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/esDecorators-contextualTypes.2.ts
4271-
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/esDecorators-contextualTypes.ts
42724236
Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/esDecorators/esDecorators-decoratorExpression.1.ts
42734237
Expected a semicolon or an implicit semicolon after a statement, but found none
42744238
Mismatch: tasks/coverage/typescript/tests/cases/conformance/esDecorators/esDecorators-decoratorExpression.2.ts

0 commit comments

Comments
 (0)