Index: src/GenPoly/GenPoly.cc
===================================================================
--- src/GenPoly/GenPoly.cc	(revision b8b6c442ec38d0144e4660d68135353dbaee50df)
+++ src/GenPoly/GenPoly.cc	(revision 7ba13249ea0da313a9eabcdbd2aa54d5a9b18b29)
@@ -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 } );
 	}
 
