Changes in src/ResolvExpr/Unify.cc [bbf2cb1:06601401]
- File:
-
- 1 edited
-
src/ResolvExpr/Unify.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Unify.cc
rbbf2cb1 r06601401 517 517 } 518 518 519 void postvisit( const ast::EnumPosType * ) {519 void postvisit( const ast::EnumPosType * posType ) { 520 520 // Lazy approach for now 521 521 auto otherPos = dynamic_cast< const ast::EnumPosType *>(type2); 522 if (otherPos) this->result = otherPos; 522 if ( otherPos ) { 523 if ( otherPos->instance->base->name == posType->instance->base->name ) 524 result = otherPos; 525 } 523 526 } 524 527
Note:
See TracChangeset
for help on using the changeset viewer.