File tree Expand file tree Collapse file tree
crates/oxc_isolated_declarations/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ impl<'a> Visit<'a> for ScopeTree<'a> {
133133
134134 fn visit_export_default_declaration ( & mut self , decl : & ExportDefaultDeclaration < ' a > ) {
135135 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 ) ;
138138 } else {
139139 walk_export_default_declaration ( self , decl) ;
140140 }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ commit: d8086f14
22
33transpile Summary :
44AST Parsed : 20 / 20 (100.00 % )
5- Positive Passed : 8 / 20 (40 .00% )
5+ Positive Passed : 9 / 20 (45 .00% )
66Mismatch : " declarationAsyncAndGeneratorFunctions.ts"
77Mismatch : " declarationBasicSyntax.ts"
88Mismatch : " declarationComputedPropertyNames.ts"
@@ -14,4 +14,3 @@ Mismatch: "declarationPartialNodeReuseTypeOf.ts"
1414Mismatch : " declarationRestParameters.ts"
1515Mismatch : " declarationSingleFileHasErrors.ts"
1616Mismatch : " declarationSingleFileHasErrorsReported.ts"
17- Mismatch : " declarationsSimple.ts"
You can’t perform that action at this time.
0 commit comments