title: Exclusive end in Scala's Range class
body: <p>According to the <a href="http://www.scala-lang.org/api/current/index.html#scala.collection.immutable.Range">Scala documentation</a> for the method <code>Range.end</code>, it returns "the exclusive end of the range." So why does it return the same value for both the <code>to</code> and the <code>until</code> notations? For example:</p>
  
  <pre><code>Welcome to Scala version 2.9.2 (Java HotSpot(TM) Server VM, Java 1.7.0).
  Type in expressions to have them evaluated.
  Type :help for more information.
  
  scala&gt; (1 to 10).end
  res0: Int = 10
  
  scala&gt; (1 until 10).end
  res1: Int = 10
  </code></pre>
  
  <p>Shouldn't <code>res0 == 11</code>?</p>