2018-03-16 15:06:40 +00:00
|
|
|
contract C {
|
|
|
|
struct S { uint x; }
|
|
|
|
S s;
|
2018-06-06 09:15:22 +00:00
|
|
|
struct T { uint y; }
|
2018-03-16 15:06:40 +00:00
|
|
|
T t;
|
|
|
|
enum A { X, Y }
|
|
|
|
function f() public pure {
|
|
|
|
bool a = address(this).delegatecall(S, A, A.X, T, uint, uint[]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2018-06-06 09:15:22 +00:00
|
|
|
// TypeError: (176-177): This type cannot be encoded.
|
2018-04-06 16:37:01 +00:00
|
|
|
// TypeError: (179-180): This type cannot be encoded.
|
2018-06-06 09:15:22 +00:00
|
|
|
// TypeError: (187-188): This type cannot be encoded.
|
|
|
|
// TypeError: (190-194): This type cannot be encoded.
|
|
|
|
// TypeError: (196-202): This type cannot be encoded.
|