mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
157 B
Solidity
8 lines
157 B
Solidity
contract test {
|
|
function f() public {
|
|
~fixed(3.5);
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (50-61): Unary operator ~ cannot be applied to type fixed128x18
|