diff --git a/Userland/Libraries/LibIDL/IDLParser.cpp b/Userland/Libraries/LibIDL/IDLParser.cpp index d320a1e36f..0e3683fcb9 100644 --- a/Userland/Libraries/LibIDL/IDLParser.cpp +++ b/Userland/Libraries/LibIDL/IDLParser.cpp @@ -727,10 +727,11 @@ void Parser::parse_dictionary(Interface& interface) if (lexer.consume_specific("required")) { required = true; consume_whitespace(); - if (lexer.consume_specific('[')) - extended_attributes = parse_extended_attributes(); } + if (lexer.consume_specific('[')) + extended_attributes = parse_extended_attributes(); + auto type = parse_type(); consume_whitespace();