-
Notifications
You must be signed in to change notification settings - Fork 10.7k
[SR-15176] Fixit for override func that should be override var #57499
Copy link
Copy link
Open
Labels
compilerThe Swift compiler itselfThe Swift compiler itselfdiagnostics qualityBug: The quality of compiler diagnosticsBug: The quality of compiler diagnosticsfix-itsFeature: diagnostic fix-itsFeature: diagnostic fix-itsgood first issueGood for newcomersGood for newcomersimprovementinheritanceFeature → type declarations → class: Subclassing and inheritance of class membersFeature → type declarations → class: Subclassing and inheritance of class membersoverrideFeature: Overriding in classesFeature: Overriding in classesswift 5.9
Metadata
Metadata
Assignees
Labels
compilerThe Swift compiler itselfThe Swift compiler itselfdiagnostics qualityBug: The quality of compiler diagnosticsBug: The quality of compiler diagnosticsfix-itsFeature: diagnostic fix-itsFeature: diagnostic fix-itsgood first issueGood for newcomersGood for newcomersimprovementinheritanceFeature → type declarations → class: Subclassing and inheritance of class membersFeature → type declarations → class: Subclassing and inheritance of class membersoverrideFeature: Overriding in classesFeature: Overriding in classesswift 5.9
Additional Detail from JIRA
md5: b17661d61829d04b65f822d78b07388a
Issue Description:
Consider
We should add a special case to
diagnoseGeneralOverrideFailurethat tries to see if it can correct no-args FuncDecls to VarDecls and vice-versa.