annotate graal/com.oracle.truffle.ruby.test/specs/tags/language/send_tags.txt @ 13514:0fbee3eb71f0

Ruby: import project.
author Chris Seaton <chris.seaton@oracle.com>
date Mon, 06 Jan 2014 17:12:09 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13514
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
1 fails:Invoking a method with a block makes it available to yield
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
2 fails:Invoking a method with a block converts the block to a Proc
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
3 fails:Invoking a method with an object as a block uses 'to_proc' for coercion
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
4 fails:Invoking a method raises a SyntaxError with both a literal block and an object as block
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
5 fails:Invoking a method with splat operator makes the object the direct arguments
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
6 fails:Invoking a method without parentheses works
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
7 fails:Invoking a method with a space separating method name and parenthesis treats expression in parenthesis as first argument
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
8 fails:Invoking a method passes literal hashes without curly braces as the last parameter
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
9 fails:Invoking a method passes a literal hash without curly braces or parens
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
10 fails:Invoking a method allows to literal hashes without curly braces as the only parameter
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
11 fails:Invoking a method with zero arguments requires no arguments passed
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
12 fails:Invoking a method with zero arguments raises ArgumentError if the method has a positive arity
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
13 fails:Invoking a method with only manditory arguments requires exactly the same number of passed values
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
14 fails:Invoking a method with only manditory arguments raises ArgumentError if the methods arity doesn't match
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
15 fails:Invoking a method with optional arguments uses the optional argument if none is is passed
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
16 fails:Invoking a method with optional arguments uses the passed argument if available
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
17 fails:Invoking a method with optional arguments raises ArgumentError if extra arguments are passed
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
18 fails:Invoking a method with manditory and optional arguments uses the passed values in left to right order
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
19 fails:Invoking a method with manditory and optional arguments raises an ArgumentError if there are no values for the manditory args
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
20 fails:Invoking a method with manditory and optional arguments raises an ArgumentError if too many values are passed
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
21 fails:Invoking a method with a rest argument is an empty array if there are no additional arguments
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
22 fails:Invoking a method with a rest argument gathers unused arguments
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
23 fails:Invoking a method when the method is not available invokes method_missing
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
24 fails:Invoking a private getter method does not permit self as a receiver
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
25 fails:Invoking a method with .() invokes #call
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
26 fails:Invoking a method allows a vestigial trailing ',' in the arguments
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
27 fails:Invoking a method with splat operator attempts to coerce it to an Array if the object respond_to?(:to_a)
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
28 fails:Invoking a method with splat operator * and non-Array value uses value unchanged if it does not respond_to?(:to_ary)
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
29 fails:Invoking a method accepts additional arguments after splat expansion
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
30 fails:Invoking a method does not expand final array arguments after a splat expansion
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
31 fails:Invoking a method accepts final explicit literal Hash arguments after the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
32 fails:Invoking a method accepts final implicit literal Hash arguments after the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
33 fails:Invoking a method accepts final Hash arguments after the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
34 fails:Invoking a method accepts mandatory and explicit literal Hash arguments after the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
35 fails:Invoking a method accepts mandatory and implicit literal Hash arguments after the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
36 fails:Invoking a method accepts mandatory and Hash arguments after the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
37 fails:Invoking a method converts a final splatted explicit Hash to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
38 fails:Invoking a method calls #to_a to convert a final splatted Hash object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
39 fails:Invoking a method accepts multiple splat expansions in the same argument list
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
40 fails:Invoking a method expands an array to arguments grouped in parentheses
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
41 fails:Invoking a method expands an array to arguments grouped in parentheses and ignores any rest arguments in the array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
42 fails:Invoking a method expands an array to arguments grouped in parentheses and sets not specified arguments to nil
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
43 fails:Invoking a method expands an array to arguments grouped in parentheses which in turn takes rest arguments
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
44 fails:Invoking a method with required args after the rest arguments binds the required arguments first
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
45 fails:Invoking a method with manditory arguments after optional arguments binds the required arguments first
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
46 fails:Invoking a method new-style hash arguments as the only parameter passes without curly braces
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
47 fails:Invoking a method new-style hash arguments as the only parameter passes without curly braces or parens
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
48 fails:Invoking a method new-style hash arguments as the only parameter handles a hanging comma without curly braces
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
49 fails:Invoking a method new-style hash arguments as the last parameter passes without curly braces
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
50 fails:Invoking a method new-style hash arguments as the last parameter passes without curly braces or parens
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
51 fails:Invoking a method new-style hash arguments as the last parameter handles a hanging comma without curly braces
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
52 fails:Invoking a method mixed new- and old-style hash arguments as the only parameter passes without curly braces
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
53 fails:Invoking a method mixed new- and old-style hash arguments as the only parameter passes without curly braces or parens
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
54 fails:Invoking a method mixed new- and old-style hash arguments as the only parameter handles a hanging comma without curly braces
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
55 fails:Invoking a method mixed new- and old-style hash arguments as the last parameter passes without curly braces
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
56 fails:Invoking a method mixed new- and old-style hash arguments as the last parameter passes without curly braces or parens
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
57 fails:Invoking a method mixed new- and old-style hash arguments as the last parameter handles a hanging comma without curly braces