mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add `switch (..) to style checker
This commit is contained in:
@@ -29,7 +29,7 @@ using namespace langutil;
|
||||
Error::Error(Type _type, SourceLocation const& _location, string const& _description):
|
||||
m_type(_type)
|
||||
{
|
||||
switch(m_type)
|
||||
switch (m_type)
|
||||
{
|
||||
case Type::DeclarationError:
|
||||
m_typeName = "DeclarationError";
|
||||
|
||||
Reference in New Issue
Block a user