aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-27 22:43:28 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-29 04:46:16 +0800
commitff91ab96ea843bd8ab9a7c57fd799add2ebc9873 (patch)
tree5ef16db4959a2bd8fdd773586f06c0b691704ce8 /AST.cpp
parent6e793b24996610c5a88a0aafb9fad365d9f12b00 (diff)
downloaddexon-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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/AST.cpp b/AST.cpp
index bf3d9894..71bf7c4a 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -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;