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


--- Comment #0 from Paul O'Neil <redballoon36 gmail.com> 2013-12-30 00:20:57
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


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2014-01-03 06:39:37 PST ---
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



--- Comment #2 from github-bugzilla puremagic.com 2014-01-04 23:33:06 PST ---
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
Merge pull request #3056 from 9rnsr/fix11844

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


--- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2014-01-07 02:23:00 PST ---
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



--- Comment #4 from github-bugzilla puremagic.com 2014-01-07 02:32:56 PST ---
Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/d554ec7532bd8fc1f35efdc05df22096501dea6a
Merge pull request #3056 from 9rnsr/fix11844

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