Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 04, 2011 [Issue 6764] New: IFTI fails on typesafe variadic function over static array with non IntegerLiteral length | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6764 Summary: IFTI fails on typesafe variadic function over static array with non IntegerLiteral length Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis <verylonglogin.reg@gmail.com> 2011-10-03 23:14:20 PDT --- --- enum N = 1; //use const for D1 alias size_t[N] T; //workaround void f()(T arr...) { } void g()(size_t[1] arr...) { } void h()(size_t[N] arr...) { } void main() { f(0); //good g(0); //good h!()(0); //good h(0); //Error: template main.f() does not match any function template declaration } --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 05, 2011 [Issue 6764] IFTI fails on typesafe variadic function over static array with non IntegerLiteral length | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6764 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, rejects-valid --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2011-10-04 17:38:03 PDT --- https://github.com/D-Programming-Language/dmd/pull/431 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 28, 2012 [Issue 6764] IFTI fails on typesafe variadic function over static array with non IntegerLiteral length | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6764 --- Comment #2 from github-bugzilla@puremagic.com 2012-08-28 00:38:48 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ef9c344118925cb362be0fe14a18590556e7c9dd Issue 6764 - IFTI fails on typesafe variadic function over static array with non IntegerLiteral length https://github.com/D-Programming-Language/dmd/commit/a5c56ac957035efc142ad4a1123c6b138f1e4a15 Merge pull request #431 from 9rnsr/fix6764 Issue 2296 & 6764 - IFTI fails on typesafe variadic function -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 10, 2012 [Issue 6764] IFTI fails on typesafe variadic function over static array with non IntegerLiteral length | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=6764 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|D1 & D2 |D1 --- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> 2012-09-10 07:35:48 PDT --- Fixed in D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation