[LLVMbugs] [Bug 19234] New: invalid selector resolution for type-erased (id) instance
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 24 08:52:29 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19234
Bug ID: 19234
Summary: invalid selector resolution for type-erased (id)
instance
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: compnerd at compnerd.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12273
--> http://llvm.org/bugs/attachment.cgi?id=12273&action=edit
reduced.m
When multiple interfaces declare a similarly named selector taking differing
parameters, the first seen is taken to be the referenced one when dealing with
a type-erased (id) instance type.
The attached test case exemplifies the issue. I would expect either a note
that the selector is ambiguous or even better for sema to realise that it is a
valid invocation.
--
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/20140324/ca824e6c/attachment.html>
More information about the llvm-bugs
mailing list