[sv-bc] Re: [sv-ac] #1532

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Sun Jul 30 2006 - 11:00:04 PDT
I dissent from that feeling.  See the discussion of the Uniform Access
Principle in the bug notes of
 
    http://www.eda-stds.org/svdb/bug_view_page.php?bug_id=0000093
<http://www.eda-stds.org/svdb/bug_view_page.php?bug_id=0000093> 
 
-- Brad

________________________________

From: owner-sv-ac@eda-stds.org [mailto:owner-sv-ac@eda-stds.org] On
Behalf Of Bresticker, Shalom
Sent: Saturday, July 29, 2006 10:19 PM
To: Lisa Piper; Kulshrestha, Manisha; sv-ac@eda-stds.org
Subject: RE: [sv-ac] #1532



Note that the current feeling in SV-BC and SV-EC is that it was a
mistake to allow omitting parentheses in non-void functions.

 

Shalom

 

________________________________

From: owner-sv-ac@server.eda-stds.org
[mailto:owner-sv-ac@server.eda-stds.org] On Behalf Of Lisa Piper
Sent: Saturday, July 29, 2006 3:12 AM
To: Kulshrestha, Manisha; sv-ac@server.eda-stds.org
Subject: RE: [sv-ac] #1532

 

Hi Manisha,

 

If you look at the BNF of #928 (and the original BNF for that matter), 

 

property_instance ::=

ps_property_identifier [ ( [ list_of_arguments
property_list_of_arguments] ) ]

 

sequence_instance ::=

ps_sequence_identifier [ ( [ list_of_arguments
sequence_list_of_arguments] ) ]        

 

 

it appears to me that the () are optional.  Of course, it could be
written this way for the case of a property/sequence that does not have
any arguments at all, but that was not my interpretation.  I think they
should be optional like void functions, etc.

 

Lisa           

 

________________________________

From: owner-sv-ac@eda-stds.org [mailto:owner-sv-ac@eda-stds.org] On
Behalf Of Kulshrestha, Manisha
Sent: Friday, July 28, 2006 7:22 PM
To: sv-ac@eda-stds.org
Subject: [sv-ac] #1532

 

Hi,

 

As we were discussing in the meeting if the tasks or functions require
empty '()' in all cases or not. Here is what LRM says about it:

 

12.4.5 Optional argument list
When a void function or class function method specifies no arguments,
the empty parenthesis, (), following
the subroutine name shall be optional. This is also true for tasks, void
functions, and class methods that
require arguments, when all arguments have defaults specified. It shall
be illegal to omit the parenthesis in a
directly recursive nonvoid function method call that is not
hierarchically qualified.

 

It is hard to draw a direct conclusion about sequences/properties.
Should they be treated like void functions and therefore empty
parenthesis be optional ?

 

Manisha
Received on Sun Jul 30 11:00:33 2006

This archive was generated by hypermail 2.1.8 : Sun Jul 30 2006 - 11:02:00 PDT