Index: src/Tuples/TupleExpansion.cc
===================================================================
--- src/Tuples/TupleExpansion.cc	(revision 94a8123eaa2a5e8824fefa939a2801d1236aa937)
+++ src/Tuples/TupleExpansion.cc	(revision 7f623d6fc2334cda8b26a77d059a48637fb5a398)
@@ -332,5 +332,5 @@
 	TypeInstType * isTtype( Type * type ) {
 		if ( TypeInstType * inst = dynamic_cast< TypeInstType * >( type ) ) {
-			if ( inst->get_baseType()->get_kind() == TypeDecl::Ttype ) {
+			if ( inst->get_baseType() && inst->get_baseType()->get_kind() == TypeDecl::Ttype ) {
 				return inst;
 			}
