Re: Bug in gec ?

Eric Bezault <[email protected]> Thu, 24 Jul 2008 17:29:17 +0200
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
Eric Bezault wrote:
> Howard Thomson wrote:
>> 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 ?
> 
> I think that gec detects a compilation error because
> no C code is generated. However it fails to display
> an error message. I'll fix that.

It's now fixed. gec displays this message:

----
[GVSCN-1] class CHILD (1,16): file '.\child.e' contains class PARENT 
instead of the expected class CHILD.
----

-- 
Eric Bezault
mailto:[email protected]
http://www.gobosoft.com

-------------------------------------------------------------------------
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=/