Index: src/GenPoly/GenPoly.cc
===================================================================
--- src/GenPoly/GenPoly.cc	(revision adc67818491910acdb5cc19b5cb49ba6cefce50f)
+++ src/GenPoly/GenPoly.cc	(revision 1b7ea438000707f1b44dd8d1be0ee7f72350dadf)
@@ -37,5 +37,5 @@
 	ReferenceToType *isPolyRet( FunctionType *function ) {
 		if ( ! function->get_returnVals().empty() ) {
-			TyVarMap forallTypes;
+			TyVarMap forallTypes( (TypeDecl::Kind)-1 );
 			makeTyVarMap( function, forallTypes );
 			return (ReferenceToType*)isPolyType( function->get_returnVals().front()->get_type(), forallTypes );
