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

nargo fmt: comment got removed #3123

Closed
ghost opened this issue Oct 12, 2023 · 1 comment · Fixed by #3129
Closed

nargo fmt: comment got removed #3123

ghost opened this issue Oct 12, 2023 · 1 comment · Fixed by #3129
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Oct 12, 2023

Aim

Pre:

fn main() {
    !/*test*/2;
}

Expected Behavior

comment remains

Bug

Post:

fn main() {
    !2;
}

To Reproduce

Installation Method

Compiled from source

Nargo Version

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

No

Support Needs

No response

@ghost ghost added the bug Something isn't working label Oct 12, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Oct 12, 2023
@kevaundray kevaundray assigned ghost Oct 12, 2023
@jfecher
Copy link
Contributor

jfecher commented Oct 12, 2023

Can you please provide more context for this issue? I don't think the comment got removed after just saving the file. What command did you run on the file? Can you update the title of this issue to be more specific?

I assume this is an issue with nargo fmt, so we should specify that

@ghost ghost changed the title Comment got removed nargo fmt: comment got removed Oct 12, 2023
@ghost ghost mentioned this issue Oct 12, 2023
2 tasks
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant