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

Clarify handling of strings in print statement #5364

Open
robin-aws opened this issue Apr 25, 2024 · 0 comments
Open

Clarify handling of strings in print statement #5364

robin-aws opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: documentation Dafny's reference manual, tutorial, and other materials priority: not yet Will reconsider working on this when we're looking for work

Comments

@robin-aws
Copy link
Member

What change in documentation do you suggest?

https://github.com/dafny-lang/dafny/blob/master/docs/Compilation/StringsAndChars.md#printing-strings-and-characters contains the relevant content, but since it affects user-observable behavior some degree of it should be added to https://dafny.org/dafny/DafnyRef/DafnyRef#sec-print-statement. In particular --unicode-char true mode intentionally makes printing nested string values not work as expected in all cases, in the name of consistent behavior across all backends.

@robin-aws robin-aws added the part: documentation Dafny's reference manual, tutorial, and other materials label Apr 25, 2024
@robin-aws robin-aws self-assigned this Apr 25, 2024
@stefan-aws stefan-aws added priority: not yet Will reconsider working on this when we're looking for work kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny labels Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: documentation Dafny's reference manual, tutorial, and other materials priority: not yet Will reconsider working on this when we're looking for work
Projects
None yet
Development

No branches or pull requests

2 participants