Changeset ef9988b for src/AST/Print.cpp


Ignore:
Timestamp:
Aug 18, 2020, 4:26:19 PM (4 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
13d33a75
Parents:
4fe6224
Message:

fix lost typeinst in resolved assertions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.cpp

    r4fe6224 ref9988b  
    237237        void postprint( const ast::Expr * node ) {
    238238                print( node->inferred );
     239
     240                if ( node->result ) {
     241                        os << endl << indent << "... with resolved type:" << endl;
     242                        ++indent;
     243                        os << indent;
     244                        node->result->accept( *this );
     245                        --indent;
     246                }
    239247
    240248                if ( node->env ) {
Note: See TracChangeset for help on using the changeset viewer.