www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12437] New: ICE when passing undefined type to function pointer

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

           Summary: ICE when passing undefined type to function pointer
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: michaelpm394 gmail.com


--- Comment #0 from Michael M <michaelpm394 gmail.com> 2014-03-21 16:37:04 PDT
---
void main() {
    void function(int) bar;
    bar(fake + 0);
}

main.d(3): Error: undefined identifier fake
dmd: hdrgen.c:764: virtual void PrettyPrintVisitor::visit(Type*): Assertion `0'
failed.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 21 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12437


Michael M <michaelpm394 gmail.com> changed:

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


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