Index: src/AST/Print.cpp
===================================================================
--- src/AST/Print.cpp	(revision 665f43269c6958cbb65487dbaac9e440b9cd5815)
+++ src/AST/Print.cpp	(revision 50b88854c78d94229d63df8d800995aebc5797b4)
@@ -1359,5 +1359,5 @@
 		preprint( node );
 		os << "instance of type " << node->name
-		   << " (" << (node->kind == ast::TypeVar::Ftype ? "" : "not ") << "function type)";
+		   << " (" << (node->kind == ast::TypeDecl::Ftype ? "" : "not ") << "function type)";
 		print( node->params );
 
