generic class: internal error

Monkey Forums/Monkey Programming/generic class: internal error

Rone(Posted 2012) [#1]
Hi,
I get the following error..
Semanting...
(null)
STOPPED
F:/Tools/MonkeyPro66/generic_test.monkey<6> : Internal error
Monkey Runtime Error : F:/Tools/MonkeyPro66/generic_test.monkey<6> : Internal error


...with this generic classes



If I call 'new Variable_Vector2<Int>' instead of 'Variable_Vector<Int>.Create(2)'...it compiles, am I doing something wrong??

Edit:

I solved it without generics.


MikeHart(Posted 2012) [#2]
You are maybe missinz the NEW command here?


therevills(Posted 2012) [#3]
I would be raising a bug thread for that one...