title: Pass Class as parameter
body: <p>I'm trying to pass a Class reference and instantiate it in a function. This doesn't work:</p>
  
  <pre><code>function foo(myClassRef:Class):Void {
      var myVar = new myClassRef();
  }
  foo(MyClass);
  </code></pre>
  
  <p>It gives <code>Unexpected (</code>.</p>
  
  <p>Is this possible in Haxe 3?</p>