{"record":{"id":"cb83338b680ce94d","repo":"swc-project/swc","slug":"module-string-names-unimplemented-cb8333","errorCode":null,"errorMessage":"module string names unimplemented","messagePattern":"module string names unimplemented","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/swc_bundler/src/bundler/chunk/merge.rs","lineNumber":266,"sourceCode":"                        let ids: Vec<Id> = find_pat_ids(decl);\n                        declared_ids.extend(ids);\n                    }\n                }\n            }\n\n            for (module_id, stmt) in entry.iter() {\n                match stmt {\n                    ModuleItem::ModuleDecl(ModuleDecl::ExportNamed(export)) => {\n                        for s in &export.specifiers {\n                            match s {\n                                ExportSpecifier::Namespace(_) => {}\n                                ExportSpecifier::Default(_) => {}\n                                ExportSpecifier::Named(named) => {\n                                    if let Some(exported) = &named.exported {\n                                        let exported = match exported {\n                                            ModuleExportName::Ident(ident) => ident,\n                                            ModuleExportName::Str(..) => {\n                                                unimplemented!(\"module string names unimplemented\")\n                                            }\n                                            #[cfg(swc_ast_unknown)]\n                                            _ => panic!(\"unable to access unknown nodes\"),\n                                        };\n\n                                        let id: Id = exported.into();\n                                        if declared_ids.contains(&id) {\n                                            continue;\n                                        }\n\n                                        match &named.orig {\n                                            ModuleExportName::Ident(orig) => {\n                                                vars.push((\n                                                    module_id,\n                                                    orig.clone()\n                                                        .assign_to(exported.clone())\n                                                        .into_module_item(\n                                                            injected_ctxt,","sourceCodeStart":248,"sourceCodeEnd":284,"githubUrl":"https://github.com/swc-project/swc/blob/d7d74346665e36e692aa07e13d4ee3ee692ee35c/crates/swc_bundler/src/bundler/chunk/merge.rs#L248-L284","documentation":"Error \"module string names unimplemented\" thrown in swc-project/swc.","triggerScenarios":"Thrown at crates/swc_bundler/src/bundler/chunk/merge.rs:266 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"d7d74346665e36e692aa07e13d4ee3ee692ee35c","analyzedAt":"2026-08-16T12:41:13.160Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}