title: Having trouble calling a constructor in scala when passing in a multidimensional array of enums
body: <p>In my program, I have a Scala enum that looks like:</p>
  
  <pre><code>object MyEnum extends Enumeration {
    val v1, v2, v3, v4 = Value
  }
  </code></pre>
  
  <p>And a class that requires a multidimensional array of this enum that is set up like:</p>
  
  <pre><code>class MyClass(arr: Array[Array[MyEnum.Value]]) {
    ...
  }
  </code></pre>
  
  <p>The problem is that when I try to initialize a new object of MyClass, I get the error:</p>
  
  <blockquote>
    <p>Expression of type Array[Array[MyEnum.Value]] does not conform to expected type Array[Array[MyEnum.type]]</p>
  </blockquote>
  
  <p>But my expected type should be Array[Array[MyEnum.Value]] as per the type declaration on that parameter. I can even put a default value matching Array[Array[MyEnum]] and it will work, but if I try to feed in that very same value that I set as the default as an argument when trying to instantiate it, I'll get this error.</p>
  
  <p>Does anyone know why Scala is doing this switch from Value to type?</p>