Changeset b26144d for src/AST/Print.cpp


Ignore:
Timestamp:
Aug 28, 2020, 3:25:31 PM (17 months ago)
Author:
Fangren Yu <f37yu@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
191a190, 98cf828
Parents:
8e2cb4a
Message:

do not print resolved type in tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.cpp

    r8e2cb4a rb26144d  
    2121#include "Type.hpp"
    2222#include "TypeSubstitution.hpp"
     23#include "CompilationState.h"
    2324
    2425#include "Common/utility.h" // for group_iterate
     
    239240
    240241                if ( node->result ) {
    241                         os << endl << indent << "... with resolved type:" << endl;
    242                         ++indent;
    243                         os << indent;
    244                         node->result->accept( *this );
    245                         --indent;
     242                        if (!deterministic_output) {
     243                                os << endl << indent << "... with resolved type:" << endl;
     244                                ++indent;
     245                                os << indent;
     246                                node->result->accept( *this );
     247                                --indent;
     248                        }
    246249                }
    247250
Note: See TracChangeset for help on using the changeset viewer.