NSDictionary literal syntax returns wrong values
| Originator: | kirill.pahnev | ||
| Number: | rdar://23917062 | Date Originated: | |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Reproducible: | Always |
Summary:
When using NSDictionary literal syntax @{key:value} the return values are different than when using the old syntax dictionaryWithObjects:forKeys:
Steps to Reproduce:
1. Open and run attached project
2. Observe the log messages
Expected Results:
Both log messages to be equal
Actual Results:
Log messages are not equal
Version:
Xcode Version 7.2 (7C68)
OS X 10.11.2 (15C50)
Notes:
Configuration:
Attachments:
'Dictionary Literal.zip' was successfully uploaded.
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!