Welcome to the wonderful world of object oriented programming. You should be glad SystemVerilog didn't put in all of C++. Opinions aside about whether UAP is good or bad, is there a technical issue in the LRM that needs to be addressed? Dave > -----Original Message----- > From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Paul > Graham > Sent: Wednesday, December 14, 2005 9:53 AM > To: mcnamara@cadence.com > Cc: Brad.Pierce@synopsys.com; sv-bc@eda.org > Subject: Re: [sv-bc] Function call without parenthesis > > > Is the above code illegal? Or is the compiler is supposed to figure out > > that "f1.first" is a hierarchcial reference, where "f2.first" is an > > attribute inquiry? > > And f2 could be a variable of a parameterized type, so that > f2.first might be an enum method or a struct field. Pity > the poor reader. Pity the poor implementor! > > PaulReceived on Wed Dec 14 10:04:14 2005
This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 10:04:31 PST