mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9107 from ethereum/string-spacing-fix
AsmAnalysis: Fixes a superfluous whitespace in an error string
This commit is contained in:
commit
448c33b8cb
@ -555,7 +555,7 @@ bool AsmAnalyzer::warnOnInstructions(evmasm::Instruction _instr, SourceLocation
|
||||
+ "\" instruction is " +
|
||||
vmKindMessage +
|
||||
" VMs " +
|
||||
" (you are currently compiling for \"" +
|
||||
"(you are currently compiling for \"" +
|
||||
m_evmVersion.name() +
|
||||
"\")."
|
||||
);
|
||||
|
@ -13,7 +13,7 @@ contract C {
|
||||
// ====
|
||||
// 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)
|
||||
// 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)
|
||||
|
Loading…
Reference in New Issue
Block a user