Two things I thought would be simple
Shachar Shemesh
shachar at weka.io
Wed Mar 7 16:59:51 UTC 2018
On 07/03/18 16:42, Jonathan M Davis wrote:
> AFAIK, there's no way to get the values of default arguments with type
> inferrence
I used that way right there in the code. ParameterDefaults!func return a
tuple with the arguments. The problem is that "Tuple var = Tuple" does
not work. Different errors for when all the original function's
arguments have default and when some don't, but don't work either way.
Shachar
More information about the Digitalmars-d
mailing list