{"record":{"id":"3d1f6f239a566fcc","repo":"slint-ui/slint","slug":"extrabuiltinfunctioncall-other","errorCode":null,"errorMessage":"ExtraBuiltinFunctionCall `{other}`","messagePattern":"ExtraBuiltinFunctionCall `(.+?)`","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/interpreter/eval_layout.rs","lineNumber":337,"sourceCode":"        \"flexbox_layout_info_cross_axis\" => {\n            let (ch, cv) = (to_cells(&a[0]), to_cells(&a[1]));\n            let fp = to_flex_props(&a[2]);\n            i_slint_core::layout::flexbox_layout_info_cross_axis(\n                Slice::from_slice(&ch),\n                Slice::from_slice(&cv),\n                Slice::from_slice(&fp),\n                to_f32(&a[3]),\n                to_f32(&a[4]),\n                &to_padding(&a[5]),\n                &to_padding(&a[6]),\n                to_enum(&a[7]),\n                to_enum(&a[8]),\n                to_enum(&a[9]),\n                to_f32(&a[10]),\n            )\n            .into()\n        }\n        other => unimplemented!(\"ExtraBuiltinFunctionCall `{other}`\"),\n    }\n}\n\nfn eval_info(ctx: &mut EvalContext, e: &Expression) -> LayoutInfo {\n    eval_expression(ctx, e).try_into().unwrap_or_default()\n}\n\n/// One flexbox cell as seen by the measure callback, after expanding\n/// repeaters (a repeater contributes one entry per instance).\nenum FlatCell<'a> {\n    Static {\n        v_info: &'a Expression,\n    },\n    Repeated(vtable::VRc<i_slint_core::item_tree::ItemTreeVTable, crate::instance::Instance>),\n    /// Not height-for-width: the pre-resolved sizes are already correct.\n    Fixed,\n}\n","sourceCodeStart":319,"sourceCodeEnd":355,"githubUrl":"https://github.com/slint-ui/slint/blob/3a7e700487dc74d404cad0726378053ab763d4e0/internal/interpreter/eval_layout.rs#L319-L355","documentation":"The interpreter's `call_extra_builtin` evaluates extra builtin layout functions (e.g. `preferred-size`-related builtins with many arguments) and has a hard-coded maximum supported arity; any other function name or shape reaches the `other =>` catch-all and panics. It indicates the interpreter lacks support for that builtin function.","triggerScenarios":"Interpreted Slint code calling an extra builtin function (layout info helpers such as set-location/combine-layout-info variants with more than 10 parameters) that the match statement does not enumerate.","commonSituations":"Running .slint code through the interpreter or slint-viewer that uses a builtin added in a newer compiler version; mismatched compiler/interpreter versions.","solutions":["Upgrade the interpreter to match the compiler version that introduced the builtin","Avoid the unsupported builtin in interpreted code (e.g. compute the value in Rust host code instead)","Add a match arm handling the missing builtin in internal/interpreter/eval_layout.rs"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":["Pin all i-slint/slint crates to the same version","Restrict interpreted code to builtins known to work in the interpreter","Check eval_layout.rs supported builtins when adopting new Slint language versions"],"tags":["interpreter","layout","unimplemented"],"backgroundTag":"unsupported-operation","analyzedSha":"3a7e700487dc74d404cad0726378053ab763d4e0","analyzedAt":"2026-09-16T01:37:20.251Z","contentChangedAt":"2026-09-16T01:37:20.251Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}