http://d.puremagic.com/issues/show_bug.cgi?id=8499

           Summary: ICE on undefined identifier
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: simen.kja...@gmail.com


--- Comment #0 from Simen Kjaeraas <simen.kja...@gmail.com> 2012-08-02 13:55:14 
PDT ---
This code:

import std.variant;

void main() {
    (Variant()).get!(typeof(() => i));
}

Gives this error:

foo.d(4): Error: undefined identifier i
Assertion failure: 'fd && fd->inferRetType' on line 81 in file 'mangle.c'

abnormal program termination

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

Reply via email to