File tree 2 files changed +3
-4
lines changed
crates/oxc_isolated_declarations/src
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ impl<'a> Visit<'a> for ScopeTree<'a> {
133
133
134
134
fn visit_export_default_declaration ( & mut self , decl : & ExportDefaultDeclaration < ' a > ) {
135
135
if let ExportDefaultDeclarationKind :: Identifier ( ident) = & decl. declaration {
136
- self . add_type_binding ( & ident. name ) ;
137
- self . add_value_binding ( & ident. name ) ;
136
+ self . add_type_reference ( & ident. name ) ;
137
+ self . add_value_reference ( & ident. name ) ;
138
138
} else {
139
139
walk_export_default_declaration ( self , decl) ;
140
140
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ commit: d8086f14
2
2
3
3
transpile Summary :
4
4
AST Parsed : 20 / 20 (100.00 % )
5
- Positive Passed : 8 / 20 (40 .00% )
5
+ Positive Passed : 9 / 20 (45 .00% )
6
6
Mismatch : " declarationAsyncAndGeneratorFunctions.ts"
7
7
Mismatch : " declarationBasicSyntax.ts"
8
8
Mismatch : " declarationComputedPropertyNames.ts"
@@ -14,4 +14,3 @@ Mismatch: "declarationPartialNodeReuseTypeOf.ts"
14
14
Mismatch : " declarationRestParameters.ts"
15
15
Mismatch : " declarationSingleFileHasErrors.ts"
16
16
Mismatch : " declarationSingleFileHasErrorsReported.ts"
17
- Mismatch : " declarationsSimple.ts"
You can’t perform that action at this time.
0 commit comments