{"record":{"id":"368c7a671a835e2c","repo":"swc-project/swc","slug":"swcify","errorCode":null,"errorMessage":"swcify: {:?}","messagePattern":"swcify: (.+?)","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/swc_estree_compat/src/swcify/class.rs","lineNumber":35,"sourceCode":"impl Swcify for ClassBody {\n    type Output = Vec<ClassMember>;\n\n    fn swcify(self, ctx: &Context) -> Self::Output {\n        self.body.swcify(ctx)\n    }\n}\n\nimpl Swcify for ClassBodyEl {\n    type Output = ClassMember;\n\n    fn swcify(self, ctx: &Context) -> Self::Output {\n        match self {\n            ClassBodyEl::Method(v) => v.swcify(ctx),\n            ClassBodyEl::PrivateMethod(v) => v.swcify(ctx).into(),\n            ClassBodyEl::Prop(v) => v.swcify(ctx).into(),\n            ClassBodyEl::PrivateProp(v) => v.swcify(ctx).into(),\n            _ => {\n                unimplemented!(\"swcify: {:?}\", self)\n            }\n        }\n    }\n}\n\nimpl Swcify for swc_estree_ast::ClassMethod {\n    type Output = swc_ecma_ast::ClassMember;\n\n    fn swcify(self, ctx: &Context) -> Self::Output {\n        match self.kind.unwrap_or(ClassMethodKind::Method) {\n            ClassMethodKind::Get | ClassMethodKind::Set | ClassMethodKind::Method => {\n                let SwcifiedFunctionParams { this_param, params } =\n                    swcify_function_params(self.params, ctx);\n\n                swc_ecma_ast::ClassMethod {\n                    span: ctx.span(&self.base),\n                    key: self.key.swcify(ctx),\n                    function: Function {","sourceCodeStart":17,"sourceCodeEnd":53,"githubUrl":"https://github.com/swc-project/swc/blob/d7d74346665e36e692aa07e13d4ee3ee692ee35c/crates/swc_estree_compat/src/swcify/class.rs#L17-L53","documentation":"Error \"swcify: {:?}\" thrown in swc-project/swc.","triggerScenarios":"Thrown at crates/swc_estree_compat/src/swcify/class.rs:35 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"}