[sv-bc] Forward reference of baseclass

From: Alok Kumar Sinha <aksinha_at_.....>
Date: Thu Feb 07 2008 - 05:28:15 PST
Hi

Consider the scenario :
 module top;
 class C #(parameter type T = int) extends T #(3);
 endclass
 class D #(parameter p = 1);
 endclass

 C #( D #(2)) x = new;

endmodule

If this case is syntactically and semantically correct then what 
parameter value should be propagated to the class 'D'.
Whether it should be  '2'  from  'D  #(2)' or '3' from 'T #(3)' ?

Regards
Alok



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Feb 7 05:35:42 2008

This archive was generated by hypermail 2.1.8 : Thu Feb 07 2008 - 05:37:15 PST