Unable to set entry for IntMap<MyInterface[]>
Monkey Forums/Monkey Bug Reports/Unable to set entry for IntMap<MyInterface[]>
| ||
The following source doesn't compile: <code> Interface BaseInterface End Class BaseImplementation Implements BaseInterface End Function Main%() Local b1 := New BaseImplementation Local b2 := New BaseImplementation Local tweens:IntMap<BaseInterface[]> 'throws error at compile time: Error : Unable to find overload for Set(Int,BaseImplementation[]) tweens.Set(0, [b1, b2]) Return 0 End </code> |