Re: [eclipse-users] Strange behaviour with attributes.

From: Kish Shen <kish.shen_at_...2...>
Date: Mon, 26 Mar 2007 06:43:07 +0100
On Monday 26 March 2007 06:00, Malcolm Ryan wrote:
> The following code behaves very strangely for me. When you run  
> 'test', it prints.
> c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(c(...))))))))))))))))))))

This is incorrect, and looks like an ECLiPSe compiler bug

>but if you uncomment the line 'true', it prints:

This is the correct behaviour -- by adding the `true', you avoid the compiler bug.

The existing ECLiPSe compiler is written in C, and contains known bugs that are difficult 
to fix. Generally, adding true near where the error occurs will provide a work around
for the problem. 

This is of course far from ideal. We are in the process of replacing this compiler with one written
in ECLiPSe, which should be easier to maintain.


Received on Mon Mar 26 2007 - 06:40:14 CEST

This archive was generated by hypermail 2.2.0 : Mon Jul 09 2018 - 02:05:29 CEST