You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we parametrize the key type of NativeAssocArray?
I'm trying to create an extern for a "Collection" interface:
extern interface CollectionInterface<T=Dynamic, K=Dynamic> {.
function toArray():NativeArray;
}
NativeArray isn't super useful since I lose the value type.
NativeIndexedArray isn't right since the key type may be String.
I can't use NativeAssocArray right now since the key type may be Int.
The text was updated successfully, but these errors were encountered:
Can we parametrize the key type of NativeAssocArray?
I'm trying to create an extern for a "Collection" interface:
NativeArray isn't super useful since I lose the value type.
NativeIndexedArray isn't right since the key type may be String.
I can't use NativeAssocArray right now since the key type may be Int.
The text was updated successfully, but these errors were encountered: