Opened 14 years ago

Closed 4 years ago

Last modified 4 years ago

#1416 closed defect (fixed)

Extends are not handled properly

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone: 1.16.0
Component: New Instantiation Version:
Keywords: Cc: Martin Sjölund

Description

{{{class B

extends A;
extends A;
extends A;
extends A;
Integer i;

end B;
class A

extends B;
extends B;
extends B;
... x300.000
extends B;

end A;
}}}

Expected output:
{{{class A

Integer i;

end A;}}}

A smart implementation would keep a list of all classes(+modifications) it has currently inherited (start-value of course includes itself).

Change History (3)

comment:1 by Dietmar Winkler, 9 years ago

Cc: sjoelund.se, → sjoelund.se
Milestone: Future

comment:2 by Per Östlund, 4 years ago

Component: New Instantiation
Resolution: fixed
Status: newclosed

The new frontend gives an error "extends A causes an instantiation loop".

comment:3 by Francesco Casella, 4 years ago

Milestone: Future1.16.0
Note: See TracTickets for help on using tickets.