[SR-10297] Try to transform init
call on the instance of type to an assignment
#52697
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
good first issue
Good for newcomers
Additional Detail from JIRA
md5: e021780c97db9aa203896ca4525bcbfb
Issue Description:
Consider following example:
It produces following diagnostic:
Instead it should suggest to transform this expression into an assignment and error should say that it's incorrect to call `init` on value of type `X`.
The text was updated successfully, but these errors were encountered: