[LLVMbugs] [Bug 6811] New: Parenthetical messages to super can not be compiled
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 9 15:23:27 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6811
Summary: Parenthetical messages to super can not be compiled
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: csdavec at swan.ac.uk
CC: llvmbugs at cs.uiuc.edu
$ cat super.m
@interface A
{
id isa;
}
- (void)a;
@end
@interface B : A @end
@implementation B
- (void)a
{
[(super) a];
}
@end
$ clang -c super.m
super.m:12:4: error: cannot compile this scalar expression yet
[(super) a];
^~~~~
1 diagnostic generated.
Removing the brackets works fine. Unfortunately, this is not possible when the
code comes from a macro, which adds the brackets.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list