mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix missing quote in error message for invalid Yul types
This commit is contained in:
parent
65ed93d99f
commit
20dd66f398
@ -234,7 +234,7 @@ void AsmAnalyzer::operator()(VariableDeclaration const& _varDecl)
|
||||
m_errorReporter.typeError(
|
||||
3947_error,
|
||||
variable.location,
|
||||
"Assigning value of type \"" + givenType.str() + "\" to variable of type \"" + variable.type.str() + "."
|
||||
"Assigning value of type \"" + givenType.str() + "\" to variable of type \"" + variable.type.str() + "\"."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -5,4 +5,4 @@
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError 5473: (15-28): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError 3947: (10-11): Assigning value of type "invalidType" to variable of type "u256.
|
||||
// TypeError 3947: (10-11): Assigning value of type "invalidType" to variable of type "u256".
|
||||
|
@ -8,5 +8,5 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError 3947: (126-127): Assigning value of type "bool" to variable of type "u256.
|
||||
// TypeError 3947: (129-136): Assigning value of type "u256" to variable of type "bool.
|
||||
// TypeError 3947: (126-127): Assigning value of type "bool" to variable of type "u256".
|
||||
// TypeError 3947: (129-136): Assigning value of type "u256" to variable of type "bool".
|
||||
|
Loading…
Reference in New Issue
Block a user