Unary +/- can't be used for enums
Submitted by Simon Werbeck
Link to original bug (#727927)
Description
Created attachment 273948 Negation of enum fails
The attached test case fails to compile with the error "Operator not supported for `Direction'". I think Vala should support this since writing (-1 * d) works as expected.
Attachment 273948, "Negation of enum fails":
bug.vala