RE: [sv-bc] RE: Resolution of inherited type names

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Mon Sep 10 2007 - 11:18:34 PDT
Minor syntax point -- I think the 'var' keyword is required in a
variable declaration that uses the type operator.

     module child #(type T = int);
       int T2;
       class C extends T;
          var type(T2) x;
       endclass
     endmodule 

-- Brad


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Sep 10 11:21:10 2007

This archive was generated by hypermail 2.1.8 : Mon Sep 10 2007 - 11:21:31 PDT