title: Dart: typedef with generics seems not to work
body: <p>I would like to define a function through a typedef and then passing the right Type when calling it.
  Something like this:</p>
  
  <pre><code>typedef testFn&lt;T&gt;();
  
  main() {
    testFn tester;
    tester = testerFn;
    tester&lt;int&gt;(); // Error: The method '() → dynamic' is declared with 0 type parameters, but 1 type arguments were given.
  }
  
  testerFn&lt;T&gt;() {//Do something}
  </code></pre>
  
  <p>I don't know if this a bug or not, but, anyway, how I could I solve something like that?</p>