Index: src/SymTab/Validate.cc
===================================================================
--- src/SymTab/Validate.cc	(revision f0ecf9bfb3ccc333894542767cb1c491f7e79993)
+++ src/SymTab/Validate.cc	(revision c6747a1976ae3b05e7405ec67eca0b4196c994af)
@@ -268,7 +268,7 @@
 		HoistStruct::hoistStruct( translationUnit ); // must happen after EliminateTypedef, so that aggregate typedefs occur in the correct order
 		ReturnTypeFixer::fix( translationUnit ); // must happen before autogen
+		acceptAll( translationUnit, epc ); // must happen before VerifyCtorDtorAssign, because void return objects should not exist; before LinkReferenceToTypes because it is an indexer and needs correct types for mangling
 		acceptAll( translationUnit, lrt ); // must happen before autogen, because sized flag needs to propagate to generated functions
 		acceptAll( translationUnit, genericParams );  // check as early as possible - can't happen before LinkReferenceToTypes
-		acceptAll( translationUnit, epc ); // must happen before VerifyCtorDtorAssign, because void return objects should not exist
 		VerifyCtorDtorAssign::verify( translationUnit );  // must happen before autogen, because autogen examines existing ctor/dtors
 		ReturnChecker::checkFunctionReturns( translationUnit );
