Added an assert for FixedPointType in InlineAssembly

This commit is contained in:
Harikrishnan Mulackal 2020-05-29 17:21:16 +05:30
parent 5fedb4eab0
commit 0bc9f772e7

View File

@ -699,6 +699,8 @@ bool TypeChecker::visit(InlineAssembly const& _inlineAssembly)
}
}
solAssert(!dynamic_cast<FixedPointType const*>(var->type()), "FixedPointType not implemented.");
if (requiresStorage)
{
if (!var->isStateVariable() && !var->type()->dataStoredIn(DataLocation::Storage))