mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
209 B
Solidity
10 lines
209 B
Solidity
contract test {
|
|
function f() public {
|
|
fixed a = 4.5;
|
|
int b = a;
|
|
a; b;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (73-82): Type fixed128x18 is not implicitly convertible to expected type int256.
|