Pt 166927306 names as strings #178
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "PT-166927306-names-as-strings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://www.pivotaltracker.com/story/show/166927306
Holdning this merge until the release of 3.2 of the compiler is done.
Created by: UlfNorell
The reason to not renumber these is that the numbers are also used in
lt
below.Created by: happi
If the FATE_LIST_VALUE match is replaced by IS_FATE_LIST then the number could be removed from lt.
Created by: happi
And the FATE_STRING.
Created by: happi
This is only tested in the quick check tests. Perhaps leave the renumbering and I can do it in a separate PR also adding tests. https://www.pivotaltracker.com/story/show/166975637
What about this for the ordinals?
Created by: UlfNorell
Review: Approved
Created by: happi
Better.
I noticed that bytes and strings now compare differently internally. Hashes and signatures had fixed sizes but bytes have a size. For strings we first compare the size and then the binary (in Erlang <<1, 1>> < <<2>> but in fate "AA" > "B"). Bytes should work the same way.
Created by: happi
Review: Approved
Created by: UlfNorell
Why do we do this though? The Erlang comparison is simpler.
Created by: happi
@ThomasAerts had some rationale.
Created by: UlfNorell
I'm sure it was it was a valid reason and not based on troll logic.
Created by: UlfNorell
Anyway, in type correct code you never compare byte arrays of different sizes, so comparing the sizes is extra redundant.
Merged by: gorillainduction at 2019-06-28 11:48:43 UTC