native icon indicating copy to clipboard operation
native copied to clipboard

`NSMutableArray.arrayWithContentsOfFile` has different return types

Open liamappelbe opened this issue 1 year ago • 0 comments

NSMutableArray? arrayWithContentsOfFile:(NSString path)
NSArray? arrayWithContentsOfFile:(NSString path)

There are a few cases like this and it's one remaining source of "duplicate method" log spam. The important thing is that NSMutableArray is a subtype of NSArray, so we probably need to add some sort of subtyping test to handle this case. The fix is just to detect this case and keep the subtype version.

liamappelbe avatar May 13 '24 01:05 liamappelbe