liberty-eiffel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Liberty-eiffel] Question....


From: Cyril ADRIAN
Subject: Re: [Liberty-eiffel] Question....
Date: Mon, 15 Sep 2014 14:34:24 +0200

Hi Hans,

I transfer this discussion to the list as it may be interesting to other people.

2014-09-14 10:16 GMT+02:00 Hans Zwakenberg | Ocean Consulting GmbH <address@hidden>:
So the questions is this redefined as:  how do I extend the current REAL_GENERAL to achieve this?  Do I simply extend the REAL_GENERAL.e file?  I would be fooling around rather close to the current distribution, something that might make me nervous...  ;)

The problem is that REAL_GENERAL is a very ugly class (INTEGER_GENERAL too). It triggers very specific behaviour deep in the compiler (including crooked conformane rules). You cannot just inherit from it.

You could try modifying the source of the class itself.

If you do so, you may need to be aware of the numerous external "built_in" features. Those features are compiler hooks, see:

Cheers,

Cyril

reply via email to

[Prev in Thread] Current Thread [Next in Thread]