annotate graal/com.oracle.truffle.ruby.test/specs/tags/language/block_tags.txt @ 14031:390c4b742890

made com.oracle.graal.asm.Buffer non-public and a private field in AbstractAssembler
author twisti
date Thu, 27 Feb 2014 11:33:17 -0800
parents 0fbee3eb71f0
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:A block allows to define a block variable with the same name as the enclosing block
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
2 fails:A block taking |a| arguments assigns nil to the argument when no values are yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
3 fails:A block taking |a| arguments does not call #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
4 fails:A block taking |a| arguments assigns the first value yielded to the argument
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
5 fails:A block taking |a, b| arguments assgins nil to the arguments when no values are yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
6 fails:A block taking |a, b| arguments assigns one value yielded to the first argument
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
7 fails:A block taking |a, b| arguments destructures a splatted Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
8 fails:A block taking |a, b| arguments calls #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
9 fails:A block taking |a, b| arguments does not call #to_ary if the single yielded object is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
10 fails:A block taking |a, b| arguments does not call #to_ary if the object does not respond to #to_ary
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
11 fails:A block taking |a, b| arguments raises an TypeError if #to_ary does not return an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
12 fails:A block taking |a, *b| arguments assigns 'nil' and '[]' to the arguments when no values are yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
13 fails:A block taking |a, *b| arguments assigns all yielded values after the first to the rest argument
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
14 fails:A block taking |a, *b| arguments assigns 'nil' and '[]' to the arguments when a single, empty Array is yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
15 fails:A block taking |a, *b| arguments assigns the element of a single element Array to the first argument
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
16 fails:A block taking |a, *b| arguments destructures a splatted Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
17 fails:A block taking |a, *b| arguments destructures a single Array value assigning the remaining values to the rest argument
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
18 fails:A block taking |a, *b| arguments calls #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
19 fails:A block taking |a, *b| arguments does not call #to_ary if the single yielded object is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
20 fails:A block taking |a, *b| arguments raises an TypeError if #to_ary does not return an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
21 fails:A block taking |*| arguments does not call #to_ary if the single yielded object is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
22 fails:A block taking |*| arguments does not call #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
23 fails:A block taking |*a| arguments assigns all the values passed to the argument as an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
24 fails:A block taking |*a| arguments assigns '[[]]' to the argument when passed an empty Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
25 fails:A block taking |*a| arguments assigns a single Array value passed to the argument by wrapping it in an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
26 fails:A block taking |*a| arguments does not call #to_ary if the single yielded object is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
27 fails:A block taking |*a| arguments does not call #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
28 fails:A block taking |a, | arguments assigns nil to the argument when no values are yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
29 fails:A block taking |a, | arguments assigns the argument the first value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
30 fails:A block taking |a, | arguments assigns the argument the first of several values yielded when it is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
31 fails:A block taking |a, | arguments assigns nil to the argument when passed an empty Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
32 fails:A block taking |a, | arguments assigns the argument the first element of the Array when passed a single Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
33 fails:A block taking |a, | arguments calls #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
34 fails:A block taking |a, | arguments does not call #to_ary if the single yielded object is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
35 fails:A block taking |a, | arguments raises an TypeError if #to_ary does not return an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
36 fails:A block taking |(a, b)| arguments assigns nil to the arguments when yielded no values
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
37 fails:A block taking |(a, b)| arguments calls #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
38 fails:A block taking |(a, b)| arguments does not call #to_ary if the single yielded object is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
39 fails:A block taking |(a, b)| arguments does not call #to_ary if the object does not respond to #to_ary
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
40 fails:A block taking |(a, b)| arguments raises an TypeError if #to_ary does not return an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
41 fails:A block taking |(a, b), c| arguments assigns nil to the arguments when yielded no values
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
42 fails:A block taking |(a, b), c| arguments destructures a single one-level Array value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
43 fails:A block taking |(a, b), c| arguments destructures a single multi-level Array value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
44 fails:A block taking |(a, b), c| arguments calls #to_ary to convert a single yielded object to an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
45 fails:A block taking |(a, b), c| arguments does not call #to_ary if the single yielded object is an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
46 fails:A block taking |(a, b), c| arguments does not call #to_ary if the object does not respond to #to_ary
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
47 fails:A block taking |(a, b), c| arguments raises an TypeError if #to_ary does not return an Array
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
48 fails:A block taking nested |a, (b, (c, d))| destructures a single multi-level Array value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
49 fails:A block taking nested |a, (b, (c, d))| destructures a single multi-level Array value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
50 fails:A block taking nested |a, ((b, c), d)| destructures a single multi-level Array value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
51 fails:A block taking nested |a, ((b, c), d)| destructures a single multi-level Array value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
52 fails:A block arguments with _ extracts arguments with _
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
53 fails:Block-local variables override shadowed variables from the outer scope
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
54 fails:Post-args appear after a splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
55 fails:Post-args are required
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
56 fails:Post-args with required args gathers remaining args in the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
57 fails:Post-args with required args has an empty splat when there are no remaining args
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
58 fails:Post-args with optional args gathers remaining args in the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
59 fails:Post-args with optional args overrides the optional arg before gathering in the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
60 fails:Post-args with optional args uses the required arg before the optional and the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
61 fails:Post-args with optional args overrides the optional args from left to right before gathering the splat
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
62 fails:A block taking |(a, b)| arguments destructures a single Array value yielded
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
63 fails:A block taking |(a, b)| arguments destructures a single Array value yielded when shadowing an outer variable
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
64 fails:A block taking nested |a, (b, (c, d))| assigns nil to the arguments when yielded no values
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
65 fails:A block taking nested |a, (b, (c, d))| destructures separate yielded values
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
66 fails:A block taking nested |a, ((b, c), d)| assigns nil to the arguments when yielded no values
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
67 fails:A block taking nested |a, ((b, c), d)| destructures separate yielded values