You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RPC spec generator does not instantiate RPC responses correctly when generating convenience inits.
The generated convenience inits call super.init when they should call self.init. If self.init is not called, then the response is not created with its name (i.e. super.initWithName: is never called).
Reproduction Steps
Run the generator script in the "generator" folder of the library.
Expected Behavior
Generated convenience inits for RPC response should call self.init.
For example, in the SDLSubtleAlertResponse, this init should be created:
NicoleYarroch
changed the title
RPC spec generator does instantiate RPC responses
RPC spec generator does not instantiate RPC responses correctly
Jul 28, 2020
Bug Report
The RPC spec generator does not instantiate RPC responses correctly when generating convenience inits.
The generated convenience inits call
super.init
when they should callself.init
. Ifself.init
is not called, then the response is not created with its name (i.e.super.initWithName:
is never called).Reproduction Steps
Expected Behavior
Generated convenience inits for RPC response should call
self.init
.For example, in the
SDLSubtleAlertResponse
, this init should be created:Observed Behavior
In the
SDLSubtleAlertResponse
, this init is created:OS & Version Information
The text was updated successfully, but these errors were encountered: