Fix non unique TypeInfo with const value.
This is affected enum definitions, each should have unique TypeInfo instance with value. loadType return cached instance of TypeInfo, so it will be shared and can't be used to store constant value. Constants may contain only basic (integral) type value. loadType can be replaced with direct loading of basic TypeInfo.
Showing with 1 addition and 1 deletion