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: improve handling of generic types #1489

Merged
merged 14 commits into from Feb 8, 2023
Merged

Commits on Feb 3, 2023

  1. interp: improve handling of generic types

    When generating a new type, the parameter type was not correctly
    duplicated in the new AST. This is fixed by making copyNode recursive
    if needed. The out of order processing of generic types has also been
    fixed.
    
    Fixes traefik#1488.
    mvertes authored and ldez committed Feb 3, 2023
    Copy the full SHA
    4b05873 View commit details
    Browse the repository at this point in the history
  2. Handle the case where a generic type is instantiated before method

    declaration, which was leading to missing methods in the generated
    type.
    mvertes authored and ldez committed Feb 3, 2023
    Copy the full SHA
    ee89ec0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    17b1885 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    c6f9527 View commit details
    Browse the repository at this point in the history
  5. lint

    mvertes authored and ldez committed Feb 3, 2023
    Copy the full SHA
    d381f0f View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    22f0e88 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    e5219b0 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    a71ac85 View commit details
    Browse the repository at this point in the history
  9. add test for previous

    mvertes authored and ldez committed Feb 3, 2023
    Copy the full SHA
    30c5653 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    631dfa8 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    1914c33 View commit details
    Browse the repository at this point in the history
  12. lint

    mvertes authored and ldez committed Feb 3, 2023
    Copy the full SHA
    b153bb4 View commit details
    Browse the repository at this point in the history
  13. lint

    mvertes authored and ldez committed Feb 3, 2023
    Copy the full SHA
    a192ae3 View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    8c5a398 View commit details
    Browse the repository at this point in the history