From: "Mike.McNett" <michael.mcnett@usma.edu>
Subject: Abstract Interface - Assertion Error
Date: Thu, 18 Oct 2007 11:03:54 -0700
Date: 2007-10-18T11:03:54-07:00 [thread overview]
Message-ID: <1192730634.890947.17190@e9g2000prf.googlegroups.com> (raw)
I am having a problem with creating one Interface, then an Abstract
type that implements that interface, and a concrete type from the
Abstract one. When I don't use the interface, all is good. When the
Abstract type is based on the Interface Type, however, I get a
"System.Assertions.Assert_Failur" runtime exception. Here's the basic
code:
In Graph_Interface package, I define Type Graph_Interface_Type is
Interface;
In Abstract_Graph package, I define Type Abstract_Graph_Type is
ABSTRACT NEW Graph_Interface.Graph_Interface_Type with Private;
In my Matrix_Graph package, I define Type Matrix_Graph_Type is new
Abstract_Graph_Type With Private;
Using the above, everything compiles but I get the assertion error.
When I change the Abstract_Graph_Type so that it is just Abstract and
doesn't implement the interface, all is good.
Any ideas / thoughts?
Thanks,
Mike
next reply other threads:[~2007-10-18 18:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 18:03 Mike.McNett [this message]
2007-10-18 22:48 ` Abstract Interface - Assertion Error Georg Bauhaus
2007-10-19 10:52 ` Mike.McNett
2007-10-19 10:54 ` Mike.McNett
2007-10-19 17:46 ` Georg Bauhaus
2007-10-19 19:28 ` Mike.McNett
2007-10-19 19:45 ` Mike.McNett
2007-10-22 17:02 ` Georg Bauhaus
2007-10-22 18:07 ` Georg Bauhaus
2007-10-23 19:18 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox