Add bound functions to types.

This commit is contained in:
chriseth
2015-11-29 00:16:07 +01:00
parent d71cd3aa2b
commit 93b3237c6a
6 changed files with 369 additions and 220 deletions
+1 -1
View File
@@ -672,7 +672,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
_functionCall.expression().accept(*this);
solAssert(function.parameterTypes().size() == 1, "");
solAssert(!!function.parameterTypes()[0], "");
TypePointer const& paramType = function.parameterTypes()[0];
TypePointer paramType = function.parameterTypes()[0];
shared_ptr<ArrayType> arrayType =
function.location() == Location::ArrayPush ?
make_shared<ArrayType>(DataLocation::Storage, paramType) :