Call Pattern Within As Pattern#

Severity: (Warning) A potential problem, but not bad enough to cause output to be disregarded -- it may still be usable

Explanation#

When an as pattern contains a call pattern, counterintuitive behavior may result. The as pattern will capture the value fragment before matching, so if a call pattern changes the value fragment, that change will not be captured by the as pattern.

Advice about this Orc compiler message is below. Since people use Orc in various ways, we've given you the power to enhance this write-up with your perspective. Edit

Possible Causes#

Advice#

Related Reference Topics#


Related User Guide Sections#


See other Orc messages

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-3) was last changed on 26-Mar-2013 09:41 by John Thywissen