E3007 Types Errors

Types

cannot negate type '%s'; only numeric types support negation

When this occurs

`int(myArray)`

Example error message

error[E3007]: cannot convert ARRAY to int

How to fix

Arrays cannot be converted to scalar values. Access individual elements instead.

Related errors

No related errors.