Closed timebomb0 closed 3 years ago
Empty Array is equivalent to zero when used in the position of a number; this is an element optimization. If you don't want things like this to happen, you can disable it in the extension settings.
Ahh ok, I didn't realize that was valid as a value in a vector. Thanks!
Compiling
Vector(12, 0, 50)
compiles toVector(12, Empty Array, 50)
. This is on 2.0 Preview B. 0.0 is a valid vector location in some cases, so I'd expect it to compile 0 to the number 0 in this scenario.