Add bound functions to types.

This commit is contained in:
chriseth committed 2015-11-29 00:16:07 +01:00
1 parent d71cd3aa2b
commit 93b3237c6a
6 files changed
+369 -220

No files matched your search

+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) :