diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp index fc43976de..1e39e7f28 100644 --- a/libsolidity/ast/ASTJsonConverter.cpp +++ b/libsolidity/ast/ASTJsonConverter.cpp @@ -362,6 +362,7 @@ void ASTJsonConverter::endVisit(FunctionDefinition const&) void ASTJsonConverter::endVisit(VariableDeclaration const&) { + goUp(); } void ASTJsonConverter::endVisit(TypeName const&)