diff options
Diffstat (limited to 'Parser.cpp')
-rw-r--r-- | Parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -284,6 +284,7 @@ ASTPointer<VariableDeclaration> Parser::parseVariableDeclaration(VarDeclParserOp if (_options.allowEmptyName && m_scanner->getCurrentToken() != Token::IDENTIFIER) { identifier = make_shared<ASTString>(""); + solAssert(!!type, ""); nodeFactory.setEndPositionFromNode(type); } else |