Bug in gec ?
Howard Thomson <[email protected]> Sat, 19 Jul 2008 18:39:43 +0100
| Newsgroups | gmane.comp.lang.eiffel.gobo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I managed to confuse myself, and the compiler, by trying to compile
a class set, as below, which had non-corresponding class filenames
vs the contained class names.
Would someone care to compile the following (trivial) class set
and see whether 'gec' compiles it [it shouldn't !] and whether you
get any error messages that explain the problem ?
Howard Thomson
--
"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former." -- Albert Einstein
==================================================
file main.e:
class MAIN
create
make
feature
parent: PARENT
make is
do
create {CHILD} parent.make
end
end
=======================
file: child.e:
deferred class PARENT
feature -- Creation
make is
do
end
end
======================
file parent.e:
class CHILD
inherit
PARENT
create
make
feature -- Creation
make_x is
do
end
end
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/