diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-27 22:43:28 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-29 04:46:16 +0800 |
commit | ff91ab96ea843bd8ab9a7c57fd799add2ebc9873 (patch) | |
tree | 5ef16db4959a2bd8fdd773586f06c0b691704ce8 /AST.cpp | |
parent | 6e793b24996610c5a88a0aafb9fad365d9f12b00 (diff) | |
download | dexon-solidity-ff91ab96ea843bd8ab9a7c57fd799add2ebc9873.tar.gz dexon-solidity-ff91ab96ea843bd8ab9a7c57fd799add2ebc9873.tar.zst dexon-solidity-ff91ab96ea843bd8ab9a7c57fd799add2ebc9873.zip |
Fixes after rebasing on develop
Diffstat (limited to 'AST.cpp')
-rw-r--r-- | AST.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -563,7 +563,7 @@ vector<ParamDescription> const FunctionDescription::getParameters() const if (function) { vector<ParamDescription> paramsDescription; - for (auto const& param: function->getReturnParameters()) + for (auto const& param: function->getParameters()) paramsDescription.push_back(ParamDescription(param->getName(), param->getType()->toString())); return paramsDescription; @@ -580,7 +580,7 @@ vector<ParamDescription> const FunctionDescription::getReturnParameters() const if (function) { vector<ParamDescription> paramsDescription; - for (auto const& param: function->getParameters()) + for (auto const& param: function->getReturnParameters()) paramsDescription.push_back(ParamDescription(param->getName(), param->getType()->toString())); return paramsDescription; |