[Issue 10620] New: ICE when using TypeInfo.getHash at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 11 23:48:57 PDT 2013


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

           Summary: ICE when using TypeInfo.getHash at compile time
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: doob at me.com


--- Comment #0 from Jacob Carlborg <doob at me.com> 2013-07-11 23:48:56 PDT ---
The following code:

enum typeId = typeid(int);
enum hash = typeId.getHash(cast(void*) 3);

Results in the following error:

Assertion failed: (thisval && thisval->op == TOKclassreference), function
interpret, file interpret.c, line 4067.

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


More information about the Digitalmars-d-bugs mailing list