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

8 lines
206 B
Solidity
Raw Normal View History

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