KT-619 Type inference fails

#KT-619 Fixed
This commit is contained in:
Pavel V. Talanov
2012-07-24 15:53:39 +04:00
parent 6fd3cd0bf0
commit b216bbb844
2 changed files with 10 additions and 4 deletions
@@ -0,0 +1,4 @@
class A(t : Int) : Comparable<A> {
var i = t
override fun compareTo(other : A) = (this.i - other.i)
}