Skip to content

[SR-11679] Incorrect fixit suggestion for init in CFType extension #54088

@nicklockwood

Description

@nicklockwood
Previous ID SR-11679
Radar None
Original Reporter @nicklockwood
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug, DiagnosticsQoI, StarterBug
Assignee alagos (JIRA)
Priority Medium

md5: 12d2b7a4d3ba982058d48bdb58177541

Issue Description:

Adding initializers to CFTypes via an extension is apparently not supported, but the compiler suggests this can be fixed by adding the `convenience` keyword (which doesn't work).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfdiagnostics QoIBug: Diagnostics Quality of Implementationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions