Closed trethaller closed 3 years ago
The Array/ArrayProxy is actually a feature, so completion is speedup because we skip hxbit macros processing and codegen when doing completion.
Since I don't remember about why there's @:noCompletion on ArrayProxy I've removed it ;)
When declaring a serializable
Array
like so:@:s var array : Array<Object>;
The auto completion considers
array
to be anArray
, while at compile-time it will become anArrayProxy
. This works fine as long asArrayProxy
implements all the same methods asArray
, but starts to break when static extensions are added toArray
.For that reason (misleading auto-completion) our developers started declaring ArrayProxies specifically. This works fine, except for
length
which for some reason is marked as@:noCompletion
. Could this be removed?