On Tuesday, 9 February 2016 at 03:49:11 UTC, Enjoys Math wrote:
This:
double b = 1.0;
Variant[string] aa = ["b": ];
writeln(aa["b"]);
fails with:
Error: cannot implicitly convert expression(["b":]) of type
double*[string] to VariantN!20u[string]
Helps please!
On Tuesday, 9 February 2016 at 03:49:11 UTC, Enjoys Math wrote:
This:
double b = 1.0;
Variant[string] aa = ["b": ];
writeln(aa["b"]);
fails with:
Error: cannot implicitly convert expression(["b":]) of type
double*[string] to VariantN!20u[string]
Helps please!
On 02/08/2016 07:49 PM, Enjoys Math wrote:
This:
double b = 1.0;
Variant[string] aa = ["b": ];
writeln(aa["b"]);
fails with:
Error: cannot implicitly convert expression(["b":]) of type
double*[string] to VariantN!20u[string]
Helps please!
When initializing the array,
This:
double b = 1.0;
Variant[string] aa = ["b": ];
writeln(aa["b"]);
fails with:
Error: cannot implicitly convert expression(["b":]) of type
double*[string] to VariantN!20u[string]
Helps please!