mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[Sol->Yul] Implementing getters for bytes and structs containing bytes member.
Co-authored-by: chriseth <chris@ethereum.org>
This commit is contained in:
co-authored by
chriseth
parent
a9a62e86df
commit
2d5a2c65a8
@@ -0,0 +1,10 @@
|
||||
contract C {
|
||||
bytes public b;
|
||||
constructor() {
|
||||
b = "abc";
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// b() -> 0x20, 0x03, 0x6162630000000000000000000000000000000000000000000000000000000000
|
||||
Reference in New Issue
Block a user