diff options
author | djudjuu <julfaber@gmail.com> | 2017-05-22 17:51:45 +0800 |
---|---|---|
committer | djudjuu <julfaber@gmail.com> | 2017-05-22 18:25:50 +0800 |
commit | e82df073d15237455b1e53e35ef544aea72a69f9 (patch) | |
tree | 1a35ba2944c8fb05aaed71bbc813ff97e20aad4a /libsolidity/ast | |
parent | 1d22233a43453a21d9fde6e4ba91e26d651045bd (diff) | |
download | dexon-solidity-e82df073d15237455b1e53e35ef544aea72a69f9.tar.gz dexon-solidity-e82df073d15237455b1e53e35ef544aea72a69f9.tar.zst dexon-solidity-e82df073d15237455b1e53e35ef544aea72a69f9.zip |
minor fixes and changelog update
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/ASTJsonConverter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp index 81996678..40c552a3 100644 --- a/libsolidity/ast/ASTJsonConverter.cpp +++ b/libsolidity/ast/ASTJsonConverter.cpp @@ -634,7 +634,7 @@ bool ASTJsonConverter::visit(FunctionCall const& _node) }; if (m_legacy) { - attributes.push_back(make_pair("isStructConstructorCall", functionCallKind(_node.annotation().kind))); + attributes.push_back(make_pair("isStructConstructorCall", _node.annotation().kind == FunctionCallKind::StructConstructorCall)); attributes.push_back(make_pair("type_conversion", _node.annotation().kind == FunctionCallKind::TypeConversion)); } else |