Reflection can make abstract types

Archives Forums/BlitzMax Bug Reports/Reflection can make abstract types

Hamish(Posted 2009) [#1]
Not sure if this is a bug or not but I'll post it anyway. Pretty self-explanatory. I've got abstract types in my tree of type extensions that I don't want being created through reflection. It would be nice not to have to manually specify each abstract type as being off-limits.

Type AbstractType Abstract
	Field Msg$="I exist"
End Type

T:TTypeId = TTypeId.ForName("AbstractType")
A:AbstractType = AbstractType(T.NewObject())
Print A.Msg