mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix name clashes between constructor and fallback function.
This commit is contained in:
@@ -1140,7 +1140,6 @@ BOOST_AUTO_TEST_CASE(fallback_function_twice)
|
||||
}
|
||||
)";
|
||||
CHECK_ERROR_ALLOW_MULTI(text, DeclarationError, (vector<string>{
|
||||
"Function with same name and arguments defined twice.",
|
||||
"Only one fallback function is"
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user