Distinguish between class and instance methods in custom method mappings

Description

Need to add either `+` or `-` before all mappings in CustomMethodDeclarationMappings.def and CustomMethodCallMappings.def - see https://swiftify.atlassian.net/browse/SWC-897.
You may reuse the `Feature/Metadata.Swift5.2.DistinguishClassAndInstanceMethods` branch.

Environment

None

Activity

Show:
Alex Petuschak
July 2, 2020, 2:55 PM

Please take care of this as the next task.

You may find updated default / imported method mappings (MethodDeclarationMappings.def, MethodCallMappings.def) in the `Feature/Metadata.Swift5.2.DistinguishClassAndInstanceMethods` branch.

Alex Petuschak
July 3, 2020, 3:04 PM

Since there are around 1000 custom mappings, it might be faster to write a simple utility that will take the "+" or "-" specifier from MethodCallMappings and update entries in CustomMethodCallMappings accordingly.

Ivan Kh
July 8, 2020, 8:23 AM

Done.

Also generator project attached to task.

 

 

Assignee

Ivan Kh

Reporter

Alex Petuschak

Labels

None

GitHub Issue

None

Components

Fix versions

Priority

High
Configure