digitalmars.D.bugs - [Issue 9545] New: ICE with member template instantiation
- d-bugmail puremagic.com (23/23) Feb 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9545
- d-bugmail puremagic.com (13/14) Feb 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9545
- d-bugmail puremagic.com (15/21) Feb 20 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9545
- d-bugmail puremagic.com (11/11) Feb 20 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9545
- d-bugmail puremagic.com (9/9) Feb 20 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9545
http://d.puremagic.com/issues/show_bug.cgi?id=9545
Summary: ICE with member template instantiation
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ice
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: k.hara.pg gmail.com
struct S1 { template T(X) { alias T = X; } }
void main()
{
auto x1 = S1.init.T!int; // ICE
}
Instead, compiler should report "int is not an expression" error.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9545
Andrej Mitrovic <andrej.mitrovich gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich gmail.com
Severity|normal |regression
20:22:56 PST ---
Instead, compiler should report "int is not an expression" error.
Unfortunately this is a regression.
2.061: test.dd(4): Error: T is not a field, but a alias
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 19 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9545
Kenji Hara <k.hara.pg gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
Summary|ICE with member template |[REG 2.063a] ICE with
|instantiation |member template
| |instantiation
Instead, compiler should report "int is not an expression" error.
Unfortunately this is a regression.
2.061: test.dd(4): Error: T is not a field, but a alias
Thanks. It's introduced by fixing bug 8238 in 2.063alpha.
https://github.com/D-Programming-Language/dmd/pull/1678
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 20 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9545 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/6c1f52e9049af7295de7c70e84df868907b5cd43 fix Issue 9545 - ICE with member template instantiation https://github.com/D-Programming-Language/dmd/commit/4b83c91f91208fb63a5ce63b707c65766055d357 [REG 2.063a] Issue 9545 - ICE with member template instantiation -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 20 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9545
Kenji Hara <k.hara.pg gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 20 2013









d-bugmail puremagic.com 