What does `runtime assert: Unknown open method` me...
# kotlin-native
y
What does
runtime assert: Unknown open method
mean in layman terms?
I looked it up and saw this:
Copy code
void* LookupOpenMethod(const TypeInfo* info, MethodNameHash nameSignature) {
  int bottom = 0;
  int top = info->openMethodsCount_ - 1;

  while (bottom <= top) {
    int middle = (bottom + top) / 2;
    if (info->openMethods_[middle].nameSignature_ < nameSignature)
      bottom = middle + 1;
    else if (info->openMethods_[middle].nameSignature_ == nameSignature)
      return info->openMethods_[middle].methodEntryPoint_;
    else
      top = middle - 1;
  }

  RuntimeAssert(false, "Unknown open method");
  return nullptr;
}
But not sure what this means
o
it means, that we're calling method in an interface which has no matching entry: either compiler bug or outdated library