Bug 11748 – [ICE] function call as alias parameter of template gives ICE

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-15T04:21:00Z
Last change time
2013-12-15T18:44:21Z
Keywords
ice, pull
Assigned to
nobody
Creator
advmail

Comments

Comment #0 by advmail — 2013-12-15T04:21:38Z
Internal error: s2ir.c 135 Example: enum my_template(alias T) = T.stringof; void my_function(int i) { } my_template!(my_function(0));
Comment #1 by k.hara.pg — 2013-12-15T06:51:29Z
Comment #2 by github-bugzilla — 2013-12-15T13:23:31Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7c5439c8273149192e42da046afec88c2e88e25a fix Issue 11748 - [ICE] function call as alias parameter of template gives ICE https://github.com/D-Programming-Language/dmd/commit/b2dfd4132bc9738a554041cba008ab3b68bc63fa Merge pull request #2966 from 9rnsr/fix11748 Issue 11748 - [ICE] function call as alias parameter of template gives ICE