www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11472] New: REGRESSION(2.064): dmd segfaults on wrong code instead of giving error

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

           Summary: REGRESSION(2.064): dmd segfaults on wrong code instead
                    of giving error
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: thelastmammoth gmail.com


--- Comment #0 from thelastmammoth gmail.com 2013-11-07 13:37:11 PST ---
dmd: DMD64 D Compiler v2.064
dmd -c -o- main.d
segmentation fault

DMD64 D Compiler v2.063.2
main.d(8): Error: template has no effect in expression (fun1(alias fun =
fun3)())

---
void fun3(){}
void fun2(string a){}
void fun1(alias fun=fun3)(){
  "a".fun2!fun;
}

void main(){
  fun1;
}
---

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 07 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11472


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-11-11 18:25:06 PST ---
https://github.com/D-Programming-Language/dmd/pull/2744

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 11 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11472



--- Comment #2 from github-bugzilla puremagic.com 2013-11-11 20:05:45 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/7044aa99e989f1dac3c574c5304a00d1ff8545eb
fix Issue 11472 - dmd segfaults on wrong code instead of giving error

https://github.com/D-Programming-Language/dmd/commit/0ce8fd1c32a8e6a5a5c953e4fa9ffad20350b838
Merge pull request #2744 from 9rnsr/fix11472

[REG2.064] Issue 11472 - dmd segfaults on wrong code instead of giving error

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 11 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11472



--- Comment #3 from github-bugzilla puremagic.com 2013-11-11 20:06:37 PST ---
Commit pushed to 2.064 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/175af271168a5265eb5e68cd3dbd91cbb49284fb
Merge pull request #2744 from 9rnsr/fix11472

[REG2.064] Issue 11472 - dmd segfaults on wrong code instead of giving error

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 11 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11472


Walter Bright <bugzilla digitalmars.com> changed:

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


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 11 2013