[Issue 15464] Template parameter-dependent attributes

2015-12-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 Andrei Alexandrescu changed: What|Removed |Added Keywords||preapproved --

[Issue 15464] Template parameter-dependent attributes

2015-12-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 Daniel Kozak changed: What|Removed |Added CC||kozz...@gmail.com --- Comment #1 from Daniel

[Issue 15464] Template parameter-dependent attributes

2015-12-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #2 from Daniel Kozak --- but s.ident https://github.com/D-Programming-Language/dmd/blob/master/src/parse.d#L4139 must be put to some temporaly variable before changunf s :) --

[Issue 15464] Template parameter-dependent attributes

2015-12-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 Daniel Kozak changed: What|Removed |Added URL||https://github.com/D-Progra

[Issue 15464] Template parameter-dependent attributes

2015-12-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 Daniel Kozak changed: What|Removed |Added URL|https://github.com/D-Progra | |mming-Language/dmd/pull/5

[Issue 15464] Template parameter-dependent attributes

2015-12-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #3 from Daniel Kozak --- PR: https://github.com/D-Programming-Language/dmd/pull/5314 --

[Issue 15464] Template parameter-dependent attributes

2015-12-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #4 from Kenji Hara --- (In reply to Andrei Alexandrescu from comment #0) > Per Timon Gehr's reply, implementation could achieved the feature by means of > a lowering. A function template declaration: void foo(T)() @attr(T.field) {} Is

[Issue 15464] Template parameter-dependent attributes

2015-12-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #5 from Daniel Kozak --- (In reply to Kenji Hara from comment #4) > (In reply to Andrei Alexandrescu from comment #0) > > Per Timon Gehr's reply, implementation could achieved the feature by means > > of a lowering. > > A function templ

[Issue 15464] Template parameter-dependent attributes

2015-12-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #6 from Kenji Hara --- (In reply to Daniel Kozak from comment #5) > So only postfix UDAs change and break, this can be maybe avoid if this new > lowering will be applied only to UDAs with templates parametrs. > > The biggest problem I s

[Issue 15464] Template parameter-dependent attributes

2015-12-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #7 from Andrei Alexandrescu --- Thanks Daniel for the work and Kenji for the analysis! There are similarities between this situation and: static if (condition1) void func(T)() if (condition2); condition1 cannot use T because it hasn't

[Issue 15464] Template parameter-dependent attributes

2015-12-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #8 from Andrei Alexandrescu --- Ping? --

[Issue 15464] Template parameter-dependent attributes

2015-12-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com --- Comment #9 from

[Issue 15464] Template parameter-dependent attributes

2015-12-30 Thread via Digitalmars-d-bugs
://github.com/D-Programming-Language/dmd/commit/7a49fadf16bcc4fceb3b573b3845663f25cd1271 Merge pull request #5314 from Kozzi11/issue15464 fix: Issue 15464 - Template parameter-dependent attributes --

[Issue 15464] Template parameter-dependent attributes

2015-12-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #11 from Andrei Alexandrescu --- @Daniel any chance you could also update the documentation accordingly? --

[Issue 15464] Template parameter-dependent attributes

2015-12-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #12 from Daniel Kozak --- (In reply to Andrei Alexandrescu from comment #11) > @Daniel any chance you could also update the documentation accordingly? Yep, I will do it as soon as I finish some other thing :). --

[Issue 15464] Template parameter-dependent attributes

2016-01-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15464 --- Comment #13 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/012b685ea12aa045c9bd04a1c9d4abf74e0dac0d fix issue 15464 https://gi