Actions
Bug #995
closedCan't use Objective-C string literals as NSDictionary subscript key
Start date:
07/07/2015
Due date:
% Done:
100%
Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX NDK Version:
Description
@property NSMutableDictionary *op;
.....
if (mem.op[@"KEY"] != NULL)
......
error: array subscript is not an integer if (mem.op[@"KEY"] != NULL) ^~~~~~~~~~~~~~~
http://stackoverflow.com/questions/12102689/obj-c-literals-getting-array-subscript-is-not-an-integer-on-an-nsdictionary-q
http://clang.llvm.org/docs/ObjectiveCLiterals.html
Actions