You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This currently fails due to the base class not passing the protocol conformance check. This can be fixed by treating bool/NSBOOL/char compatible. Same for long and long long (assuming 64-bit). Needs tests as well.
Error:
Traceback (most recent call last):
File "bug.py", line 4, in<module>
class AppDelegate( Cocoa.NSObject, protocols=[objc.protocolNamed("NSApplicationDelegate")]):
TypeError: class AppDelegate does not correctly implement protocol NSApplicationDelegate: the signature for method 'respondsToSelector:' is c@:: instead of B24@0:8:16
The text was updated successfully, but these errors were encountered:
The script below defines a dummy class implementing a Cocoa protocol:
This currently fails due to the base class not passing the protocol conformance check. This can be fixed by treating bool/NSBOOL/char compatible. Same for
long
andlong long
(assuming 64-bit). Needs tests as well.Error:
The text was updated successfully, but these errors were encountered: