title: Specialize non-generic type
body: <p>In Swift 2, I had a function delared like this :</p>
  
  <pre><code>private func lineCharts(_ m: Double, _ numberOfMonths: Range&lt;Int&gt;) -&gt; [LineChartDataSet] 
  </code></pre>
  
  <p>In swift 3 I have 3 error messages :</p>
  
  <ul>
  <li>Use of undeclared type &lt;#Bound: Comparable#></li>
  <li>cannot specialize non-generic type 'Range'</li>
  <li>'Range' is ambiguous for type lookup in this context</li>
  </ul>
  
  <p>Can someone explain what's happening there ?</p>