Comment by ~duangle on ~duangle/scopes
This is actually not a bug. The repr string could be more helpful, but the type that's returned here is of supertype
vec-type-accessor
, and has to be cast tovec2
manually:(v2.st as vec2)
. This happens when the source value is a reference, so that the accessor can be used to perform assignments.