Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graal/com.oracle.truffle.ruby.test/specs/tags/language/send_tags.txt Mon Jan 06 17:12:09 2014 +0000 @@ -0,0 +1,57 @@ +fails:Invoking a method with a block makes it available to yield +fails:Invoking a method with a block converts the block to a Proc +fails:Invoking a method with an object as a block uses 'to_proc' for coercion +fails:Invoking a method raises a SyntaxError with both a literal block and an object as block +fails:Invoking a method with splat operator makes the object the direct arguments +fails:Invoking a method without parentheses works +fails:Invoking a method with a space separating method name and parenthesis treats expression in parenthesis as first argument +fails:Invoking a method passes literal hashes without curly braces as the last parameter +fails:Invoking a method passes a literal hash without curly braces or parens +fails:Invoking a method allows to literal hashes without curly braces as the only parameter +fails:Invoking a method with zero arguments requires no arguments passed +fails:Invoking a method with zero arguments raises ArgumentError if the method has a positive arity +fails:Invoking a method with only manditory arguments requires exactly the same number of passed values +fails:Invoking a method with only manditory arguments raises ArgumentError if the methods arity doesn't match +fails:Invoking a method with optional arguments uses the optional argument if none is is passed +fails:Invoking a method with optional arguments uses the passed argument if available +fails:Invoking a method with optional arguments raises ArgumentError if extra arguments are passed +fails:Invoking a method with manditory and optional arguments uses the passed values in left to right order +fails:Invoking a method with manditory and optional arguments raises an ArgumentError if there are no values for the manditory args +fails:Invoking a method with manditory and optional arguments raises an ArgumentError if too many values are passed +fails:Invoking a method with a rest argument is an empty array if there are no additional arguments +fails:Invoking a method with a rest argument gathers unused arguments +fails:Invoking a method when the method is not available invokes method_missing +fails:Invoking a private getter method does not permit self as a receiver +fails:Invoking a method with .() invokes #call +fails:Invoking a method allows a vestigial trailing ',' in the arguments +fails:Invoking a method with splat operator attempts to coerce it to an Array if the object respond_to?(:to_a) +fails:Invoking a method with splat operator * and non-Array value uses value unchanged if it does not respond_to?(:to_ary) +fails:Invoking a method accepts additional arguments after splat expansion +fails:Invoking a method does not expand final array arguments after a splat expansion +fails:Invoking a method accepts final explicit literal Hash arguments after the splat +fails:Invoking a method accepts final implicit literal Hash arguments after the splat +fails:Invoking a method accepts final Hash arguments after the splat +fails:Invoking a method accepts mandatory and explicit literal Hash arguments after the splat +fails:Invoking a method accepts mandatory and implicit literal Hash arguments after the splat +fails:Invoking a method accepts mandatory and Hash arguments after the splat +fails:Invoking a method converts a final splatted explicit Hash to an Array +fails:Invoking a method calls #to_a to convert a final splatted Hash object to an Array +fails:Invoking a method accepts multiple splat expansions in the same argument list +fails:Invoking a method expands an array to arguments grouped in parentheses +fails:Invoking a method expands an array to arguments grouped in parentheses and ignores any rest arguments in the array +fails:Invoking a method expands an array to arguments grouped in parentheses and sets not specified arguments to nil +fails:Invoking a method expands an array to arguments grouped in parentheses which in turn takes rest arguments +fails:Invoking a method with required args after the rest arguments binds the required arguments first +fails:Invoking a method with manditory arguments after optional arguments binds the required arguments first +fails:Invoking a method new-style hash arguments as the only parameter passes without curly braces +fails:Invoking a method new-style hash arguments as the only parameter passes without curly braces or parens +fails:Invoking a method new-style hash arguments as the only parameter handles a hanging comma without curly braces +fails:Invoking a method new-style hash arguments as the last parameter passes without curly braces +fails:Invoking a method new-style hash arguments as the last parameter passes without curly braces or parens +fails:Invoking a method new-style hash arguments as the last parameter handles a hanging comma without curly braces +fails:Invoking a method mixed new- and old-style hash arguments as the only parameter passes without curly braces +fails:Invoking a method mixed new- and old-style hash arguments as the only parameter passes without curly braces or parens +fails:Invoking a method mixed new- and old-style hash arguments as the only parameter handles a hanging comma without curly braces +fails:Invoking a method mixed new- and old-style hash arguments as the last parameter passes without curly braces +fails:Invoking a method mixed new- and old-style hash arguments as the last parameter passes without curly braces or parens +fails:Invoking a method mixed new- and old-style hash arguments as the last parameter handles a hanging comma without curly braces