Open rebolbot opened 11 years ago
Submitted by: BrianH
Noticed that the path types didn't work with the constructor ("serialized") syntax when going over the tests. We need to change those tests so they apply to R3. R3 needs those constructors.
As for MOLD/all, having it generate constructor syntax when the path wouldn't parse is a good idea, if that can be determinable without too much overhead. If the overhead is too great, then have MOLD/all do the constructor syntax every time.
Cases where constructor syntax would be needed:
- Paths of less than 2 elements
- Paths with offset positions
- Paths containing elements that would also need constructor syntax
- Paths containing elements that don't parse correctly in normal path syntax
If these tests can be done efficiently enough, we might want to add them to normal MOLD and generate constructor syntax there too. That needs some debate though.
Submitted by: BrianH
I noticed that you removed the constructor syntax tests for paths, replacing them with reflexivity tests. We need to restore the constructor syntax tests, since the existence and behavior of such syntax also needs to be tested for. Reflexivity is nice, but how we achieve such reflexivity is equally important, or perhaps more so.
Submitted by: Ladislav
MOLD/ALL and LOAD are incompatible for "short" paths, as the following tests reveal (in every test, TRUE is expected as the result)
This harms reflexivity of Rebol.
CC - Data [ Version: r3 master Type: Bug Platform: All Category: Datatype Reproduce: Always Fixed-in:none ]