★ wanayoo — archive 1999 https://github.com/livecode/livecode/pull/6310/commitsNouvelle recherche | Portail wanayoo
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 20931 ]] Bridge values in LCB assign-array and assign-list ops #6310

Merged
merged 7 commits into from Jun 6, 2018

Commits on Feb 1, 2018

  1. [[ Bug 20931 ]] Bridge values in LCB assign-array and assign-list ops

    This patch fixes a bug where the behavior of code built using the
    [ ... ] and { ... } syntax in LCB is different from that when using
    explicit code.
    
    A new method 'Bridge' has been added to the VM's execute context.
    This method performs a 'convert to optional any' on the input value
    resulting in bridgeable foreign values being imported, and all other
    values being retained.
    
    This method is now called on the input values in the assign-list
    and assign-array opcodes meaning that foreign values being built
    into lists will bridge.
    
    Additionally, an extra compiler check has been added to variadic
    arguments (i.e. arguments to the variadic portion of a C variadic
    handler). This check restricts such arguments to being variable
    identifiers where the variable has an explicit type declaration.
    This is necessary to ensure that code explicitly states the type
    which is being passed in variadic positions as there is no other
    means for the compiler or the VM to know what the type should be.
    runrevmark committed Feb 1, 2018

Commits on Jun 1, 2018

  1. [[ Bug 20931 ]] Use correct list index

    livecodeali committed Jun 1, 2018
You can’t perform that action at this time.