Commit d6c85ac7 authored by ussrhero's avatar ussrhero

Merge branch 'fix_for_enum' into 'dev-1.0'

Fix non unique TypeInfo with const value.

See merge request !29
parents a0812f16 069d4482
......@@ -351,7 +351,7 @@ TypeInfoPtr loadType( const SymbolPtr &symbol )
NumVariant constVal;
symbol->getValue( constVal );
ptr = loadType( symbol->getType() );
ptr = TypeInfo::getBaseTypeInfo(symbol->getType());
dynamic_cast<TypeInfoImp*>( ptr.get() )->setConstant( constVal );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment