Index: src/SymTab/Validate.cc
===================================================================
--- src/SymTab/Validate.cc	(revision 92538ab6b62a97cccbb9045dcd6004887dec9529)
+++ src/SymTab/Validate.cc	(revision 4b4f95ff34fec278e4682b9bb658b1610c657802)
@@ -10,6 +10,6 @@
 // Created On       : Sun May 17 21:50:04 2015
 // Last Modified By : Andrew Beach
-// Last Modified On : Fri Nov 12 11:00:00 2021
-// Update Count     : 364
+// Last Modified On : Fri Apr 29  9:45:00 2022
+// Update Count     : 365
 //
 
@@ -143,4 +143,5 @@
 	struct LinkReferenceToTypes_old final : public WithIndexer, public WithGuards, public WithVisitorRef<LinkReferenceToTypes_old>, public WithShortCircuiting {
 		LinkReferenceToTypes_old( const Indexer * indexer );
+
 		void postvisit( TypeInstType * typeInst );
 
@@ -370,11 +371,15 @@
 	}
 
+	void linkReferenceToTypes( std::list< Declaration * > & translationUnit ) {
+		PassVisitor<LinkReferenceToTypes_old> lrt( nullptr );
+		acceptAll( translationUnit, lrt ); // must happen before autogen, because sized flag needs to propagate to generated functions
+	}
+
 	void validate_B( std::list< Declaration * > & translationUnit ) {
-		PassVisitor<LinkReferenceToTypes_old> lrt( nullptr );
 		PassVisitor<FixQualifiedTypes> fixQual;
 		{
 			Stats::Heap::newPass("validate-B");
 			Stats::Time::BlockGuard guard("validate-B");
-			acceptAll( translationUnit, lrt ); // must happen before autogen, because sized flag needs to propagate to generated functions
+			//linkReferenceToTypes( translationUnit );
 			mutateAll( translationUnit, fixQual ); // must happen after LinkReferenceToTypes_old, because aggregate members are accessed
 			HoistStruct::hoistStruct( translationUnit );
Index: src/SymTab/Validate.h
===================================================================
--- src/SymTab/Validate.h	(revision 92538ab6b62a97cccbb9045dcd6004887dec9529)
+++ src/SymTab/Validate.h	(revision 4b4f95ff34fec278e4682b9bb658b1610c657802)
@@ -42,4 +42,5 @@
 	void validate_E( std::list< Declaration * > &translationUnit );
 	void validate_F( std::list< Declaration * > &translationUnit );
+	void linkReferenceToTypes( std::list< Declaration * > &translationUnit );
 
 	const ast::Type * validateType(
