Opened 14 years ago
Closed 5 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 , 10 years ago
| Milestone: | → Future |
|---|
comment:2 by , 5 years ago
| Component: | → Frontend |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

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