|
Ran
|
Jobs
1
|
Files
54
|
Run time
1min
|
Badge
README BADGES
|
push
github
De-genericize IGListBindingSectionController for Swift migration Summary: ## Plan This module doesn't need A/B testing and will be migrated directly. ## This Diff Removes the `__covariant ObjectType : id<IGListDiffable>` lightweight generic type parameter from `IGListBindingSectionController`. Swift generic types cannot be exposed to ObjC, so any generic ObjC class must lose its type parameter when converted to Swift. This degenerification is a required prerequisite for future Swift migration. Changes: - Removed the generic type parameter from the class header, replacing `ObjectType` with `id<IGListDiffable>` in the `object` property declaration - Removed the generic specialization from the `IGContentAppreciationGiftSectionController` subclass header - Simplified 87 Swift files that referenced `ListBindingSectionController<ListDiffable>` or `ListBindingSectionController<any ListDiffable>` or other specializations to plain `ListBindingSectionController` - Added ObjC casts at 3 callsites where the `.object` property was used with specialized type access (`IGAudioSearchResultsViewController.mm`, `IGDSShowcaseListExampleModel.m`) - Added Swift casts at callsites in `BCNComposerPostSectionController`, `BCNComposerViewController`, `BCNPostingStatusDatasource`, `BCNComposerAssetSectionController`, and `GiftsFeedSectionController` where `.object` was accessed as the previously-specialized type Differential Revision: D104311510 fbshipit-source-id: 6f54a761a
4508 of 4562 relevant lines covered (98.82%)
703.73 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | iOS - 25713764463.1 | 59 |
98.69 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|