Skip to content

Kotlin callbacks do not support Opaque references #1204

Description

@tyler-zeromatter

Following from #1203, I get:

somelib/OpaqueCallbacks.kt: (57, 28) Return type mismatch: expected 'Pointer', actual 'MyString'.

Which I think is part of the same issues that #1202 documents, that being that Kotlin doesn't know how to handle opaque references.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-kotlinKotlin backendbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions