JS: fixed subSequence in CharSequence descendants (KT-14035) + added support for function intrics in delegation

This commit is contained in:
Anton Bannykh
2017-01-20 14:06:06 +03:00
parent 4fe040eeb9
commit 847ec9e550
5 changed files with 60 additions and 3 deletions
@@ -227,7 +227,6 @@ class NameSuggestion {
if (overriddenDescriptor is FunctionDescriptor) {
when (overriddenDescriptor.fqNameUnsafe.asString()) {
"kotlin.CharSequence.subSequence" -> return NameAndStability("substring", true)
"kotlin.CharSequence.get" -> return NameAndStability("charAt", true)
"kotlin.Any.equals" -> return NameAndStability("equals", true)
}