[Issue 18558] Template alias spec incomplete

2018-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18558] Template alias spec incomplete

2018-06-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/9c53bdc77ba51f30ca3170aa02484ddd0e9ce3ef Fix Issue 18558 - Template alias spec incomplete

[Issue 18558] Template alias spec incomplete

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 Nick Treleaven changed: What|Removed |Added Keywords||pull URL|

[Issue 18558] Template alias spec incomplete

2018-03-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 --- Comment #4 from Jonathan Marler --- Maybe a better description... template "alias" parameters can accept "symbols" and "values". If a symbol is passed to the template, i.e. MyTemplate!someSymbol Then the symbol is

[Issue 18558] Template alias spec incomplete

2018-03-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 --- Comment #3 from Jonathan Marler --- > No. At that point it's an alias of the function. It gets called inside `Foo`: Ah I see you're right. If I add pragma(msg, typeof(x)) inside the template, it shows that x is a

[Issue 18558] Template alias spec incomplete

2018-03-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #2 from

[Issue 18558] Template alias spec incomplete

2018-03-05 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 --- Comment #1 from Jonathan Marler --- Quick clarification. Based on the example in the comment above, the following: Foo!return42 treats the `return42` part as a function call with no arguments instead of passing the