JavaScript and Go backend: Incorrect map cardinality #5552
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
lang: golang
Dafny's transpiler to Go and its runtime
lang: js
Dafny's JavaScript transpiler and its runtime
part: code-generation
Support for transpiling Dafny to another language. If relevant, add a `lang:` tag
priority: not yet
Will reconsider working on this when we're looking for work
Dafny version
4.6.0
Code to produce this issue
Command to run and resulting output
What happened?
The output for the above should be 4 due to the duplication of 2 'a's of the map keyset; this example has been tested against the nightly version.
What type of operating system are you experiencing the problem on?
Linux
The text was updated successfully, but these errors were encountered: