[Issue 16093] Trivial case of passing a template function to another template function doesn't compile

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16093 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --

[Issue 16093] Trivial case of passing a template function to another template function doesn't compile

2016-05-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16093 b2.t...@gmx.com changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #1 from b2.t...

[Issue 16093] Trivial case of passing a template function to another template function doesn't compile

2016-05-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16093 --- Comment #2 from Max Samukha --- (In reply to b2.temp from comment #1) > It's because f is local. When f is static (i.e like a free function) it works > void main() { int x = 1; void f() { x += 1; } bar!f(); // ok } 'f'

[Issue 16093] Trivial case of passing a template function to another template function doesn't compile

2016-05-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16093 Max Samukha changed: What|Removed |Added Severity|normal |critical --- Comment #3 from Max Samukha ---

[Issue 16093] Trivial case of passing a template function to another template function doesn't compile

2016-05-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16093 --- Comment #4 from Max Samukha --- (In reply to Max Samukha from comment #0) > void bar(alias f)() { > f(); > } > > void main() { > void f()() { > } > bar!f(); > } > > Error: function test.main.f!().f is a nested function and canno

[Issue 16093] Trivial case of passing a template function to another template function doesn't compile

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16093 Iain Buclaw changed: What|Removed |Added Priority|P1 |P2 --