• Mikhail I. Izmestev's avatar
    Fix non unique TypeInfo with const value. · 069d4482
    Mikhail I. Izmestev authored
    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.
typeinfo.cpp 61.2 KB