Index: src/AST/Type.cpp
===================================================================
--- src/AST/Type.cpp	(revision de57af9e217ccb4f8e44b5ca36bdf77c6f0fdc58)
+++ src/AST/Type.cpp	(revision cd59d28d0ab3255be07ca6dffc9b4f03bd059efd)
@@ -105,4 +105,6 @@
 }
 
+// --- BaseInstType
+
 std::vector<readonly<Decl>> BaseInstType::lookup( const std::string& name ) const {
 	assertf( aggr(), "Must have aggregate to perform lookup" );
@@ -119,6 +121,6 @@
 template<typename decl_t>
 SueInstType<decl_t>::SueInstType(
-	const decl_t * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as )
-: BaseInstType( b->name, q, move(as) ), base( b ) {}
+	const base_type * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as )
+: BaseInstType( b->name, q, std::move(as) ), base( b ) {}
 
 template<typename decl_t>
@@ -142,4 +144,6 @@
 	const TraitDecl * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as )
 : BaseInstType( b->name, q, move(as) ), base( b ) {}
+
+// --- TypeInstType
 
 void TypeInstType::set_base( const TypeDecl * b ) {
