Trouble with renaming |request| accessor method to |Request| |
||||
Issue description
A naive automated rename will perform the following rename in third_party/WebKit/Source/modules/fetch/Request.h:
- const FetchRequestData* request() const { return m_request; }
+ const FetchRequestData* Request() const { return request_; }
This will lead to build errors, because now Request is a name of both 1) a type and 2) a method.
,
Dec 12 2016
As a short-term workaround, maybe we could just teach the IDL compiler to drop "Get" when generating the setters.
,
Dec 13 2016
,
Mar 24 2017
I think this is no longer an issue: 1. We no longer rename method names that are based on IDL 2. I think "request" was not an issue when performing recent dry runs I don't remember why #2 "healed itself" (probably #1 helped here), but it might be okay to just resolve this bug as WontFix?
,
Mar 24 2017
|
||||
►
Sign in to add a comment |
||||
Comment 1 by lukasza@chromium.org
, Dec 12 2016