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

fix(experimental elaborator): Only call add_generics once #5091

Merged
merged 55 commits into from
May 28, 2024

Commits on May 2, 2024

  1. Add elaborator

    jfecher committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d0afc12 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

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

Commits on May 6, 2024

  1. More expressions

    jfecher committed May 6, 2024
    Configuration menu
    Copy the full SHA
    225303f View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Finish each expression kind

    jfecher committed May 7, 2024
    Configuration menu
    Copy the full SHA
    29e67a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0177c12 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Add compiler flag

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    6b30028 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7550fb8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    39d23dc View commit details
    Browse the repository at this point in the history
  4. Connect elaborator

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    2e77d87 View commit details
    Browse the repository at this point in the history
  5. Code review

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    e542d32 View commit details
    Browse the repository at this point in the history
  6. Finish removing Scope

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    fd287df View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    73dc473 View commit details
    Browse the repository at this point in the history
  8. Finish functions

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    9614b87 View commit details
    Browse the repository at this point in the history
  9. Add should_panic

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    b44c98a View commit details
    Browse the repository at this point in the history
  10. clippy

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    9579646 View commit details
    Browse the repository at this point in the history
  11. Fix test

    jfecher committed May 8, 2024
    Configuration menu
    Copy the full SHA
    e4d5f61 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Fix test

    jfecher committed May 9, 2024
    Configuration menu
    Copy the full SHA
    556e6ef View commit details
    Browse the repository at this point in the history
  2. Elaborate impls

    jfecher committed May 9, 2024
    Configuration menu
    Copy the full SHA
    7487b03 View commit details
    Browse the repository at this point in the history
  3. Fix yet another missed line

    jfecher committed May 9, 2024
    Configuration menu
    Copy the full SHA
    82d5871 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a3872e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3fb05dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4fa4677 View commit details
    Browse the repository at this point in the history
  7. Resolve weird git merge

    jfecher committed May 9, 2024
    Configuration menu
    Copy the full SHA
    e9e69f4 View commit details
    Browse the repository at this point in the history
  8. Wrong arg order

    jfecher committed May 9, 2024
    Configuration menu
    Copy the full SHA
    d7d91ae View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e9afa1a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    13564f8 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Code review

    jfecher committed May 10, 2024
    Configuration menu
    Copy the full SHA
    75c6451 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbecf41 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Configuration menu
    Copy the full SHA
    0029558 View commit details
    Browse the repository at this point in the history
  2. Add globals

    jfecher committed May 21, 2024
    Configuration menu
    Copy the full SHA
    7a37bf3 View commit details
    Browse the repository at this point in the history
  3. Format

    jfecher committed May 21, 2024
    Configuration menu
    Copy the full SHA
    464d58c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba893ae View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    397fe78 View commit details
    Browse the repository at this point in the history
  2. Remove unneeded comment

    jfecher committed May 22, 2024
    Configuration menu
    Copy the full SHA
    afcf26e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f3e79b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8522936 View commit details
    Browse the repository at this point in the history
  5. Fix panic in the elaborator

    jfecher committed May 22, 2024
    Configuration menu
    Copy the full SHA
    bbb7228 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1f9b6d0 View commit details
    Browse the repository at this point in the history
  7. Undo unnecessary change

    jfecher committed May 22, 2024
    Configuration menu
    Copy the full SHA
    78e6a27 View commit details
    Browse the repository at this point in the history
  8. Remove more unnecessary code

    jfecher committed May 22, 2024
    Configuration menu
    Copy the full SHA
    3b59749 View commit details
    Browse the repository at this point in the history
  9. Remove unnecessary import

    jfecher committed May 22, 2024
    Configuration menu
    Copy the full SHA
    bf999d9 View commit details
    Browse the repository at this point in the history
  10. Remove outdated assert

    jfecher committed May 22, 2024
    Configuration menu
    Copy the full SHA
    7be1561 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f48280d View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    fadc085 View commit details
    Browse the repository at this point in the history
  2. Clippy

    jfecher committed May 23, 2024
    Configuration menu
    Copy the full SHA
    f0d249a View commit details
    Browse the repository at this point in the history
  3. Add missed field in test

    jfecher committed May 23, 2024
    Configuration menu
    Copy the full SHA
    68ccf9c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa6d581 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    2bb25f0 View commit details
    Browse the repository at this point in the history
  2. Remove unused items

    jfecher committed May 28, 2024
    Configuration menu
    Copy the full SHA
    467f281 View commit details
    Browse the repository at this point in the history
  3. Remove panic

    jfecher committed May 28, 2024
    Configuration menu
    Copy the full SHA
    c21bcd3 View commit details
    Browse the repository at this point in the history
  4. Update compiler/noirc_frontend/src/elaborator/mod.rs

    Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
    jfecher and vezenovm authored May 28, 2024
    Configuration menu
    Copy the full SHA
    0220510 View commit details
    Browse the repository at this point in the history
  5. Fmt suggestion

    jfecher committed May 28, 2024
    Configuration menu
    Copy the full SHA
    6fe0f22 View commit details
    Browse the repository at this point in the history
  6. Add another recover_generics

    jfecher committed May 28, 2024
    Configuration menu
    Copy the full SHA
    4edefdc View commit details
    Browse the repository at this point in the history
  7. fix(experimental elaborator): Don't check return type for trait metho…

    …ds (#5096)
    
    # Description
    
    ## Problem\*
    
    Resolves some errors in the elaborator from checking a trait method's
    empty body against the expected type that was declared.
    
    ## Summary\*
    
    Adds whether or not a function is a trait method (not a trait impl
    method) to the `is_stub` method which is just a renamed
    `can_ignore_return_type`.
    
    ## Additional Context
    
    Down to 203 errors in the stdlib.
    
    This also fixes unused variable warnings that were present before but
    not shown in the error count.
    
    ## Documentation\*
    
    Check one:
    - [x] No documentation needed.
    - [ ] Documentation included in this PR.
    - [ ] **[For Experimental Features]** Documentation to be submitted in a
    separate PR.
    
    # PR Checklist\*
    
    - [x] I have tested the changes locally.
    - [x] I have formatted the changes with [Prettier](https://prettier.io/)
    and/or `cargo fmt` on default settings.
    jfecher authored May 28, 2024
    Configuration menu
    Copy the full SHA
    417a69a View commit details
    Browse the repository at this point in the history
  8. Remove unused variable

    jfecher committed May 28, 2024
    Configuration menu
    Copy the full SHA
    bc2b025 View commit details
    Browse the repository at this point in the history