mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
211 B
Solidity
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.
|