mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10927 from ethereum/fixedPointAssertionSol2Yul
This commit is contained in:
commit
30857493ef
@ -2749,6 +2749,10 @@ std::string IRGeneratorForStatements::shiftOperation(
|
||||
IRVariable const& _amountToShift
|
||||
)
|
||||
{
|
||||
solUnimplementedAssert(
|
||||
_amountToShift.type().category() != Type::Category::FixedPoint,
|
||||
"Not yet implemented - FixedPointType."
|
||||
);
|
||||
IntegerType const* amountType = dynamic_cast<IntegerType const*>(&_amountToShift.type());
|
||||
solAssert(amountType, "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user