[Webkit-unassigned] [Bug 139348] New: Introduce and deploy a function that allocates and returns an instance of a soft-linked class
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 6 15:22:55 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=139348
Bug ID: 139348
Summary: Introduce and deploy a function that allocates and
returns an instance of a soft-linked class
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mitz at webkit.org
In [[getFooClass() alloc] init*], the type of the result of +alloc is id, so the compiler picks an arbitrary declaration of init*, not necessarily the Foo one. This can then lead to warnings or errors if the types or attributes don’t match, or to runtime errors if Foo doesn’t even have the expected initializer.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141206/1144eb66/attachment-0002.html>
More information about the webkit-unassigned
mailing list