AsmAnalysis: Fixes a superfluous whitespace in an error string

This commit is contained in:
Christian Parpart 2020-06-03 11:28:01 +02:00
parent de5e283574
commit c708a1bec2
2 changed files with 3 additions and 3 deletions
libyul
test/libsolidity/syntaxTests/inlineAssembly

View File

@ -555,7 +555,7 @@ bool AsmAnalyzer::warnOnInstructions(evmasm::Instruction _instr, SourceLocation
+ "\" instruction is " + + "\" instruction is " +
vmKindMessage + vmKindMessage +
" VMs " + " VMs " +
" (you are currently compiling for \"" + "(you are currently compiling for \"" +
m_evmVersion.name() + m_evmVersion.name() +
"\")." "\")."
); );

View File

@ -13,7 +13,7 @@ contract C {
// ==== // ====
// EVMVersion: =petersburg // EVMVersion: =petersburg
// ---- // ----
// TypeError: (101-108): The "chainid" instruction is only available for Istanbul-compatible VMs (you are currently compiling for "petersburg"). // TypeError: (101-108): The "chainid" instruction is only available for Istanbul-compatible VMs (you are currently compiling for "petersburg").
// DeclarationError: (95-110): Variable count does not match number of values (1 vs. 0) // DeclarationError: (95-110): Variable count does not match number of values (1 vs. 0)
// TypeError: (215-226): The "selfbalance" instruction is only available for Istanbul-compatible VMs (you are currently compiling for "petersburg"). // TypeError: (215-226): The "selfbalance" instruction is only available for Istanbul-compatible VMs (you are currently compiling for "petersburg").
// DeclarationError: (209-228): Variable count does not match number of values (1 vs. 0) // DeclarationError: (209-228): Variable count does not match number of values (1 vs. 0)