mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix invalid "explicit storage keyword" warning for reference members of structs.
This commit is contained in:
@@ -6160,7 +6160,7 @@ BOOST_AUTO_TEST_CASE(warn_unspecified_storage)
|
||||
{
|
||||
char const* text = R"(
|
||||
contract C {
|
||||
struct S { uint a; }
|
||||
struct S { uint a; string b; }
|
||||
S x;
|
||||
function f() {
|
||||
S storage y = x;
|
||||
|
||||
Reference in New Issue
Block a user