From f2dd66e039d45cd813f87d231551d62231fac208 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 4 Jul 2025 13:37:47 +0100 Subject: [PATCH] IDLGenerators: Remove unused `numeric_type` definition --- .../CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp index 743bd7d43a4..158261b25bf 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp @@ -1554,8 +1554,6 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter // 4. Return the result of converting x to T. auto union_numeric_type_generator = union_generator.fork(); - auto cpp_type = IDL::idl_type_name_to_cpp_type(*numeric_type, interface); - union_numeric_type_generator.set("numeric_type", cpp_type.name); union_numeric_type_generator.append(R"~~~( auto x = TRY(@js_name@@js_suffix@.to_numeric(vm));