Code generator for function types.

This commit is contained in:
chriseth
2016-11-16 14:37:17 +01:00
parent cc8583ec7d
commit dd173f83e3
6 changed files with 127 additions and 3 deletions
+1
View File
@@ -293,6 +293,7 @@ void ContractCompiler::appendCalldataUnpacker(TypePointers const& _typeParameter
{
// stack: v1 v2 ... v(k-1) base_offset current_offset
TypePointer type = parameterType->decodingType();
solAssert(type, "No decoding type found.");
if (type->category() == Type::Category::Array)
{
auto const& arrayType = dynamic_cast<ArrayType const&>(*type);