map display vs map update #5351
Labels
kind: enhancement
Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny
part: language definition
Relating to the Dafny language definition itself
Failing code
Steps to reproduce the issue
Expected behavior
declarations w & x use chained map update syntax
declarations y and z use "sequence of maplet" syntax
given we have two syntaxen for doing essentially the same thing, both should work in each context.
(especially as dafny has multiple assignments in general)
Actual behavior
"sequence of maplet" syntax may only be used in "map displays" (aka map literals).
chained updates can be used anywhere
The text was updated successfully, but these errors were encountered: