err:XS0003 and err:XS0022 - duplicates?

Section 3.5:
"When a p:pipe is used, the specified port must be in the readable ports
of the current environment. It is a static error (err:XS0003) if the
port specified by a p:pipe is not in the readable ports of the
environment."

Section 5.12:
"In all cases except the p:output of a compound step, it is a static
error (err:XS0022) if the port identified by a p:pipe is not in the
readable ports of the step that contains the p:pipe."

It seems to me that the two error codes can be merged in to one (using
the description of err:XS0022).

Regards,
Vojtech

Received on Monday, 27 October 2008 13:12:28 UTC