[LLVMbugs] [Bug 18439] New: Objective-C init convention takes precedence over stated return type.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jan 10 12:15:36 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18439
Bug ID: 18439
Summary: Objective-C init convention takes precedence over
stated return type.
Product: clang
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: ben at benedictcohen.co.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 11860
--> http://llvm.org/bugs/attachment.cgi?id=11860&action=edit
Example app
When an Objective-C init method uses an explicit return type instead of id or
instancetype no type mis-match warning is given. See the attached example app.
The issues was discovered in Xcode 5.0.2 (5A3005).
The attached example app illustrates the problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140110/0bf22e9b/attachment.html>
More information about the llvm-bugs
mailing list