Mark Hartoog wrote: >> package p; >> typedef p::T2 T; >> typedef T T2; >> endpackage > > > I think this example is illegal. When processing "typedef p::T2 T;" > there is no type 'T2' yet in package 'p', so this should be an > error. So does that mean that you think that: package p; function int f(int x); return p::f2(x); endfunction function f2(int x); return 1; endfunction endpackage should be an error? I don't. Gord. -- -------------------------------------------------------------------- Gordon Vreugdenhil 503-685-0808 Model Technology (Mentor Graphics) gordonv@model.comReceived on Tue Nov 21 14:52:26 2006
This archive was generated by hypermail 2.1.8 : Tue Nov 21 2006 - 14:52:36 PST