Index: src/ResolvExpr/PtrsCastable.cc
===================================================================
--- src/ResolvExpr/PtrsCastable.cc	(revision 7870799883ca946218c97fb6a189d1da90a16e8e)
+++ src/ResolvExpr/PtrsCastable.cc	(revision 63aea5a1e484371cb245cfb56eda20d6760ffb75)
@@ -10,6 +10,6 @@
 // Created On       : Sun May 17 11:48:00 2015
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Wed Mar  2 17:36:18 2016
-// Update Count     : 8
+// Last Modified On : Wed Dec 11 21:48:33 2019
+// Update Count     : 9
 //
 
@@ -176,10 +176,10 @@
 			if ( const ast::NamedTypeDecl * named = symtab.lookupType( inst->name ) ) {
 				if ( auto tyDecl = dynamic_cast< const ast::TypeDecl * >( named ) ) {
-					if ( tyDecl->kind == ast::TypeVar::Ftype ) {
+					if ( tyDecl->kind == ast::TypeDecl::Ftype ) {
 						return -1;
 					}
 				}
 			} else if ( const ast::EqvClass * eqvClass = env.lookup( inst->name ) ) {
-				if ( eqvClass->data.kind == ast::TypeVar::Ftype ) {
+				if ( eqvClass->data.kind == ast::TypeDecl::Ftype ) {
 					return -1;
 				}
