www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2363] New: Spurious () required after function name when used with array in prefix form

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2363

           Summary: Spurious () required after function name when used with
                    array in prefix form
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: andrei metalanguage.com


Sorry, couldn't find a shorter description.

void wyda(int[] a) { }

void main(string[] args) {
    int[] a;
    a.wyda;
}

This is crucial for integration of arrays with user-defined ranges.


-- 
Sep 16 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2363


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla digitalmars.com  2008-10-20 22:24 -------
Fixed dmd 2.020


-- 
Oct 20 2008