Hello, I am curious why Object can’t be used as generic type in Hash, Array etc.
The exact error message is: “can’t use Object as generic type argument yet, use a more specific type” - so, here are some plans for the future about this?
I can use my own superclass as generic type in Array and then insert all subclass instances in it, so what is such special about Object? It’s like OO without Object.
If there is a good source of information about this, thank you for the link!