Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #24392] [PATCH] P6C xor really does return a value

1 view
Skip to first unread message

Allison Randal

unread,
Nov 2, 2003, 9:03:03 PM11/2/03
to bugs-bi...@rt.perl.org
# New Ticket Created by Allison Randal
# Please include the string: [perl #24392]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24392 >


This patch changes the test instead of the code. The code is actually
correct. (We decided earlier this year that xor should be consistent
with the other binary logical operators and return the value of the
operand when it evalates as true.)

The symbol '~~' is out-of-date, it should be '^^' now, but that's better
fixed in one sweeping operator update patch.

This is the last failing test except for the regex tests. I'm leaving
that section assuming Steve's changes will make it obsolete.

Allison


-- attachment 1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/66980/49982/ee2905/p6c_xor_returns_value.patch

p6c_xor_returns_value.patch

Sean O'Rourke

unread,
Nov 3, 2003, 10:05:52 AM11/3/03
to perl6-i...@perl.org
applied thanks.

/s

0 new messages