title: Function overloading in Dart
body: <p>The following code:</p>
  
  <pre><code>class Tools {
    static int roll(int min, int max) {
      // IMPLEMENTATION
    }
  
    static int roll(List&lt;int&gt; pair) {
      // IMPLEMENTATION
    }
  }
  </code></pre>
  
  <p>renders a <code>The name 'roll' is already defined</code> error on the second <code>roll</code> function.</p>
  
  <p>How come? Since the parameters of the functions are distinct, shouldn't polymorphism apply?</p>
  
  <p>Edit. Corrected title in order to better reflect the subject.</p>