{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":285004577,"defaultBranch":"master","name":"noir","ownerLogin":"noir-lang","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-08-04T14:26:47.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/72610319?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726972223.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"7c6a02449ad66d3779c5c9ac7c144421a87e9f7f","ref":"refs/heads/arv/fix_die_constants","pushedAt":"2024-09-21T14:21:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"sirasistant","name":"Álvaro Rodríguez","path":"/sirasistant","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5372114?s=80&v=4"},"commit":{"message":"fix: Consider constants as used values to keep their inc_rc","shortMessageHtmlLink":"fix: Consider constants as used values to keep their inc_rc"}},{"before":"3c45af51521a04ecaf8854452b887da3794647dc","after":"c85c9535e31e2469fd5948bf3ffc18d78b4348ac","ref":"refs/heads/mv/remove-last-loads-per-block","pushedAt":"2024-09-20T21:54:17.000Z","pushType":"push","commitsCount":10,"pusher":{"login":"vezenovm","name":"Maxim Vezenov","path":"/vezenovm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43554004?s=80&v=4"},"commit":{"message":"Merge branch 'master' into mv/remove-last-loads-per-block","shortMessageHtmlLink":"Merge branch 'master' into mv/remove-last-loads-per-block"}},{"before":"82bb286a1369c1d1ca89be941ca85dacbb7ac996","after":"3c45af51521a04ecaf8854452b887da3794647dc","ref":"refs/heads/mv/remove-last-loads-per-block","pushedAt":"2024-09-20T21:54:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"vezenovm","name":"Maxim Vezenov","path":"/vezenovm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43554004?s=80&v=4"},"commit":{"message":"improve keep_repeat_loads_with_alias_store test and track parameters that alias each other","shortMessageHtmlLink":"improve keep_repeat_loads_with_alias_store test and track parameters …"}},{"before":"4f924384ab60e7e3bf7cc27f987033b5acdfca75","after":"0341d748121ddee5c3c1fadee221d54f513a6c9e","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T20:22:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore(docs): cut new docs version for tag v0.35.0","shortMessageHtmlLink":"chore(docs): cut new docs version for tag v0.35.0"}},{"before":"2c865559101091c1c87abd4320383fbdbb982647","after":"4f924384ab60e7e3bf7cc27f987033b5acdfca75","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T20:13:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore: Update root workspace acvm versions and lockfile","shortMessageHtmlLink":"chore: Update root workspace acvm versions and lockfile"}},{"before":"cd1d2f25b382413e4321fc5bef5c8d65c52c1214","after":"2c865559101091c1c87abd4320383fbdbb982647","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T20:12:32.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore: Release Noir(0.35.0)","shortMessageHtmlLink":"chore: Release Noir(0.35.0)"}},{"before":"cfbcc370724254388c565d5a972ab7e9190bb983","after":null,"ref":"refs/heads/mv/array-set-opt-brillig-return","pushedAt":"2024-09-20T20:10:59.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"vezenovm","name":"Maxim Vezenov","path":"/vezenovm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43554004?s=80&v=4"}},{"before":"5598059576c6cbc72474aff4b18bc5e4bb9f08e1","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-6119-3ecd0e29441d27bc77c49993495209a70be0d86e","pushedAt":"2024-09-20T20:10:58.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"3ecd0e29441d27bc77c49993495209a70be0d86e","after":"5598059576c6cbc72474aff4b18bc5e4bb9f08e1","ref":"refs/heads/master","pushedAt":"2024-09-20T20:10:57.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat(perf): Allow array set last uses optimization in return block of Brillig functions (#6119)\n\n# Description\n\n## Problem\\*\n\nResolves \n\nPart of general effort to reduce Brillig bytecode sizes.\n\n## Summary\\*\n\nWe currently only perform the array set last uses optimization on ACIR\nfunctions. This makes sense as the pass only looks only last uses in a\nsingle block. We can start to expand the last uses opt to encompass more\nthan just ACIR functions and make it aware of the last array set of an\narray across blocks. This is quite complex though so this PR currently\njust attempts to look at the return block of Brillig functions and see\nthe effects.\n\n## Additional Context\n\n\n## Documentation\\*\n\nCheck one:\n- [X] No documentation needed.\n- [ ] Documentation included in this PR.\n- [ ] **[For Experimental Features]** Documentation to be submitted in a\nseparate PR.\n\n# PR Checklist\\*\n\n- [X] I have tested the changes locally.\n- [X] I have formatted the changes with [Prettier](https://prettier.io/)\nand/or `cargo fmt` on default settings.","shortMessageHtmlLink":"feat(perf): Allow array set last uses optimization in return block of…"}},{"before":null,"after":"5598059576c6cbc72474aff4b18bc5e4bb9f08e1","ref":"refs/heads/gh-readonly-queue/master/pr-6119-3ecd0e29441d27bc77c49993495209a70be0d86e","pushedAt":"2024-09-20T19:58:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat(perf): Allow array set last uses optimization in return block of Brillig functions (#6119)\n\n# Description\n\n## Problem\\*\n\nResolves \n\nPart of general effort to reduce Brillig bytecode sizes.\n\n## Summary\\*\n\nWe currently only perform the array set last uses optimization on ACIR\nfunctions. This makes sense as the pass only looks only last uses in a\nsingle block. We can start to expand the last uses opt to encompass more\nthan just ACIR functions and make it aware of the last array set of an\narray across blocks. This is quite complex though so this PR currently\njust attempts to look at the return block of Brillig functions and see\nthe effects.\n\n## Additional Context\n\n\n## Documentation\\*\n\nCheck one:\n- [X] No documentation needed.\n- [ ] Documentation included in this PR.\n- [ ] **[For Experimental Features]** Documentation to be submitted in a\nseparate PR.\n\n# PR Checklist\\*\n\n- [X] I have tested the changes locally.\n- [X] I have formatted the changes with [Prettier](https://prettier.io/)\nand/or `cargo fmt` on default settings.","shortMessageHtmlLink":"feat(perf): Allow array set last uses optimization in return block of…"}},{"before":"fecacbf98ebde0eb519960f01e60ca8b2d30d660","after":"cd1d2f25b382413e4321fc5bef5c8d65c52c1214","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T19:45:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore(docs): cut new docs version for tag v0.35.0","shortMessageHtmlLink":"chore(docs): cut new docs version for tag v0.35.0"}},{"before":"4fc86f20a46ecf6f99996b73c0c0604424e4d3f0","after":"cfbcc370724254388c565d5a972ab7e9190bb983","ref":"refs/heads/mv/array-set-opt-brillig-return","pushedAt":"2024-09-20T19:44:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"vezenovm","name":"Maxim Vezenov","path":"/vezenovm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43554004?s=80&v=4"},"commit":{"message":"cleanup","shortMessageHtmlLink":"cleanup"}},{"before":"1847740ac0c9ec4a24997f5d1a7e8184ad9934d2","after":"4fc86f20a46ecf6f99996b73c0c0604424e4d3f0","ref":"refs/heads/mv/array-set-opt-brillig-return","pushedAt":"2024-09-20T19:43:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"vezenovm","name":"Maxim Vezenov","path":"/vezenovm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43554004?s=80&v=4"},"commit":{"message":"fix moving the source to the destination if mutable array set","shortMessageHtmlLink":"fix moving the source to the destination if mutable array set"}},{"before":"26541e35b34ac518db3edd9181bda787a957f9cf","after":"fecacbf98ebde0eb519960f01e60ca8b2d30d660","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T19:37:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore: Update root workspace acvm versions and lockfile","shortMessageHtmlLink":"chore: Update root workspace acvm versions and lockfile"}},{"before":"7458ecbd8929d5562a72a53cf04f838b2e475b66","after":"26541e35b34ac518db3edd9181bda787a957f9cf","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T19:35:59.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore: Release Noir(0.35.0)","shortMessageHtmlLink":"chore: Release Noir(0.35.0)"}},{"before":"abf9d3d518dc37eca9ba12ca8d194dd88dcbd70a","after":null,"ref":"refs/heads/ab/constraint-statement","pushedAt":"2024-09-20T19:34:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"asterite","name":"Ary Borenszweig","path":"/asterite","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/209371?s=80&v=4"}},{"before":"3ecd0e29441d27bc77c49993495209a70be0d86e","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-6103-cd81f85856a477e208533ebd0915b5901c1bb184","pushedAt":"2024-09-20T19:34:51.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"cd81f85856a477e208533ebd0915b5901c1bb184","after":"3ecd0e29441d27bc77c49993495209a70be0d86e","ref":"refs/heads/master","pushedAt":"2024-09-20T19:34:49.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat: represent assertions more similarly to function calls (#6103)\n\n# Description\n\n## Problem\n\nResolves #6102\n\n## Summary\n\nSee the relevant issue, but in addition to LSP working better, and\ngetting a better error message when giving an incorrect number of\narguments to `assert` and `assert_eq`, I think the code ends up being\nslightly simpler.\n\n## Additional Context\n\n## Documentation\n\nCheck one:\n- [x] No documentation needed.\n- [ ] Documentation included in this PR.\n- [ ] **[For Experimental Features]** Documentation to be submitted in a\nseparate PR.\n\n# PR Checklist\n\n- [x] I have tested the changes locally.\n- [x] I have formatted the changes with [Prettier](https://prettier.io/)\nand/or `cargo fmt` on default settings.","shortMessageHtmlLink":"feat: represent assertions more similarly to function calls (#6103)"}},{"before":null,"after":"3ecd0e29441d27bc77c49993495209a70be0d86e","ref":"refs/heads/gh-readonly-queue/master/pr-6103-cd81f85856a477e208533ebd0915b5901c1bb184","pushedAt":"2024-09-20T19:22:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat: represent assertions more similarly to function calls (#6103)\n\n# Description\n\n## Problem\n\nResolves #6102\n\n## Summary\n\nSee the relevant issue, but in addition to LSP working better, and\ngetting a better error message when giving an incorrect number of\narguments to `assert` and `assert_eq`, I think the code ends up being\nslightly simpler.\n\n## Additional Context\n\n## Documentation\n\nCheck one:\n- [x] No documentation needed.\n- [ ] Documentation included in this PR.\n- [ ] **[For Experimental Features]** Documentation to be submitted in a\nseparate PR.\n\n# PR Checklist\n\n- [x] I have tested the changes locally.\n- [x] I have formatted the changes with [Prettier](https://prettier.io/)\nand/or `cargo fmt` on default settings.","shortMessageHtmlLink":"feat: represent assertions more similarly to function calls (#6103)"}},{"before":"152959fc78e52d101c0d93b04f85036412b891d2","after":"7458ecbd8929d5562a72a53cf04f838b2e475b66","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T19:18:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore(docs): cut new docs version for tag v0.35.0","shortMessageHtmlLink":"chore(docs): cut new docs version for tag v0.35.0"}},{"before":"6ea9042c40b9278d8853b3583d1f1bfb2688fbc8","after":"abf9d3d518dc37eca9ba12ca8d194dd88dcbd70a","ref":"refs/heads/ab/constraint-statement","pushedAt":"2024-09-20T19:09:57.000Z","pushType":"push","commitsCount":16,"pusher":{"login":"asterite","name":"Ary Borenszweig","path":"/asterite","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/209371?s=80&v=4"},"commit":{"message":"Merge branch 'master' into ab/constraint-statement","shortMessageHtmlLink":"Merge branch 'master' into ab/constraint-statement"}},{"before":"dfb6136cc4982dbf836a468765c823dd0898e16a","after":"152959fc78e52d101c0d93b04f85036412b891d2","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T19:09:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore: Update root workspace acvm versions and lockfile","shortMessageHtmlLink":"chore: Update root workspace acvm versions and lockfile"}},{"before":"28588ebb8b2ba05274343cf82a3261fd949b253a","after":"dfb6136cc4982dbf836a468765c823dd0898e16a","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T19:08:19.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore: Release Noir(0.35.0)","shortMessageHtmlLink":"chore: Release Noir(0.35.0)"}},{"before":"88eee87823585d323e6755d2f95d18dc63bc0a40","after":null,"ref":"refs/heads/ab/token-pretty-printer","pushedAt":"2024-09-20T19:07:08.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"asterite","name":"Ary Borenszweig","path":"/asterite","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/209371?s=80&v=4"}},{"before":"cd81f85856a477e208533ebd0915b5901c1bb184","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-6111-3f79d8f04c5f90c6b21359a3d0960446ebf84b2d","pushedAt":"2024-09-20T19:07:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"3f79d8f04c5f90c6b21359a3d0960446ebf84b2d","after":"cd81f85856a477e208533ebd0915b5901c1bb184","ref":"refs/heads/master","pushedAt":"2024-09-20T19:07:07.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat: pretty print Quoted token stream (#6111)\n\n# Description\n\n## Problem\n\nResolves #6110\n\n## Summary\n\nThis should make it much easier to debug macro code.\n\nFor example, compare this old output:\n\n```noir\nquote { pub fn public_entrypoint ( selector : Field ) { let cdoffset = 0 ; let selector = dep :: aztec :: protocol_types :: abis :: function_selector :: FunctionSelector :: from_field ( selector ) ; if selector == (FunctionSelector { inner: 3043802001 }) { let input_calldata : [ Field ; 3 ] = calldata_copy ( 0 , 3 ) ; let input_calldata_index = 0 ; let ( inputs , input_calldata_index ) = PublicContextInputs :: from_calldata ( input_calldata , input_calldata_index ) ; let ( a , input_calldata_index ) = Field :: from_calldata ( input_calldata , input_calldata_index ) ; let return_value = set_storage_single ( inputs , a ) ; let mut return_array : [ Field ; 1 ] = [ 0 ; 1 ] ; return_value . to_calldata ( & mut return_array , 0 ) ; avm_return ( return_array ) ; } else if selector == (FunctionSelector { inner: 1695189557 }) { let input_calldata : [ Field ; 2 ] = calldata_copy ( 0 , 2 ) ; let input_calldata_index = 0 ; let ( inputs , input_calldata_index ) = PublicContextInputs :: from_calldata ( input_calldata , input_calldata_index ) ; let return_value = read_storage_single ( inputs ) ; let mut return_array : [ Field ; 1 ] = [ 0 ; 1 ] ; return_value . to_calldata ( & mut return_array , 0 ) ; avm_return ( return_array ) ; } else if selector == (FunctionSelector { inner: 1009316778 }) { let input_calldata : [ Field ; 3 ] = calldata_copy ( 0 , 3 ) ; let input_calldata_index = 0 ; let ( inputs , input_calldata_index ) = PublicContextInputs :: from_calldata ( input_calldata , input_calldata_index ) ; let ( a , input_calldata_index ) = Field :: from_calldata ( input_calldata , input_calldata_index ) ; let return_value = set_read_storage_single ( inputs , a ) ; let mut return_array : [ Field ; 1 ] = [ 0 ; 1 ] ; return_value . to_calldata ( & mut return_array , 0 ) ; avm_return ( return_array ) ; } else { panic ( f\"Unknown selector\" ) } } }\n```\n\nto this new one:\n\n```noir\nquote {\n pub fn public_entrypoint(selector: Field) {\n let cdoffset = 0;\n let selector = dep::aztec::protocol_types::abis::function_selector::FunctionSelector::from_field(selector);\n if selector == (FunctionSelector { inner: 1009316778 }) {\n let input_calldata: [Field; 3] = calldata_copy(0, 3);\n let input_calldata_index = 0;\n let(inputs, input_calldata_index) = PublicContextInputs::from_calldata(input_calldata, input_calldata_index);\n let(a, input_calldata_index) = Field::from_calldata(input_calldata, input_calldata_index);\n let return_value = set_read_storage_single(inputs, a);\n let mut return_array: [Field; 1] = [0; 1];\n return_value.to_calldata( & mut return_array, 0);\n avm_return(return_array);\n } else if selector == (FunctionSelector { inner: 3043802001 }) {\n let input_calldata: [Field; 3] = calldata_copy(0, 3);\n let input_calldata_index = 0;\n let(inputs, input_calldata_index) = PublicContextInputs::from_calldata(input_calldata, input_calldata_index);\n let(a, input_calldata_index) = Field::from_calldata(input_calldata, input_calldata_index);\n let return_value = set_storage_single(inputs, a);\n let mut return_array: [Field; 1] = [0; 1];\n return_value.to_calldata( & mut return_array, 0);\n avm_return(return_array);\n } else if selector == (FunctionSelector { inner: 1695189557 }) {\n let input_calldata: [Field; 2] = calldata_copy(0, 2);\n let input_calldata_index = 0;\n let(inputs, input_calldata_index) = PublicContextInputs::from_calldata(input_calldata, input_calldata_index);\n let return_value = read_storage_single(inputs);\n let mut return_array: [Field; 1] = [0; 1];\n return_value.to_calldata( & mut return_array, 0);\n avm_return(return_array);\n } else {\n panic(f\"Unknown selector\")\n }\n }\n}\n```\n\n## Additional Context\n\n## Documentation\n\nCheck one:\n- [x] No documentation needed.\n- [ ] Documentation included in this PR.\n- [ ] **[For Experimental Features]** Documentation to be submitted in a\nseparate PR.\n\n# PR Checklist\n\n- [x] I have tested the changes locally.\n- [x] I have formatted the changes with [Prettier](https://prettier.io/)\nand/or `cargo fmt` on default settings.","shortMessageHtmlLink":"feat: pretty print Quoted token stream (#6111)"}},{"before":null,"after":"cd81f85856a477e208533ebd0915b5901c1bb184","ref":"refs/heads/gh-readonly-queue/master/pr-6111-3f79d8f04c5f90c6b21359a3d0960446ebf84b2d","pushedAt":"2024-09-20T18:54:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat: pretty print Quoted token stream (#6111)\n\n# Description\n\n## Problem\n\nResolves #6110\n\n## Summary\n\nThis should make it much easier to debug macro code.\n\nFor example, compare this old output:\n\n```noir\nquote { pub fn public_entrypoint ( selector : Field ) { let cdoffset = 0 ; let selector = dep :: aztec :: protocol_types :: abis :: function_selector :: FunctionSelector :: from_field ( selector ) ; if selector == (FunctionSelector { inner: 3043802001 }) { let input_calldata : [ Field ; 3 ] = calldata_copy ( 0 , 3 ) ; let input_calldata_index = 0 ; let ( inputs , input_calldata_index ) = PublicContextInputs :: from_calldata ( input_calldata , input_calldata_index ) ; let ( a , input_calldata_index ) = Field :: from_calldata ( input_calldata , input_calldata_index ) ; let return_value = set_storage_single ( inputs , a ) ; let mut return_array : [ Field ; 1 ] = [ 0 ; 1 ] ; return_value . to_calldata ( & mut return_array , 0 ) ; avm_return ( return_array ) ; } else if selector == (FunctionSelector { inner: 1695189557 }) { let input_calldata : [ Field ; 2 ] = calldata_copy ( 0 , 2 ) ; let input_calldata_index = 0 ; let ( inputs , input_calldata_index ) = PublicContextInputs :: from_calldata ( input_calldata , input_calldata_index ) ; let return_value = read_storage_single ( inputs ) ; let mut return_array : [ Field ; 1 ] = [ 0 ; 1 ] ; return_value . to_calldata ( & mut return_array , 0 ) ; avm_return ( return_array ) ; } else if selector == (FunctionSelector { inner: 1009316778 }) { let input_calldata : [ Field ; 3 ] = calldata_copy ( 0 , 3 ) ; let input_calldata_index = 0 ; let ( inputs , input_calldata_index ) = PublicContextInputs :: from_calldata ( input_calldata , input_calldata_index ) ; let ( a , input_calldata_index ) = Field :: from_calldata ( input_calldata , input_calldata_index ) ; let return_value = set_read_storage_single ( inputs , a ) ; let mut return_array : [ Field ; 1 ] = [ 0 ; 1 ] ; return_value . to_calldata ( & mut return_array , 0 ) ; avm_return ( return_array ) ; } else { panic ( f\"Unknown selector\" ) } } }\n```\n\nto this new one:\n\n```noir\nquote {\n pub fn public_entrypoint(selector: Field) {\n let cdoffset = 0;\n let selector = dep::aztec::protocol_types::abis::function_selector::FunctionSelector::from_field(selector);\n if selector == (FunctionSelector { inner: 1009316778 }) {\n let input_calldata: [Field; 3] = calldata_copy(0, 3);\n let input_calldata_index = 0;\n let(inputs, input_calldata_index) = PublicContextInputs::from_calldata(input_calldata, input_calldata_index);\n let(a, input_calldata_index) = Field::from_calldata(input_calldata, input_calldata_index);\n let return_value = set_read_storage_single(inputs, a);\n let mut return_array: [Field; 1] = [0; 1];\n return_value.to_calldata( & mut return_array, 0);\n avm_return(return_array);\n } else if selector == (FunctionSelector { inner: 3043802001 }) {\n let input_calldata: [Field; 3] = calldata_copy(0, 3);\n let input_calldata_index = 0;\n let(inputs, input_calldata_index) = PublicContextInputs::from_calldata(input_calldata, input_calldata_index);\n let(a, input_calldata_index) = Field::from_calldata(input_calldata, input_calldata_index);\n let return_value = set_storage_single(inputs, a);\n let mut return_array: [Field; 1] = [0; 1];\n return_value.to_calldata( & mut return_array, 0);\n avm_return(return_array);\n } else if selector == (FunctionSelector { inner: 1695189557 }) {\n let input_calldata: [Field; 2] = calldata_copy(0, 2);\n let input_calldata_index = 0;\n let(inputs, input_calldata_index) = PublicContextInputs::from_calldata(input_calldata, input_calldata_index);\n let return_value = read_storage_single(inputs);\n let mut return_array: [Field; 1] = [0; 1];\n return_value.to_calldata( & mut return_array, 0);\n avm_return(return_array);\n } else {\n panic(f\"Unknown selector\")\n }\n }\n}\n```\n\n## Additional Context\n\n## Documentation\n\nCheck one:\n- [x] No documentation needed.\n- [ ] Documentation included in this PR.\n- [ ] **[For Experimental Features]** Documentation to be submitted in a\nseparate PR.\n\n# PR Checklist\n\n- [x] I have tested the changes locally.\n- [x] I have formatted the changes with [Prettier](https://prettier.io/)\nand/or `cargo fmt` on default settings.","shortMessageHtmlLink":"feat: pretty print Quoted token stream (#6111)"}},{"before":null,"after":"1847740ac0c9ec4a24997f5d1a7e8184ad9934d2","ref":"refs/heads/mv/array-set-opt-brillig-return","pushedAt":"2024-09-20T18:50:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"vezenovm","name":"Maxim Vezenov","path":"/vezenovm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/43554004?s=80&v=4"},"commit":{"message":"allow array set opt in return block o brillig funcitons","shortMessageHtmlLink":"allow array set opt in return block o brillig funcitons"}},{"before":"90be911df3597652fb7a19d3191bd64abdf71c1f","after":"28588ebb8b2ba05274343cf82a3261fd949b253a","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T18:48:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore(docs): cut new docs version for tag v0.35.0","shortMessageHtmlLink":"chore(docs): cut new docs version for tag v0.35.0"}},{"before":"09fd2496993873061a4ddfdf9970da2256dd540b","after":"90be911df3597652fb7a19d3191bd64abdf71c1f","ref":"refs/heads/release-please--branches--master","pushedAt":"2024-09-20T18:38:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"noirwhal","name":null,"path":"/noirwhal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/163862677?s=80&v=4"},"commit":{"message":"chore: Update root workspace acvm versions and lockfile","shortMessageHtmlLink":"chore: Update root workspace acvm versions and lockfile"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMVQxNDoyMTo1Ni4wMDAwMDBazwAAAAS8vXHI","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMVQxNDoyMTo1Ni4wMDAwMDBazwAAAAS8vXHI","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0yMFQxODozODo1Ny4wMDAwMDBazwAAAAS8RV6s"}},"title":"Activity · noir-lang/noir"}