[webkit-dev] Using "auto <function()> -> returnType" breaks prepare-ChangeLog
jfbastien at apple.com
Thu Jul 27 23:35:55 PDT 2017
I’ll trade this C++ fix for ES6 functions getting parsed properly too :D
> On Jul 27, 2017, at 23:06, Brady Eidson <beidson at apple.com> wrote:
> I just noticed this tonight. When a change is made to one of these functions, prepare-ChangeLog doesn't log the functions that changed.
> I have a question and a request.
> The functions in question where I noticed this:
> auto WebURLSchemeTask::didComplete(const ResourceError& error) -> ExceptionType
> Would normally be written as:
> WebURLSchemeTask::ExceptionType WebURLSchemeTask::didComplete(const ResourceError& error)
> Is there some actual value to using this syntax other than… being syntactically different, and being just a little shorter?
> Until we fix prepare-ChangeLog, and unless there is some great advantage to this syntax that I'm not aware of… it's hold off on using it more.
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev