Index: src/SymTab/Mangler.cc
===================================================================
--- src/SymTab/Mangler.cc	(revision 5339a87ca7689b734a2eb1d355830ea9713784a1)
+++ src/SymTab/Mangler.cc	(revision 98e8b3bff3b5c212f4724bd051ba614a77a1be19)
@@ -437,5 +437,5 @@
 		  private:
 			void mangleDecl( const ast::DeclWithType *declaration );
-			void mangleRef( const ast::ReferenceToType *refType, std::string prefix );
+			void mangleRef( const ast::BaseInstType *refType, std::string prefix );
 
 			void printQualifiers( const ast::Type *type );
@@ -560,5 +560,5 @@
 		}
 
-		void Mangler_new::mangleRef( const ast::ReferenceToType * refType, std::string prefix ) {
+		void Mangler_new::mangleRef( const ast::BaseInstType * refType, std::string prefix ) {
 			printQualifiers( refType );
 
Index: src/SymTab/Validate.cc
===================================================================
--- src/SymTab/Validate.cc	(revision 5339a87ca7689b734a2eb1d355830ea9713784a1)
+++ src/SymTab/Validate.cc	(revision 98e8b3bff3b5c212f4724bd051ba614a77a1be19)
@@ -1508,5 +1508,5 @@
 		}
 
-		void checkGenericParameters( const ast::ReferenceToType * inst ) {
+		void checkGenericParameters( const ast::BaseInstType * inst ) {
 			for ( const ast::Expr * param : inst->params ) {
 				if ( ! dynamic_cast< const ast::TypeExpr * >( param ) ) {
