Changes in src/AST/SymbolTable.cpp [98e8b3b:e67991f]
- File:
-
- 1 edited
-
src/AST/SymbolTable.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/SymbolTable.cpp
r98e8b3b re67991f 313 313 if ( ! expr->result ) continue; 314 314 const Type * resTy = expr->result->stripReferences(); 315 auto aggrType = dynamic_cast< const BaseInstType * >( resTy );315 auto aggrType = dynamic_cast< const ReferenceToType * >( resTy ); 316 316 assertf( aggrType, "WithStmt expr has non-aggregate type: %s", 317 317 toString( expr->result ).c_str() ); … … 654 654 if ( dwt->name == "" ) { 655 655 const Type * t = dwt->get_type()->stripReferences(); 656 if ( auto rty = dynamic_cast<const BaseInstType *>( t ) ) {656 if ( auto rty = dynamic_cast<const ReferenceToType *>( t ) ) { 657 657 if ( ! dynamic_cast<const StructInstType *>(rty) 658 658 && ! dynamic_cast<const UnionInstType *>(rty) ) continue;
Note:
See TracChangeset
for help on using the changeset viewer.