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

Add messages to samples in /samples/language #1509

Merged
merged 9 commits into from May 21, 2024

Conversation

goshua13
Copy link
Contributor

@goshua13 goshua13 commented May 11, 2024

Part of #1470

@tcNickolas
Copy link
Member

I think if what happens has no visible effect (like qubit allocation) or is trivial (integer initialization) we don't need a message for that. My main desire is to show results of operations that are not trivial, since we did have a bug in one of the comments indicating the value of an array obtained using slicing, but not to annotate every line.

goshua13 and others added 2 commits May 10, 2024 21:58
Co-authored-by: Manvi-Agrawal <40084144+Manvi-Agrawal@users.noreply.github.com>
Co-authored-by: Manvi-Agrawal <40084144+Manvi-Agrawal@users.noreply.github.com>
Copy link
Member

@tcNickolas tcNickolas left a comment

Choose a reason for hiding this comment

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

Looks good, just two small comments.

Thank you!

samples/language/Comments.qs Outdated Show resolved Hide resolved
samples/language/ConditionalBranching.qs Show resolved Hide resolved
Copy link
Member

@tcNickolas tcNickolas left a comment

Choose a reason for hiding this comment

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

Looks great, just one message that is not necessary.

Thank you!

samples/language/PartialApplication.qs Outdated Show resolved Hide resolved
goshua13 and others added 2 commits May 21, 2024 09:03
Co-authored-by: Mariia Mykhailova <michaylova@gmail.com>
@tcNickolas tcNickolas changed the title added Messages to some Add messages to samples in /samples/language May 21, 2024
@tcNickolas tcNickolas enabled auto-merge May 21, 2024 16:14
@tcNickolas tcNickolas added this pull request to the merge queue May 21, 2024
Merged via the queue into microsoft:main with commit 5df4684 May 21, 2024
16 checks passed
@goshua13 goshua13 deleted the joshuaaragon/sampleMessages branch May 21, 2024 20:55
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.

None yet

3 participants