[Issue 11472] New: REGRESSION(2.064): dmd segfaults on wrong code instead of giving error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 7 13:37:13 PST 2013


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 at puremagic.com
        ReportedBy: thelastmammoth at gmail.com


--- Comment #0 from thelastmammoth at 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: -------


More information about the Digitalmars-d-bugs mailing list