Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Global functions GetInterface() and FindMemberFunction() are not properly boxing parameters #41

Closed
lvcabral opened this issue Jan 18, 2024 · 0 comments

Comments

@lvcabral
Copy link
Collaborator

lvcabral commented Jan 18, 2024

The code below:

    print FindMemberFunction({}, "Count")
    print GetInterface({}, "ifenum")
    print FindMemberFunction("", "left")
    print GetInterface("", "ifStringOps")
    print FindMemberFunction(1, "tostr")
    print GetInterface(1, "iftostr")

should display:

    <Interface: ifAssociativeArray>
    <Interface: ifEnum>
    <Interface: ifStringOps>
    <Interface: ifStringOps>
    <Interface: ifIntOps>
    <Interface: ifToStr>

Reference: https://developer.roku.com/en-gb/docs/references/brightscript/language/global-utility-functions.md

@lvcabral lvcabral changed the title Implement missing global function FindMemberFunction() Global functions GetInterface() and FindMemberFunction() are not properly boxing parameters Jan 18, 2024
lvcabral added a commit that referenced this issue Jan 18, 2024
…()` are not properly boxing parameters
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant