LLVM Bug: Cannot compile this scalar expression yet

Originator:untested
Number:rdar://9947963 Date Originated:12-Aug-2011 05:06 PM
Status:Duplicate Resolved:Duplicate of 9923690 (Closed)
Product:XCode Product Version:Clang LLVM 1.0
Classification: Reproducible:YES
 
Summary:
Unable to compile.

Steps to Reproduce:
Try to compile the code:
    NSString * Base::string_for(NSObject * const value) const {
        return this->string_for(static_cast<const id &>(value));
    }

Expected Results:
No errors.

Actual Results:
Clang LLVM 1.0 Error: error: cannot compile this scalar expression yet

Regression:

Notes:
Looks similar to this issue: http://www.mail-archive.com/llvmbugs@cs.uiuc.edu/msg14529.html

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!