RE: [sv-ec] Email Vote: Response requested by Wednesday May 11 2011 11:59pm

From: Rich, Dave <Dave_Rich@mentor.com>
Date: Wed May 11 2011 - 16:16:37 PDT

The LRM asks for an assignment compatible expression. Why would that not be an assignment context?

7.5.1 "The optional initialization expression is used to initialize the dynamic array. When present, it shall be an array that is assignment-compatible with the left-hand-side dynamic array."

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Steven Sharp
Sent: Wednesday, May 11, 2011 4:11 PM
To: neil.korpusik@oracle.com; sv-ec@eda.org
Subject: RE: [sv-ec] Email Vote: Response requested by Wednesday May 11 2011 11:59pm

Neil,

Regarding Mantis 3394, I will ask the same question that I asked Dave:
Can you point out the text in the LRM that would indicate that the initialization expression of a dynamic array 'new' is an assignment-like context? If there is such text, then the example is legal and I withdraw my complaint. If there isn't, then the example is illegal.

-----Original Message-----
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Neil Korpusik
Sent: Wednesday, May 11, 2011 6:22 PM
To: sv-ec@eda.org
Subject: Re: [sv-ec] Email Vote: Response requested by Wednesday May 11 2011 11:59pm

(1) Mantis 3046 ___Yes _X_No

    I agree with a lot of what Arturo mentioned.
    To tell you the truth, I don't think this set of changes is even necessary.
    I agree with the summary of the examples described in the mantis item, but
    it seems to me that the existing text leads to this conclusion.

(2) Mantis 2506 ___Yes ___No
     2506_v5.pdf

     I didn't have time to review this one in detail.

(3) Mantis 3531 _X_Yes ___No
(4) Mantis 3394 ___Yes _X_No

    It isn't clear to me that this example is invalid.
    Aren't both the existing text and the proposed text legal?
    I agree with the change in the comment for dest2.

(5) Mantis 2905 _X_Yes ___No
(6) Mantis 3254 _X_Yes ___No
(7) Mantis 3298 ___Yes _X_No

    By making this change, it creates a new problem in the existing text.
    The following sentence assumes 'this' can only be used in a class
    subroutine.

    "The this keyword denotes a predefined object handle that refers to the
     object that was used to invoke the subroutine that this is used within."

Friendly amendments:
    The new text should be in blue and not underlined.
    The mantis item should also be shown at the top of the proposal.

(8) Mantis 3054 _X_Yes ___No CLOSE as duplicate of 3202 (sv-ac)
(9) Mantis 2935 _X_Yes ___No

--
This message has been scanned for viruses and dangerous content by 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.
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed May 11 16:16:56 2011

This archive was generated by hypermail 2.1.8 : Wed May 11 2011 - 16:16:58 PDT