Open lemmy opened 2 years ago
I ran out of time! Any takers to update/refactor the now-removed tests in https://github.com/tlaplus/vscode-tlaplus/commit/1d9161c7cbb99a40682f14446aabf71c237cafbf#diff-5ad2ff4a54440bf2b50b351c7d6092744831ab604bc4f3cbbda8757029a50b1b?
The extension has only limited support for TLA+ functions, i.e., the domain (ValueKey) of its StructureValue can only be string or numeric. However, the domain may be any value in TLA+.
It's impossible to see which elements have been added with bags:
@afonsonf Would it be possible to highlight the added elements of a set in addition to adding the "A" label?
This seems fixed in the latest version: Or is anything else missing?
I derived the Acceptance Criteria to be: It should be clear what item was added to the Bag. From the screenshot above, the item has an A near it, so I think the AC checks out.
Here's a screenshot of the same trace in both IDEs. If I recall correctly, Toolbox does a better job of highlighting added, removed, or modified values within deeply nested structures. However, I don't have time to reproduce that scenario right now. There may be existing Toolbox tests that cover this functionality.
Previous fix: https://github.com/tlaplus/vscode-tlaplus/issues/61