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
Updated by Dmitry M. about 9 years ago
- Status changed from In Progress to Completed
- % Done changed from 0 to 100
Actions