mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
- added assertion
This commit is contained in:
parent
97b443e181
commit
516e46ea6b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user