www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7231] New: Segfault using opDispatch with property notation

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

           Summary: Segfault using opDispatch with property notation
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: robert octarineparrot.com



13:52:06 GMT ---
The following testcase segfaults with dmd 2.057:
----
struct Contract {
     property void opDispatch(string name, T)(T value) {
    }
}
void validate() {
    Contract title;
    title.maxLength(255); // Works
    title.maxLength = 255; // Segfault
}
----
When compiled with dmd -c test.d, tested on OS X 64 and Ubuntu 32.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 05 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7231




Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f88878558c3066abed4f288c9dfa717427041be1
fix Issue 7231 - Segfault using opDispatch with property notation

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 26 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7231




Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f88878558c3066abed4f288c9dfa717427041be1
fix Issue 7231 - Segfault using opDispatch with property notation


Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4f0980fc1fef275d3dbb6994eefeea42e6e863f2
fix Issue 7231 - Segfault using opDispatch with property notation

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 26 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7231


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f88878558c3066abed4f288c9dfa717427041be1
fix Issue 7231 - Segfault using opDispatch with property notation


Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/4f0980fc1fef275d3dbb6994eefeea42e6e863f2
fix Issue 7231 - Segfault using opDispatch with property notation

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 26 2012