nico wrote: Thanks for the explanation, that makes sense. Maybe adding a warning when `NSNumber isEqualToValue` is used with a suggestion to use isEqualToNumber might be a good idea to bundle with this change? https://github.com/llvm/llvm-project/pull/185130