[lisaac-Bugs][312094] Cannot redefine generic slot ?

lisaac-bugs at alioth.debian.org lisaac-bugs at alioth.debian.org
Fri Nov 20 15:35:42 UTC 2009


Bugs item #312094, was changed at 19/11/2009 18:03 by Benoit Sonntag
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=312094&group_id=100200

>Status: Closed
Priority: 3
Submitted By: Damien Bouvarel (dams-guest)
Assigned to: Nobody (None)
Summary: Cannot redefine generic slot ? 
Target Milestone: None
Category: Lisaac Compiler


Initial Comment:
Invariance vs redefinition  

It used to compile ok on last compiler version. Is it a design choice or a bug ?


Section Header
  + name := FATHER(E);
Section Inherit
  - parent_object:OBJECT := OBJECT;
Section Public
  - make e:E <- ();


Section Header
  + name := SON;
Section Inherit
  + parent_father:Expanded FATHER(REAL);
Section Public
  - make r:REAL <- 
  (
       parent_father.make r;
       //...
  );

Output error:

Invariance name argument invalid. 

----------------------------------------------------------------------

>Comment By: Benoit Sonntag (sonntag-guest)
Date: 20/11/2009 16:35

Message:
it's not a bug, but a design choice ;-)

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413092&aid=312094&group_id=100200



More information about the Lisaac-devel mailing list