diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLParser.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLParser.cpp index 623df632c6..15083ce0d9 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLParser.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLParser.cpp @@ -809,7 +809,9 @@ void resolve_typedef(Interface& interface, NonnullRefPtr& type, HashMapname); if (it == interface.typedefs.end()) return; + bool is_nullable = type->nullable; type = it->value.type; + type->nullable = is_nullable; if (!extended_attributes) return; for (auto& attribute : it->value.extended_attributes)