diff options
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp index 13c4f0da66..9039c68bbf 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator.cpp @@ -717,6 +717,10 @@ static void generate_to_cpp(SourceGenerator& generator, ParameterType& parameter @return_statement@ } )~~~"); + } else if (parameter.type.name == "any") { + scoped_generator.append(R"~~~( + auto @cpp_name@ = @js_name@@js_suffix@; +)~~~"); } else { dbgln("Unimplemented JS-to-C++ conversion: {}", parameter.type.name); VERIFY_NOT_REACHED(); |