October 10, 2007 [Issue 1566] New: Nested template issue | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1566 Summary: Nested template issue Product: D Version: 2.006 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: pop.atry@gmail.com template T(int n) { template T(char c) { alias long T; } } int main() { alias T!(3) T3; static assert(is(long == T3!('b'))); // OK static assert(is(long == T!(3)!('b'))); // error return 0; } -- |
November 08, 2007 [Issue 1566] Nested template issue | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1566 smjg@iname.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |smjg@iname.com Keywords| |rejects-valid OS/Version|Linux |All ------- Comment #1 from smjg@iname.com 2007-11-08 06:49 ------- Please post the error messages when filing bugs. And assign keywords as appropriate. DMD 1.023 Windows: bz1566.d(10): found '!' when expecting ')' bz1566.d(10): found ')' when expecting ';' -- |
Copyright © 1999-2021 by the D Language Foundation