Menu

#575 Conditional expressions inside ObjC statements don't format correctly

0.61
fixed
space (6)
Obj-C
5
2014-10-20
2014-03-05
No

In the following expression the 'string ? string : @""' conditional expression is formatted as specified by sp_before_send_oc_colon & sp_after_send_oc_colon instead of sp_cond_colon:

[self.vendorID_TextField setStringValue:string ? string : @""];

Discussion

  • Ben Gardner

    Ben Gardner - 2014-04-04

    Should be fixed in commit 04a29f3.

     
  • Ben Gardner

    Ben Gardner - 2014-04-04
    • labels: --> space
    • status: open --> fixed
    • assigned_to: Ben Gardner
    • Language: --> Obj-C
    • Group: Future --> 0.61
     
MongoDB Logo MongoDB