x/mobile: gobind
reverse binding won't compile for ObjC instance properties returning supported value types
#35963
Labels
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Tried to access a property on an object instance using reverse binding to ObjC. Property had a BOOL read-only return value.
What did you expect to see?
Boolean value returned
What did you see instead?
A compilation error.
In this method:
...getting the delegate via
app.Delegate()
compiles and works.However, attempting to retrieve the BOOL value for
app.SupportsMultipleScenes()
won't compile, with the compilation error:Both are instance properties, and presumably, both have supported return types - pointer and BOOL, which
gobind
documentation lists as a supported bridged type.The text was updated successfully, but these errors were encountered: