www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Is this a bug ? (variable _param_0 cannot be read at compile time)

reply learnfirst1 <learnfirst1 gmail.com> writes:
https://run.dlang.io/is/blpkb6

There is no reason the code just work without template, but try 
put the it into template the variable become into not readable ?
Aug 08 2018
parent Simen =?UTF-8?B?S2rDpnLDpXM=?= <simen.kjaras gmail.com> writes:
On Wednesday, 8 August 2018 at 13:10:58 UTC, learnfirst1 wrote:
 https://run.dlang.io/is/blpkb6

 There is no reason the code just work without template, but try 
 put the it into template the variable become into not readable ?
Please don't post your issues in multiple forums. This is exactly what the learn forum is for, and you've already received an answer there. -- Simen
Aug 08 2018