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: remove duplicated code from LSP #5116

Merged
merged 2 commits into from
May 28, 2024
Merged

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.

tooling/lsp/src/requests/goto_declaration.rs Outdated Show resolved Hide resolved
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
44 checks passed
@TomAFrench TomAFrench deleted the tf/deduplicate-some-lsp-code branch May 28, 2024 22:30
AztecBot added 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