mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
IDLGenerators: Remove unused numeric_type
definition
This commit is contained in:
parent
dcc9318042
commit
f2dd66e039
Notes:
github-actions[bot]
2025-07-04 17:12:34 +00:00
Author: https://github.com/AtkinsSJ
Commit: f2dd66e039
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5302
Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 0 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue