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(frontend): Avoid panic if dependency cannot be resolved #1719

Merged
merged 1 commit into from
Jun 16, 2023

Conversation

phated
Copy link
Contributor

@phated phated commented Jun 15, 2023

Description

Problem*

Resolves #1718

Summary*

This resolves a panic in dependency resolution. When I make this change, I can get error diagnostics for unresolved deps (and the rest of the file) because it no longer crashes the LSP.

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

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

Copy link
Contributor

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks okay to me -- Mac runner failed immediately, so I cancelled the workflow to re-run

@kevaundray kevaundray added this pull request to the merge queue Jun 16, 2023
Merged via the queue into master with commit f35b346 Jun 16, 2023
@kevaundray kevaundray deleted the phated/resolve-import-panic branch June 16, 2023 00:48
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.

Driver panics on unresolved dependency
2 participants