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

chore(fmt): refactor the way we handle shapes in the formatter #3546

Merged
merged 2 commits into from Nov 23, 2023
Merged

chore(fmt): refactor the way we handle shapes in the formatter #3546

merged 2 commits into from Nov 23, 2023

Conversation

ghost
Copy link

@ghost ghost commented Nov 23, 2023

Description

Problem

Previously, we didn't consider the size of the function name and the size of the return type when formatting parameters
Resolves AztecProtocol/aztec-packages#3372 (comment)

Documentation

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@ghost ghost mentioned this pull request Nov 23, 2023
5 tasks
@ghost ghost marked this pull request as ready for review November 23, 2023 15:30
@kevaundray kevaundray changed the title chore(fmt): refactor shape system chore(fmt): refactor the way we handle shapes in the formatter Nov 23, 2023
@kevaundray kevaundray added this pull request to the merge queue Nov 23, 2023
Merged via the queue into noir-lang:master with commit fd40258 Nov 23, 2023
34 checks passed
TomAFrench added a commit that referenced this pull request Nov 24, 2023
* master:
  fix: Compiler version error message (#3558)
  chore(docs): Update link to docs' GitHub (#3555)
  chore(fmt): refactor the way we handle shapes in the formatter (#3546)
  feat: add --check option to nargo fmt for dry-run formatting verification (#3530)
  chore: Update ACIR artifacts (#3528)
  chore: Release Noir(0.19.3) (#3514)
  chore: Updates bb dependency to 0.15.1 (#3536)
  fix(debugger): Step through foreign calls and breakpoints inside Brillig blocks (#3511)
  chore: Add build profiles that optimize for size (#3534)
  chore: clippy fixes (#3529)
  chore: remove early return from build.rs (#3531)
  feat: enable the `fmt` command in the help menu (#3328)
TomAFrench added a commit that referenced this pull request Nov 27, 2023
* master: (39 commits)
  chore: Rename error2 variable (#3584)
  chore: nargo fmt (#3587)
  feat: codegen typed interfaces for functions in `noir_codegen` (#3533)
  chore: add dependency on noir_js from docs package (#3559)
  chore: Docs 0.19.3 (#3545)
  chore(debugger): Inject abstract foreign call executor to debugger (#3550)
  chore: nargo fmt (#3549)
  fix: Compiler version error message (#3558)
  chore(docs): Update link to docs' GitHub (#3555)
  chore(fmt): refactor the way we handle shapes in the formatter (#3546)
  feat: add --check option to nargo fmt for dry-run formatting verification (#3530)
  chore: Update ACIR artifacts (#3528)
  chore: Release Noir(0.19.3) (#3514)
  chore: Updates bb dependency to 0.15.1 (#3536)
  fix(debugger): Step through foreign calls and breakpoints inside Brillig blocks (#3511)
  chore: Add build profiles that optimize for size (#3534)
  chore: clippy fixes (#3529)
  chore: remove early return from build.rs (#3531)
  feat: enable the `fmt` command in the help menu (#3328)
  chore: Remove panic on arm64 linux builds for bb binary at compile time (#3527)
  ...
TomAFrench added a commit that referenced this pull request Nov 27, 2023
* master: (56 commits)
  chore: Remove concept of storage slot from the compiler (#3582)
  chore: Update ACIR artifacts (#3591)
  feat: export `CompiledCircuit` from codegened TS (#3589)
  fix: use 128 bits for constant bit shift (#3586)
  fix: Somewhat reduce mem2reg memory usage (#3572)
  fix: Remove quotes from println output (#3574)
  chore: Rename error2 variable (#3584)
  chore: nargo fmt (#3587)
  feat: codegen typed interfaces for functions in `noir_codegen` (#3533)
  chore: add dependency on noir_js from docs package (#3559)
  chore: Docs 0.19.3 (#3545)
  chore(debugger): Inject abstract foreign call executor to debugger (#3550)
  chore: nargo fmt (#3549)
  fix: Compiler version error message (#3558)
  chore(docs): Update link to docs' GitHub (#3555)
  chore(fmt): refactor the way we handle shapes in the formatter (#3546)
  feat: add --check option to nargo fmt for dry-run formatting verification (#3530)
  chore: Update ACIR artifacts (#3528)
  chore: Release Noir(0.19.3) (#3514)
  chore: Updates bb dependency to 0.15.1 (#3536)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant