www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10620] New: ICE when using TypeInfo.getHash at compile time

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: doob me.com


--- Comment #0 from Jacob Carlborg <doob 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: -------
Jul 11 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10620


Don <clugdbug yahoo.com.au> changed:

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


--- Comment #1 from Don <clugdbug yahoo.com.au> 2013-09-23 00:41:27 PDT ---
*** This issue has been marked as a duplicate of issue 10579 ***

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