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

[move-compiler] No need to ever return diags when parsing a file #18301

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

awelc
Copy link
Contributor

@awelc awelc commented Jun 18, 2024

Description

This fixes a minor compiler implementation issue reported in #18285 (the parse_file function no longer needs to return Result as diagnostics previously returned as part of it are instead added to the compilation context).

Test plan

All existing tests must pass

Copy link

vercel bot commented Jun 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Jun 18, 2024 7:29am
sui-kiosk ⬜️ Ignored (Inspect) Jun 18, 2024 7:29am
sui-typescript-docs ⬜️ Ignored (Inspect) Jun 18, 2024 7:29am

@awelc awelc self-assigned this Jun 18, 2024
@awelc awelc requested a review from a team June 18, 2024 07:33
Copy link
Contributor

@cgswords cgswords left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@tnowacki tnowacki left a comment

Choose a reason for hiding this comment

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

Thanks!

@awelc awelc merged commit 303563e into main Jun 19, 2024
49 checks passed
@awelc awelc deleted the aw/compiler-parse-file-fix branch June 19, 2024 08:16
tx-tomcat pushed a commit to tx-tomcat/sui-network that referenced this pull request Jul 29, 2024
…tenLabs#18301)

## Description 

This fixes a minor compiler implementation issue reported in
MystenLabs#18285 (the `parse_file`
function no longer needs to return `Result` as diagnostics previously
returned as part of it are instead added to the compilation context).

## Test plan 

All existing tests must pass
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.

3 participants