Re: Array of associative array.

2013-10-28 Thread Andrej Mitrovic
On 10/28/13, Ali Çehreli wrote: > Looks like a compiler bug to me. Reduced: > Is there a reason why the last line cannot be compiled? Could be one of these: http://d.puremagic.com/issues/show_bug.cgi?id=9295 http://d.puremagic.com/issues/show_bug.cgi?id=9520 There's a bunch of these array liter

Re: Array of associative array.

2013-10-28 Thread Ali Çehreli
On 10/28/2013 02:39 PM, Wolftein wrote: >>> Error: variable org.ghrum.installer.option.CompilerTable cannot >>> infer type from initializer >> >> The declaration is public static auto CompilerTable = [ ... ] > > Had to use string[string][] instead of auto. Looks like a compiler bug to me. Reduce

Re: Array of associative array.

2013-10-28 Thread Wolftein
On Monday, 28 October 2013 at 21:27:46 UTC, Auto cannot infer type from initializer wrote: On Monday, 28 October 2013 at 21:26:41 UTC, Auto cannot infer type from initializer wrote: public static CompilerTable = [ /// \brief

Array of associative array.

2013-10-28 Thread Auto cannot infer type from initializer
public static CompilerTable = [ /// \brief DMD ["-c" : "-c", "-debug" : "-debug", "-g" : "-g", "-gc"

Re: Array of associative array.

2013-10-28 Thread Auto cannot infer type from initializer
On Monday, 28 October 2013 at 21:26:41 UTC, Auto cannot infer type from initializer wrote: public static CompilerTable = [ /// \brief DMD ["-c"