RE: [sv-ec] super.T, this.T and variable_handle.T

From: Daniel Mlynek <daniel.mlynek_at_.....>
Date: Wed Aug 27 2008 - 06:00:42 PDT
I understand the idea of allowing super.T - because super is not a handle -
this just inform tool that base class item should be referenced. Maybe when
super was introduced it would be better to use other syntax ie super::. This
would not confuse user suggesting that super is smth like handle.
 
But allowing this.T 
or ust handle.T
which both are handles is for me too much. 
 
DANiel

  _____  

From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org] On
Behalf Of Francoise Martinolle
Sent: 27 sierpnia 2008 14:49
To: sv-ec@server.eda-stds.org
Subject: [sv-ec] super.T, this.T and variable_handle.T


If we allow super.T or this.T to access a typedef or a type parameter in a
class
should'nt we also allow to use a class variable prefix to access them too?
 
module m;

class c;

     typedef int t;

endclass

c v;

v.t x;    // class variable prefix

endmodule

 

-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Aug 27 06:01:52 2008

This archive was generated by hypermail 2.1.8 : Wed Aug 27 2008 - 06:02:12 PDT