[webkit-dev] Update WebKit style to better accommodate accepted Obj-C block syntax

Tim Horton timothy_horton at apple.com
Tue Oct 3 17:32:49 PDT 2017


Whatever we decide, we should probably also get it in https://webkit.org/code-style-guidelines/

> On Oct 3, 2017, at 4:51 PM, Megan Gardner <megan_gardner at apple.com> wrote:
> 
> 
> Currently, the webkit style checker does not allow ^{ at the beginning of Obj-C blocks. It demands that there is a space between the ^ and the {. This is not how obj-c code is usually styled, and there is plenty of code already in webkit that is formatted with the carrot and and brace together. This seems to have been changed recently with https://bugs.webkit.org/show_bug.cgi?id=161247. I think we should revisit this, as ^ { is much less common that ^{ and is canonical style in pure Obj-C.
> 
> Megan Gardner
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list