SYSTEM.VAL(INTEGER, NIL) won't compile
Posted: Mon Sep 14, 2020 9:33 pm
SYSTEM.VAL(INTEGER, NIL(*X*)) does not compile and produces error 111 at (*X*).
Not that it is of any practical value, but the reported error seems to be violating the requirements of the Language Report.
The fix would be to change the following line in DevCPB.StPar1, in the CASE section for valfn:
ELSIF (f IN {Undef, NoTyp(*, NilTyp*)}) OR (f IN {String8, String16}) & ~(HrM.java IN HrM.options) THEN err(111)
Not that it is of any practical value, but the reported error seems to be violating the requirements of the Language Report.
The fix would be to change the following line in DevCPB.StPar1, in the CASE section for valfn:
ELSIF (f IN {Undef, NoTyp(*, NilTyp*)}) OR (f IN {String8, String16}) & ~(HrM.java IN HrM.options) THEN err(111)