LibWeb/IDL/Codegen: Generate cpp_type for enums

This commit is contained in:
stelar7 2023-12-15 21:02:06 +01:00 committed by Andrew Kaster
parent 3f4ed782b4
commit 02a85d8259
Notes: sideshowbarker 2024-07-17 02:42:21 +09:00

View file

@ -228,6 +228,9 @@ CppType idl_type_name_to_cpp_type(Type const& type, Interface const& interface)
}
}
if (interface.enumerations.contains(type.name()))
return { .name = type.name(), .sequence_storage_type = SequenceStorageType::Vector };
dbgln("Unimplemented type for idl_type_name_to_cpp_type: {}{}", type.name(), type.is_nullable() ? "?" : "");
TODO();
}