Skip to content

Commit

Permalink
Don't use dummy macro for non-dummies
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Apr 19, 2024
1 parent 77c22e3 commit 1f96a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_semantic/src/module_record/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ impl ModuleRecordBuilder {
ExportDefaultDeclarationKind::FunctionDeclaration(func) => func.id.as_ref(),
ExportDefaultDeclarationKind::ClassDeclaration(class) => class.id.as_ref(),
ExportDefaultDeclarationKind::TSInterfaceDeclaration(_)
| ExportDefaultDeclarationKind::TSEnumDeclaration(_)
| ExportDefaultDeclarationKind::Dummy => return dummy!(),
| ExportDefaultDeclarationKind::TSEnumDeclaration(_) => return,
ExportDefaultDeclarationKind::Dummy => return dummy!(),
};
let export_entry = ExportEntry {
export_name: ExportExportName::Default(exported_name.span()),
Expand Down

0 comments on commit 1f96a8c

Please sign in to comment.