mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use error message for unary operators.
This commit is contained in:
committed by
nishant-sachdeva
parent
5f4c91cc6d
commit
755e043a6d
@@ -6,4 +6,4 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 4907: (97-99): Unary operator - cannot be applied to type uint256
|
||||
// TypeError 4907: (97-99): Unary operator - cannot be applied to type uint256. Unary negation is only allowed for signed integers.
|
||||
|
||||
Reference in New Issue
Block a user