blob: 46e5852122fadddfd1ca05548d6441e16617dba6 (
plain) (
tree)
|
|
contract test {
function f() public {
uint[] memory a;
a[.5];
}
}
// ----
// TypeError: (77-79): Type rational_const 1 / 2 is not implicitly convertible to expected type uint256. Try converting to type ufixed8x1 or use an explicit conversion.
|