Closed swift-ci closed 6 years ago
Attachment: Download
Issue Description:
Using operator precedence in swift, the order of operations is wrong, see the screenshot_01.
Objective-c is correct.see the screenshot_02.
Swift's operator precedence rules are deliberately differently from C's in a few places, to avoid common mistakes that happen in C. << is one of them.
<<
Attachment: Download
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 2b0d52050570a3e0e5f794af35132df7Issue Description:
Using operator precedence in swift, the order of operations is wrong, see the screenshot_01.
Objective-c is correct.see the screenshot_02.