-
Notifications
You must be signed in to change notification settings - Fork 68
Method renamer should include type names. #1007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
UIImage
class.UIImage
class.
Does it work if you manually edit the generated code to rename the getter? I think we use separate renamers for types vs methods. If we made the method renamer aware of all the type names, then it would rename this getter to |
Yes, I can fix this error manually, why don't use cgImage instead of CGImage? |
I'm not actually asking you to fix it manually. I just wanted to confirm that this fix would work before I implement it.
The renaming needs to be something that ffigen can do programmatically. Renaming |
UIImage
class.
When I tried to generate the

UIImage
bindings, the generated code shows some errors:The wrong code is generated as follow
Maybe the
CGImage
property should changed tocgImage
?https://developer.apple.com/documentation/coreimage/ciimage/1687603-cgimage
The text was updated successfully, but these errors were encountered: