archives

« Bugzilla Issues Index

#1084 — 11.8.1: clarifying the logic


In 11.8.1 "Runtime Semantics",
under "Runtime Semantics: The Abstract Relational Comparison Algorithm",
steps 5 and 6 are:

5. If it is not the case that both Type(px) is String and
Type(py) is String, then
..5..
6. Else both px and py are Strings,
..6..

It would be simpler and clearer if you swapped the two steps, so that you test the positive condition:

5. If Type(px) is String and Type(py) is String, then
..6..
6. Else
..5..


fixed in rev 13 editor's draft