mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
204 B
Solidity
9 lines
204 B
Solidity
|
contract test {
|
||
|
function f() public {
|
||
|
fixed a = 3.25;
|
||
|
bytes32 c = a; c;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (74-87): Type fixed128x18 is not implicitly convertible to expected type bytes32.
|