mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge remote-tracking branch 'origin/develop' into develop_060
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
contract X {}
|
||||
library test {
|
||||
struct StructType { uint a; }
|
||||
function f(StructType storage b, uint[] storage c, test d) public returns (uint[] memory e, StructType storage f) { f = f; }
|
||||
function f1(uint[] memory c, test d) public pure returns (uint[] memory e) { }
|
||||
function f(StructType storage b, uint[] storage c, X d) public returns (uint[] memory e, StructType storage f) { f = f; }
|
||||
function f1(uint[] memory c, X d) public pure returns (uint[] memory e) { }
|
||||
}
|
||||
// ----
|
||||
// :X
|
||||
// []
|
||||
//
|
||||
//
|
||||
// :test
|
||||
// [
|
||||
// {
|
||||
@@ -15,9 +20,9 @@ library test {
|
||||
// "type": "uint256[]"
|
||||
// },
|
||||
// {
|
||||
// "internalType": "library test",
|
||||
// "internalType": "contract X",
|
||||
// "name": "d",
|
||||
// "type": "test"
|
||||
// "type": "X"
|
||||
// }
|
||||
// ],
|
||||
// "name": "f1",
|
||||
|
||||
Reference in New Issue
Block a user