Skip to content

Adapt resolution.rs to resolve use statements and add module errors#339

Merged
KyrylR merged 2 commits into
BlockstreamResearch:dev/modulesfrom
LesterEvSe:feature/adapt-resolution
Jun 2, 2026
Merged

Adapt resolution.rs to resolve use statements and add module errors#339
KyrylR merged 2 commits into
BlockstreamResearch:dev/modulesfrom
LesterEvSe:feature/adapt-resolution

Conversation

@LesterEvSe
Copy link
Copy Markdown
Collaborator

  • Introduce errors for modules.
  • Update resolution.rs to correctly resolve use statement paths.

@LesterEvSe LesterEvSe requested a review from KyrylR May 29, 2026 16:10
@LesterEvSe LesterEvSe self-assigned this May 29, 2026
@LesterEvSe LesterEvSe requested a review from delta1 as a code owner May 29, 2026 16:10
@LesterEvSe LesterEvSe added the enhancement New feature or request label May 29, 2026
Comment thread src/resolution.rs Outdated
file_candidate.set_extension("simf");

if !file_candidate.is_file() {
return Err(file_candidate);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: add as many context as possible

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Add docstring and comments for this

@LesterEvSe LesterEvSe force-pushed the feature/adapt-resolution branch from b4e05c2 to 5fb820f Compare June 1, 2026 11:19
@LesterEvSe LesterEvSe requested a review from KyrylR June 1, 2026 12:06
Copy link
Copy Markdown
Contributor

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 5fb820f; successfully ran local tests

Copy link
Copy Markdown
Collaborator

@KyrylR KyrylR left a comment

Choose a reason for hiding this comment

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

ACK 5fb820f; successfully ran local tests

@KyrylR
Copy link
Copy Markdown
Collaborator

KyrylR commented Jun 2, 2026

Needs rebase

@LesterEvSe LesterEvSe force-pushed the feature/adapt-resolution branch from 5fb820f to aa5153f Compare June 2, 2026 08:41
Copy link
Copy Markdown
Collaborator

@KyrylR KyrylR left a comment

Choose a reason for hiding this comment

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

ACK aa5153f;

@KyrylR KyrylR merged commit aa5153f into BlockstreamResearch:dev/modules Jun 2, 2026
10 of 11 checks passed
@LesterEvSe LesterEvSe deleted the feature/adapt-resolution branch June 2, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants