https://kotlinlang.org logo
#announcements
Title
# announcements
v

vmironov

10/22/2015, 2:27 PM
I have the following class which compiles and works perfecly with M14 version of kotlin (
SpannableString
is a built-in android class http://developer.android.com/reference/android/text/SpannableString.html):
Copy code
class FormattableSpannableString(source: CharSequence) : SpannableString(source), Formattable {
  override fun formatTo(formatter: java.util.Formatter, flags: Int, width: Int, precision: Int) {
    formatter.out().append(this)
  }
}
After upgrading to
1.0.0-beta-1038
I'm getting the following error message:
Copy code
Error:(37, 1) Class 'FormattableSpannableString' must be declared abstract or implement abstract base class member public abstract fun get(index: <http://kotlin.Int|kotlin.Int>): kotlin.Char defined in android.text.SpannableString