Skip to content

chore: remove duplicated code from LSP#5116

Merged
TomAFrench merged 2 commits intomasterfrom
tf/deduplicate-some-lsp-code
May 28, 2024
Merged

chore: remove duplicated code from LSP#5116
TomAFrench merged 2 commits intomasterfrom
tf/deduplicate-some-lsp-code

Conversation

@TomAFrench
Copy link
Member

Description

Problem*

Resolves

Summary*

We've got some copy pasted code here so I've added a helper function for converting a "position" to a "location".

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] 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.

Co-authored-by: jfecher <jake@aztecprotocol.com>
@TomAFrench TomAFrench enabled auto-merge May 28, 2024 22:21
@TomAFrench TomAFrench added this pull request to the merge queue May 28, 2024
Merged via the queue into master with commit f03f8ae May 28, 2024
@TomAFrench TomAFrench deleted the tf/deduplicate-some-lsp-code branch May 28, 2024 22:30
AztecBot pushed a commit to AztecProtocol/aztec-packages that referenced this pull request May 29, 2024
fix(experimental elaborator): Avoid calling `add_generics` twice on trait methods (noir-lang/noir#5108)
fix(experimental elaborator): Fix duplicate `resolve_type` on self type and don't leak a trait impl's generics (noir-lang/noir#5102)
feat: replace stdlib poseidon implementation with optimized version (noir-lang/noir#5122)
fix(experimental elaborator): Only call `add_generics` once (noir-lang/noir#5091)
fix(experimental elaborator): Fix panic in the elaborator (noir-lang/noir#5082)
chore: move `is_native_field` up into `noirc_frontend` (noir-lang/noir#5119)
TomAFrench added a commit to AztecProtocol/aztec-packages that referenced this pull request May 29, 2024
Automated pull of development from the
[noir](https://github.com/noir-lang/noir) programming language, a
dependency of Aztec.
BEGIN_COMMIT_OVERRIDE
chore: remove duplicated code from LSP
(noir-lang/noir#5116)
fix(experimental elaborator): Avoid calling `add_generics` twice on
trait methods (noir-lang/noir#5108)
fix(experimental elaborator): Fix duplicate `resolve_type` on self type
and don't leak a trait impl's generics
(noir-lang/noir#5102)
feat: replace stdlib poseidon implementation with optimized version
(noir-lang/noir#5122)
fix(experimental elaborator): Only call `add_generics` once
(noir-lang/noir#5091)
fix(experimental elaborator): Fix panic in the elaborator
(noir-lang/noir#5082)
chore: move `is_native_field` up into `noirc_frontend`
(noir-lang/noir#5119)
END_COMMIT_OVERRIDE

Co-authored-by: Tom French <tom@tomfren.ch>
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.

2 participants