[Sol->Yul] Implementing getters for bytes and structs containing bytes member.

Co-authored-by: chriseth <chris@ethereum.org>
This commit is contained in:
Djordje Mijovic
2020-12-21 14:46:06 +01:00
co-authored by chriseth
parent a9a62e86df
commit 2d5a2c65a8
3 changed files with 49 additions and 16 deletions
@@ -0,0 +1,10 @@
contract C {
bytes public b;
constructor() {
b = "abc";
}
}
// ====
// compileViaYul: also
// ----
// b() -> 0x20, 0x03, 0x6162630000000000000000000000000000000000000000000000000000000000