www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11844] New: ICE(template.c:6643) Assertion failed: (td->semanticRun != PASSinit)

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

           Summary: ICE(template.c:6643) Assertion failed:
                    (td->semanticRun != PASSinit)
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: redballoon36 gmail.com



PST ---
The error does not occur in 2.063.2, but does in 2.064 and git master
(7cb48f8558809e69b60ee6dfc56ea6af73ee405f).
Tested on both Linux and OSX, but both were 64-bit.

The following code causes the assertion failure:

public auto make_encode(T, string name)()
{
    return mixin("function(T self) { return self.encodeField!\""~ name ~ "\"();
}");
}
class FileData
{
    ulong _member;

     make_encode!(FileData, "member")()
    ulong member() const {
        return _member;
    }

    ubyte[] encodeField(string key)()
    {
    }
}

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 30 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11844


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull
           Platform|x86_64                      |All



https://github.com/D-Programming-Language/dmd/pull/3056

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 03 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11844




Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/91f6a96bc3bc0ec417f0328f7cb7833826e6f5af
fix Issue 11844 - ICE(template.c:6643) Assertion failed: (td->semanticRun !=
PASSinit)

https://github.com/D-Programming-Language/dmd/commit/c90f30092f252cc38d2b9c74114a44170b1cd36a


Issue 11844 - ICE(template.c:6643) Assertion failed: (td->semanticRun !=
PASSinit)

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 04 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11844


Kenji Hara <k.hara.pg gmail.com> changed:

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


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 04 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11844


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression



This was a regression issue from 2.064.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 07 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11844




Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d554ec7532bd8fc1f35efdc05df22096501dea6a


Issue 11844 - ICE(template.c:6643) Assertion failed: (td->semanticRun !=
PASSinit)

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