solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/153_array_copy_with_different_types2.sol

8 lines
211 B
Solidity

contract c {
uint32[] a;
uint8[] b;
function f() public { b = a; }
}
// ----
// TypeError 7407: (74-75): Type uint32[] storage ref is not implicitly convertible to expected type uint8[] storage ref.