mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10270 from ethereum/copyByteArrayFromStorageToStorage
[SolYul] Copy byte arrays from storage to storage.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Error (1834): Unimplemented feature error: Copying from storage to storage is not yet implemented. in <FILENAME REMOVED>
|
||||
--> yul_unimplemented/input.sol:7:9:
|
||||
Error (1834): Unimplemented feature error in <FILENAME REMOVED>
|
||||
--> yul_unimplemented/input.sol:8:9:
|
||||
|
|
||||
7 | a = b;
|
||||
8 | x.f();
|
||||
| ^^^^^
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-3.0
|
||||
pragma solidity >=0.0;
|
||||
library L { function f(uint) public {} }
|
||||
contract test {
|
||||
bytes a;
|
||||
bytes b;
|
||||
using L for uint;
|
||||
function f() public {
|
||||
a = b;
|
||||
uint x;
|
||||
x.f();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user