mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added an assert for FixedPointType in InlineAssembly
This commit is contained in:
parent
5fedb4eab0
commit
0bc9f772e7
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user