diff options
-rw-r--r-- | Meta/Lagom/Tools/CodeGenerators/LibWeb/WrapperGenerator/IDLParser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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>& type, HashMap<St auto it = interface.typedefs.find(type->name); 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) |