title: Array of Dictionaries - Julia
body: <p>I'm trying to make a constructor for a custom type in Julia:</p>
  
  <pre><code>type Cell
    Base::Dict{String, String}
    zLayers::Array{Dict{String, String},2}
    X::Int
    Y::Int
  
    Cell() = new(Dict{String,String}(),[Dict{String, String}(),Dict{String, String}()],0,0)
  end
  
  try
    gamestate = Cell()
  catch err
    print("connection ended with error $err\n")
  end
  </code></pre>
  
  <p>Throws error:</p>
  
  <pre><code>connection ended with error MethodError(convert,(Array{Dict{String,String},2},[Dict{String,String}(),Dict{String,String}()]))
  </code></pre>
  
  <p>So how do we do proper initialization for Arrays of Dictionaries?</p>