Skip to content

Add messages to samples in /samples/language#1509

Merged
tcNickolas merged 9 commits into
microsoft:mainfrom
goshua13:joshuaaragon/sampleMessages
May 21, 2024
Merged

Add messages to samples in /samples/language#1509
tcNickolas merged 9 commits into
microsoft:mainfrom
goshua13:joshuaaragon/sampleMessages

Conversation

@goshua13
Copy link
Copy Markdown
Contributor

@goshua13 goshua13 commented May 11, 2024

Part of #1470

Comment thread samples/language/ConditionalBranching.qs
@tcNickolas
Copy link
Copy Markdown
Contributor

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.

Comment thread samples/language/CopyAndUpdateOperator.qs Outdated
Comment thread samples/language/DataTypes.qs Outdated
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
Copy Markdown
Contributor

@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!

Comment thread samples/language/Comments.qs
Comment thread samples/language/ConditionalBranching.qs
Copy link
Copy Markdown
Contributor

@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!

Comment thread samples/language/PartialApplication.qs Outdated
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
@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.

3 participants