You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because the vtable for B references A.foo, which is internal. The correct solution is to fix up the vtable in the same manner that we will do for library evolution purposes. Since we can't "know" the address of A.foo, we have to let the runtime build B's vtable.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 8cf312f130cb658c11720978fde073b0
blocks:
Issue Description:
Right now, this type of thing won't link:
public class A {
internal func foo() {}
}
// In some other module:
class B : A {}
This is because the vtable for B references A.foo, which is internal. The correct solution is to fix up the vtable in the same manner that we will do for library evolution purposes. Since we can't "know" the address of A.foo, we have to let the runtime build B's vtable.
The text was updated successfully, but these errors were encountered: