TableVal: Propagate &ordered through copy()

Copying an &ordered table or set would result in a copy that is not ordered.
This seems rather surprising behavior, so propagate the &ordered attribute.

Closes #2793
This commit is contained in:
Arne Welzel 2023-02-17 12:54:39 +01:00
parent 3de785114b
commit 754831d7b0
4 changed files with 71 additions and 1 deletions

View file

@ -0,0 +1,25 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
sset
2
3
1
4
5
copy(sset)
3
2
1
4
5
ordered_sset
1
2
3
4
5
copy(ordered_sset)
1
2
3
4
5