Commit f2eee25
Vincent Bordenave
Fix OrderableString resolving
Updating a value on an OrderableString using the index accessor, like if it was a simple IList, can lead to duplicated value into the underlying _list member.
And if the resolved string doesn't have the same order value than the already existing one, it will lead to annoying error at generation time.
We fix it by using the SetOrRemoveAtIndex, which is specifically done for this kind of case1 parent a4af945 commit f2eee25
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
815 | 833 | | |
816 | 834 | | |
817 | 835 | | |
| |||
0 commit comments