Index: src/GenPoly/Box.cc
===================================================================
--- src/GenPoly/Box.cc	(revision e9b50434ce6bdadbbeec1c812d5b5c1b1322637d)
+++ src/GenPoly/Box.cc	(revision 5e3f1e14cea1b791454e6f55b046ed4a95c4e041)
@@ -80,4 +80,5 @@
 			CallAdapter();
 
+			void premutate( Declaration * declaration );
 			void premutate( FunctionDecl * functionDecl );
 			void premutate( TypeDecl * typeDecl );
@@ -454,4 +455,9 @@
 
 		CallAdapter::CallAdapter() : tempNamer( "_temp" ) {}
+
+		void CallAdapter::premutate( Declaration * ) {
+			// Prevent type declaration information from leaking out.
+			GuardScope( scopeTyVars );
+		}
 
 		void CallAdapter::premutate( FunctionDecl *functionDecl ) {
