mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4077 from njwest/grammar-fix
fixed grammar in error in CompilerUtils.cpp line 399, 'less variables…
This commit is contained in:
commit
6db7e09afd
@ -110,7 +110,7 @@ void CompilerUtils::loadFromMemoryDynamic(
|
||||
bool _padToWordBoundaries,
|
||||
bool _keepUpdatedMemoryOffset
|
||||
)
|
||||
{
|
||||
{
|
||||
if (_keepUpdatedMemoryOffset)
|
||||
m_context << Instruction::DUP1;
|
||||
|
||||
@ -396,7 +396,7 @@ void CompilerUtils::encodeToMemory(
|
||||
// leave end_of_mem as dyn head pointer
|
||||
m_context << Instruction::DUP1 << u256(32) << Instruction::ADD;
|
||||
dynPointers++;
|
||||
solAssert((argSize + dynPointers) < 16, "Stack too deep, try using less variables.");
|
||||
solAssert((argSize + dynPointers) < 16, "Stack too deep, try using fewer variables.");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -741,7 +741,7 @@ void CompilerUtils::convertType(
|
||||
else if (targetTypeCategory == Type::Category::FixedPoint)
|
||||
{
|
||||
solAssert(
|
||||
stackTypeCategory == Type::Category::Integer ||
|
||||
stackTypeCategory == Type::Category::Integer ||
|
||||
stackTypeCategory == Type::Category::RationalNumber ||
|
||||
stackTypeCategory == Type::Category::FixedPoint,
|
||||
"Invalid conversion to FixedMxNType requested."
|
||||
|
Loading…
Reference in New Issue
Block a user