Thread overview
[Issue 12376] New: ICE with constarainted template instantiation with error gagging
Mar 16, 2014
Kenji Hara
Mar 16, 2014
Kenji Hara
Mar 16, 2014
Kenji Hara
March 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12376

           Summary: ICE with constarainted template instantiation with
                    error gagging
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: k.hara.pg@gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2014-03-15 21:16:38 PDT ---
Test case:

static auto encode(size_t sz)(dchar ch) if (sz > 1)
{
    undefined;
}
void main()
{
    enum x = __traits(compiles, encode!2(x));
}

-----
assert template.c(759) !ti->symtab

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12376



--- Comment #1 from github-bugzilla@puremagic.com 2014-03-15 21:21:55 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/856ff2c056fa0b5307674920b21e25ef05faac77
fix Issue 12376 - ICE with constarainted template instantiation with error
gagging

https://github.com/D-Programming-Language/dmd/commit/1816484846223a1bcd1a54879fa51b82efc7ce98 Merge pull request #3382 from 9rnsr/fix12376

[REG2.066a] Issue 12376 - ICE with constarainted template instantiation with error gagging

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12376


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2014-03-15 21:23:20 PDT ---
This is git-head only regression.

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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12376


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: -------