title: Passing class as parameter causes "is not newable" error
body: <p>I'm trying to pass a class as a parameter to some function, that will instantiate this class and return it. Here is my code:</p>
  
  <pre><code>module A.Views {
    export class View { ... }
  }
  
  module A.App {
    export class MyApp {
      ...
      registerView(viewKlass:A.Views.View):void
      {
          var test = new viewKlass;
      } 
    }
  }
  </code></pre>
  
  <p>When i'm trying to compile this, i'm getting:</p>
  
  <pre><code>(...): Value of type 'Views.View' is not newable.
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>If a newable type value is an object constructor how do i pass the constructor function at runtime?</p>