Permalink
Browse files

S03-operators/range.t: Add note about use of @array as arguments to i…

…nfix:<..>

git-svn-id: http://svn.pugscode.org/pugs@21125 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 4c815b6 commit 748e055febb2ef19324e8e23c464d7ebe1f0c982 pmichaud committed Jun 30, 2008
Showing with 6 additions and 0 deletions.
  1. +6 −0 S03-operators/range.t
View
@@ -78,6 +78,12 @@ is [^0], [], "unary ^0 produces null range";
}
# Test that the operands are forced to scalar context
+## From pmichaud 2006-06-30: These tests may be incorrect.
+## C<@one> in ## item context returns an Array, not a number
+## -- use C< +@one > to get the number of elements. So, we
+## need to either declare that there's a version of infix:<..>
+## that coerces its arguments to numeric context, or we can
+## remove these tests from the suite.
#?rakudo skip 'MMD function __cmp not found for types (101, 95)'
{
my @one = (1,);

0 comments on commit 748e055

Please sign in to comment.