Opened 13 years ago

Closed 4 years ago

#1603 closed defect (worksforme)

Inner-Outer warnings

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone: Future
Component: Frontend Version:
Keywords: Cc: Martin Sjölund, Adrian Pop

Description

It is recommended that finding a.b.c.TI when looking for an inner TI generates a warning.

class A  
  outer Real TI; 
  class B 
    Real TI; 
    class C 
      Real TI; 
      class D 
        outer Real TI;  //  
      end D; 
      D d; 
    end C; 
    C c; 
  end B; 
  B b; 
end A;

class I 
  inner Real TI; 
  A a;   // a.TI, a.b.c.d.TI, and TI is the same variable    
end I;

Change History (2)

comment:1 by Dietmar Winkler, 9 years ago

Milestone: Future

comment:2 by Per Östlund, 4 years ago

Component: Frontend
Resolution: worksforme
Status: newclosed

The specification does not say anything about giving a warning for this anymore.

Note: See TracTickets for help on using tickets.