groovy/groovy-core — pull request #73 by ataylor284 (2012-11-21 18:26:20+00:00)
Title: Changed the return type for accessor methods in Ranges

Changed the return type for accessor methods in groovy.lang.Range and groovy.lang.IntRange:
- Range.getTo() and Range.getFrom() now return the generic T type
instead of Comparable
- updated IntRange to conform to the new interface by returning
Integers from those methods

This allows @TypeChecked and @CompileStatic to correctly infer these
types.