Changeset eb7586e for src/ResolvExpr/ConversionCost.cc
- Timestamp:
- Apr 28, 2024, 7:50:11 PM (5 months ago)
- Branches:
- master
- Children:
- c5c123f
- Parents:
- 7042c60
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.cc
r7042c60 reb7586e 284 284 } else if ( auto dstAsEnumInst = dynamic_cast< const ast::EnumInstType * >( dst ) ) { 285 285 if ( dstAsEnumInst->base && !dstAsEnumInst->base->base ) { 286 cost = Cost::zero; 287 cost.incUnsafe(); 286 cost = Cost::unsafe; 288 287 } 289 288 } … … 482 481 } else if ( auto dstAsEnumInst = dynamic_cast< const ast::EnumInstType * >( dst ) ) { 483 482 if ( dstAsEnumInst->base && !dstAsEnumInst->base->base ) { 484 cost = Cost::zero; 485 cost.incUnsafe(); 483 cost = Cost::unsafe; 486 484 } 487 485 } … … 504 502 } else if ( auto dstAsEnumInst = dynamic_cast< const ast::EnumInstType * >( dst ) ) { 505 503 if ( dstAsEnumInst->base && !dstAsEnumInst->base->base ) { 506 cost = Cost::zero; 507 cost.incUnsafe(); 504 cost = Cost::unsafe; 508 505 } 509 506 }
Note: See TracChangeset
for help on using the changeset viewer.