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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs