Index: src/GenPoly/GenPoly.cc
===================================================================
--- src/GenPoly/GenPoly.cc	(revision b8b6c442ec38d0144e4660d68135353dbaee50df)
+++ src/GenPoly/GenPoly.cc	(revision ec42ff2e16a4d9e4fa25a7afb0cc135b75bfdf53)
@@ -459,6 +459,5 @@
 
 	void addToTyVarMap( TypeDecl * tyVar, TyVarMap &tyVarMap ) {
-		// xxx - should this actually be insert?
-		tyVarMap[ tyVar->get_name() ] = TypeDecl::Data{ tyVar };
+		tyVarMap.insert( tyVar->name, TypeDecl::Data{ tyVar } );
 	}
 
