Index: src/SynTree/Expression.cc
===================================================================
--- src/SynTree/Expression.cc	(revision ef9988b2a61622a9298917f718714c142ebfa9a8)
+++ src/SynTree/Expression.cc	(revision 191a19015ebe9917f03b8a35a5f9e245085378e7)
@@ -30,4 +30,5 @@
 #include "Type.h"                    // for Type, BasicType, Type::Qualifiers
 #include "TypeSubstitution.h"        // for TypeSubstitution
+#include "CompilationState.h"        // for deterministic_output
 
 #include "GenPoly/Lvalue.h"
@@ -71,7 +72,9 @@
 
 	if ( result ) {
-		os << std::endl << indent << "with resolved type:" << std::endl;
-		os << (indent+1);
-		result->print( os, indent+1 );
+		if (!deterministic_output) {
+			os << std::endl << indent << "with resolved type:" << std::endl;
+			os << (indent+1);
+			result->print( os, indent+1 );
+		}
 	}
 
