Cast the message (or property) receiver to the type found in metadata

Description

Consider the following sample:
http://swiftify.me/vm0wm0

1) The (custom) translation of `NSNumber.unsignedIntegerValue` explicitly casts the receiver to `NSNumber`:

... thus the translation correctly casts the receiver to `NSNumber`:

2) The user-defined `PDFString.textString` method does not have such an explicit cast,
so the resulting code is missing `as? PDFStirng`:

Correct translation:

Environment

None

Assignee

Alex Petuschak

Reporter

Alex Petuschak

Labels

None

Git Branch Name

None

GitHub Issue

None

Components

Fix versions

Priority

Low
Configure