🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.eiffel
Article #1529

Re: Problems with non-conforming Create?!

#1529
From: Jos Warmer
Date: Mon, 05 Feb 1990 10:31
28 lines
1581 bytes
In article <1990Jan30.132802.15815@isy.liu.se> nicwi@isy.liu.se ( Niclas Wiberg) writes:
>I think I have discovered a problem concerning the Create routine.
>Perhaps this would have been fixed in the coming release, but still
>I believe it is worth mentioning:
>
>The problem arises because you are allowed to redefine the Create
>routine (in a descendant class) with no concern of conformance
>rules. Consider the classes PARENT and CHILD:

You are right, this a a known `hole' in the eiffel type system.
It happens also with other routines than Create.

>As far as I can see, there is nothing illegal in the example
>above, although it is very "constructed". Or am I wrong?

I have not seen the solution yet, although one will have to come
This example might look very constructed, but I ran into it
during normal program development.  So it gives real problems.



                                 Jos Warmer
				 jos@cs.vu.nl
				 ...uunet!mcvax!cs.vu.nl!jos
--
                                 Jos Warmer
				 jos@cs.vu.nl
				 ...uunet!mcvax!cs.vu.nl!jos
Technical Details
Message-ID: <5283@star.cs.vu.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!star.cs.vu.nl!jos
References: <1990Jan30.132802.15815@isy.liu.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!star.cs.vu.nl!jos
From: jos@cs.vu.nl (Jos Warmer)
Newsgroups: comp.lang.eiffel
Subject: Re: Problems with non-conforming Create?!
Keywords: eiffel, redefinition, create, conformance
Message-ID: <5283@star.cs.vu.nl>
Date: 5 Feb 90 10:31:18 GMT
References: <1990Jan30.132802.15815@isy.liu.se>
Sender: news@cs.vu.nl
Distribution: comp
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Lines: 28