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

interp: fix creation of binary composite types #1391

Merged
merged 3 commits into from
May 5, 2022

Commits on Apr 27, 2022

  1. interp: fix creation of binary composite types

    Use direct assignment instead of reflect.Value Set method to
    initialize a binary composite type, as for non binary types.
    It ensures that a new reflect.Value is stored in the frame
    instead of modifying a possibly existing one, which can defeat
    the purpose of initializing variables in a body loop.
    
    While there, remove the need to have and use a mutex on types.
    
    Fixes traefik#1381.
    mvertes committed Apr 27, 2022
    Configuration menu
    Copy the full SHA
    085d564 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. review: rework a bit the test

    mpl committed May 5, 2022
    Configuration menu
    Copy the full SHA
    e9f3052 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f826e3 View commit details
    Browse the repository at this point in the history