NSURL: should become mutable

Description

Objc

Swift

 

Variable "someURL“ should become mutable in case of using mutating function.

Environment

None

Activity

Show:
Alex Petuschak
July 24, 2019, 12:25 PM

Need `mutating` keyword added to metadata mappings and proper parsing & handling implemented.
Closing as duplicate - will take care along with SWC-697.

Alex Petuschak
October 2, 2019, 4:14 PM

Fixed this issue and .

 

To denote a method as mutable, either:

a) Add it to CustomMethodDeclarationMappings.def, with a mutatingkeyword:

b) Add the selector name to _mutatingMessages array, if (a) is difficult due to many mappings with the same elector:

 

c) In the future, we’ll keep the mutating keyword from Apple Help:

 

Assignee

Alex Petuschak

Reporter

Ivan Kh

Labels

None

Git Branch Name

None

GitHub Issue

None

Components

Fix versions

Priority

Medium
Configure