Skip to content

1.0.0.beta.11

Pre-release
Pre-release

Choose a tag to compare

@ileitch ileitch released this 06 Nov 16:03
6e05295
Breaking
  • None.
Enhancements
  • Unused associated values on enum cases are now identified, including values discarded during pattern matching or bound to names that are never read. Disable this analysis with --disable-unused-associated-value-analysis.
  • Stored optional properties and global variables that can only hold nil are now reported as unused, even if they are read.
  • Assign-only analysis now covers stored properties with inferred primitive types.
  • More unused SwiftUI code is now identified, including unused views, write-only @State properties, and default-value helpers for unused state and environment entries.
  • Assign-only analysis now covers @ObservationIgnored properties.
Bug Fixes
  • Fixed false unused findings for superclass members required by live overrides and for Objective-C protocol witnesses on reachable types.