swift
6438b965 - Fix crash checking objcImpl block property

Commit
1 year ago
Fix crash checking objcImpl block property ObjCImplementationChecker::matchTypes() implicitly assumed that if it was comparing function types, it must be working on an AbstractFunctionDecl. This isn’t true for a property of block type, which could cause crashes when checking their parameter types. Fix this oversight. Fixes rdar://122280735.
Author
Committer
Parents
Loading