]> Kevux Git Server - fll/commit
Bugfix: Multiple single-valued Objects should used last instead of first Object.
authorKevin Day <kevin@kevux.org>
Wed, 15 Feb 2023 04:15:23 +0000 (22:15 -0600)
committerKevin Day <kevin@kevux.org>
Wed, 15 Feb 2023 04:31:24 +0000 (22:31 -0600)
commit0e6d63a286faf5afdd9e1abe80ebd610af00b133
treee365e9df3a3d2ada3cb6f5f6dc8530888848800e
parentef36e3107ebfd08f51bcb62fbb4dcaf7e953053f
Bugfix: Multiple single-valued Objects should used last instead of first Object.

Early on I was uncertain on what the proper behavior should be.

Over time I established that the last Object specified should be used.
This makes sense with most things.
Consider normal math:
  x = 1
  x = 2

Is x equal to 1 or 2?
I strongly believe the most common interpretation would be "2" because the assignment to "2" comes after the assignment to "1" when reading top-down.

Following this logic, the single-valued settings Objects must use the last occurrence rather than the first.

This is being considered a bug.
level_3/fake/c/private-make-load_fakefile.c
level_3/fake/documents/fakefile.txt