Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: Standard library support + DafnyStdLibs.Wrappers #4678
feat: Standard library support + DafnyStdLibs.Wrappers #4678
Changes from all commits
07c0eb4
a8e2ca0
4bdaa29
aac5c7e
6a7d06e
a20ddb6
e854330
0d4e4c4
74b4ea0
0af73be
c47f90f
bd2dae0
9fba8ff
3c3ccd1
bcdfe06
8e128cd
26b5a62
fdce3d6
30cdf42
bc1bd5e
1c0fd3a
aa9cc46
3971c53
3cf5a63
69212b7
d8df577
9b6a65b
3122b1e
02d91bf
9971ffe
0b4c6de
5a9a38d
501388e
c791652
26e62ff
dd29872
3968357
28a7e64
87b6e6a
3b2270b
08688f9
cb84222
99253d3
4af5778
cbe7380
4c767ee
2310e37
65f7461
7a76a41
9f19dbd
955e397
2b1ee67
3297934
ad5f6c4
128cea4
dd69cf8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awkward that you need both lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, same goes for the existing
stdin:
protocol that I'm imitating.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want this to work for
dafny server
, you will need to updateDafnyProject.GetRootSourceUris
so it returnsStandardLibrariesDooUri
.Alternatively, I can do the refactoring to reuse more of the server code for the CLI and then this'll come for free.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be very happy will letting your refactoring take care of this - I'm fine with the examples and tests in DafnyStandardLibraries not resolving in the IDE initially, since that doesn't block adding new libraries, but would love to fast-follow with fixing that. I suspect that refactoring will fix the awkwardness too since the DafnyFile will be added from the root URI automatically?