mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4400 from ethereum/warningWhitespace
Remove trailing whitespace in missing visibility warning.
This commit is contained in:
commit
da60fdab37
@ -58,8 +58,8 @@ bool StaticAnalyzer::visit(FunctionDefinition const& _function)
|
|||||||
_function.location(),
|
_function.location(),
|
||||||
"No visibility specified. Defaulting to \"" +
|
"No visibility specified. Defaulting to \"" +
|
||||||
Declaration::visibilityToString(_function.visibility()) +
|
Declaration::visibilityToString(_function.visibility()) +
|
||||||
"\". " +
|
"\"." +
|
||||||
(isInterface ? "In interfaces it defaults to external." : "")
|
(isInterface ? " In interfaces it defaults to external." : "")
|
||||||
);
|
);
|
||||||
if (_function.isImplemented())
|
if (_function.isImplemented())
|
||||||
m_currentFunction = &_function;
|
m_currentFunction = &_function;
|
||||||
|
Loading…
Reference in New Issue
Block a user