[sv-bc] Forward typedef of parameterized class

From: <shweta_at_.....>
Date: Thu Jan 31 2008 - 02:09:25 PST
Hi All,

Is foward typedef of parameterized class allowed?

For the following testcase :

package pkg;
    typedef B;
    class A #(parameter int p1 = 1);
        B b1;
    endclass
    class B #(parameter int p1 = 1);
            A #(p1) a1;
    endclass
endpackage

MTI gives following error :
** Error: test1.sv(2): Forward typedef for parameterized class 'B' not
allowed

Regards,
Shweta.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 31 02:25:04 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 31 2008 - 02:25:37 PST