Erroneous Set datatype behavior #21315
Labels
Bug
This tag is applied to issues which reports bugs.
Modules: datatypes
Bugs/feature requests, that are related to the `datatypes` module.
Describe the bug
Two identical Set[string]{} x and y give different results when y - x after x - y
Reproduction Steps
Expected Behavior
assert diff1 == diff2 should be true
Current Behavior
Throws error in assert
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.5 2baa11b
Environment details (OS name and version, etc.)
V full version: V 0.4.5 2baa11b
OS: linux, Debian GNU/Linux 11 (bullseye) (WSL 2)
Processor: 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
getwd: /home/rabt/devel/prisma2/OLD/tmp
vexe: /home/rabt/devel/v/v
vexe mtime: 2024-04-19 20:34:45
vroot: OK, value: /home/rabt/devel/v
VMODULES: OK, value: /home/rabt/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.30.2
Git vroot status: 0.4.5-203-g2baa11b3
.git/config present: true
CC version: cc (Debian 10.2.1-6) 10.2.1 20210110
thirdparty/tcc status: thirdparty-linux-amd64 40e5cbb5
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: