Type constraint error with unary minus, fixes #380