Skip to content
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

*bug fix* wrong overload invocation of overloaded functions - new idea #281

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Sep 22, 2022

  1. fixed a problem with the invocation of overloaded functions

    the function invocation mechanism was choosing the first compatible func according the the args and available overloads but there was a bug since some types that are available in java are unified into one type in JS for example JS number can be int double float or long hence choosing the first might cause a problem (in my case an android app crashes due to the incorrect overload). instead of the current mechanism i have implemented a mechanism that goes over all of the overloads and if there is more then one matching overload it invokes the method throwIfDispatcherAmbiguous(dispatcher) which will alert the user about the multiple a available overloads and ask his to choose which one to use.
    Roee-BY authored and oleavr committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    7e32392 View commit details
    Browse the repository at this point in the history
  2. fixed code format

    Roee-BY authored and oleavr committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    e96b8e3 View commit details
    Browse the repository at this point in the history
  3. Refactor a bit

    oleavr committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    0d626ce View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2023

  1. Configuration menu
    Copy the full SHA
    3a2b99f View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Update class-factory.js

    CR
    Roee-BY committed May 14, 2024
    Configuration menu
    Copy the full SHA
    5e7eecd View commit details
    Browse the repository at this point in the history