non-constant error for module AA"s
spir
denis.spir at gmail.com
Mon Jan 24 14:06:27 PST 2011
On 01/24/2011 04:45 PM, Andrej Mitrovic wrote:
> Is this a bug?
>
> import std.stdio;
>
> string[string] values = ["abc":"abc", "def":"def"];
>
> void main()
> {
> string[string] values2 = ["abc":"abc", "def":"def"];
> }
>
>
> test.d(3): Error: non-constant expression ["abc":"abc","def":"def"]
>
> What's non-constant about that expression?
Had the same issue, and yop, it's a bug, and filed: search the issue tracker.
Denis
--
_________________
vita es estrany
spir.wikidot.com
More information about the Digitalmars-d-learn
mailing list