bmx-ng / brl.mod

BlitzMax Runtime Libraries, for BlitzMax NG.
12 stars 12 forks source link

BRL.Collections won't compile #136

Open thareh opened 5 years ago

thareh commented 5 years ago

Hi,

BRL.Collections won't compile due to "Can't create instace of type TArrayList due to abstract Method ICollection.Equals:Int(o:object)" when running the included example "arraylist.bmx" :)

Also, what do you call the phenomena of using < string > etc? Is it documented somewhere?

Thanks, -- Carl

GWRon commented 5 years ago

Also, what do you call the phenomena of using etc? Is it documented somewhere?

Generics

Edit: it is not explained (yet) in the language part of the docs.

HurryStarfish commented 5 years ago

The feature of generics, and BRL.Collections which is based on it, aren't quite finished and ready-for-use yet. Consider them a work in progress :slightly_smiling_face:

woollybah commented 5 years ago

I've reworked the collections, simplifying things a lot. I'm currently working on some examples for the documentation.