mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9252 from ethereum/develop
Merge develop into breaking.
This commit is contained in:
@@ -4,4 +4,3 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 7128: (96-97): External function arguments of reference type are read-only.
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity < 142857;
|
||||
pragma solidity >= 0.0;
|
||||
pragma solidity >= 0.0.0;
|
||||
|
||||
contract C {
|
||||
}
|
||||
@@ -5,7 +5,5 @@ contract Test {
|
||||
function g(S calldata s) external { S memory m; s = m; }
|
||||
}
|
||||
// ----
|
||||
// TypeError 7128: (114-115): External function arguments of reference type are read-only.
|
||||
// TypeError 7407: (118-122): Type struct Test.S memory is not implicitly convertible to expected type struct Test.S calldata.
|
||||
// TypeError 7128: (178-179): External function arguments of reference type are read-only.
|
||||
// TypeError 7407: (182-183): Type struct Test.S memory is not implicitly convertible to expected type struct Test.S calldata.
|
||||
|
||||
Reference in New Issue
Block a user