RE: [sv-bc] Query regarding constant class property

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sun Jan 11 2009 - 19:44:16 PST
I think so, too. I've added such a bugnote to one of the Manti dealing with enum constants.

Shalom 

> -----Original Message-----
> From: Rich, Dave [mailto:Dave_Rich@mentor.com] 
> Sent: Monday, January 12, 2009 3:09 AM
> To: Bresticker, Shalom; Steven Sharp; sv-bc@eda.org; 
> ighosh@cal.interrasystems.com
> Subject: RE: [sv-bc] Query regarding constant class property
> 
> I believe enum constants should be treated as localparams in 
> the scope where they are declared.
> 
> 
> 
> > -----Original Message-----
> > From: owner-sv-bc@server.eda.org [mailto:owner-sv-bc@server.eda.org]
> On
> > Behalf Of Bresticker, Shalom
> > Sent: Sunday, January 11, 2009 6:49 AM
> > To: Steven Sharp; sv-bc@eda.org; ighosh@cal.interrasystems.com
> > Subject: RE: [sv-bc] Query regarding constant class property
> > 
> > In general, what enum constants *are* is not well defined 
> in the LRM,
> and
> > thus their characteristics and attributes are not well 
> defined either.
> > 
> > Shalom
> > 
> > 
> > > This LRM rule does not apply to the enum constants, 
> because the enum 
> > > constants are not members of the class.  A member of the class is 
> > > either a property or a method of the class.
> > > These enum constants are names declared inside the scope of the 
> > > class, but they are neither properties nor methods.  The LRM rule 
> > > only applies to nonstatic *members*, so it does not apply 
> to these 
> > > enum constants.
> > 
> ---------------------------------------------------------------------
> > Intel Israel (74) Limited
> > 
> > This e-mail and any attachments may contain confidential 
> material for 
> > the sole use of the intended recipient(s). Any review or 
> distribution 
> > by others is strictly prohibited. If you are not the intended 
> > recipient, please contact the sender and delete all copies.
> > 
> > 
> > --
> > This message has been scanned for viruses and dangerous content by 
> > MailScanner, and is believed to be clean.
> > 
> 
> 
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Sun Jan 11 19:45:33 2009

This archive was generated by hypermail 2.1.8 : Sun Jan 11 2009 - 19:46:36 PST