comparison graal/com.oracle.truffle.ruby.test/specs/tags/language/def_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
comparison
equal deleted inserted replaced
13513:64a23ce736a0 13514:0fbee3eb71f0
1 fails:Defining an 'initialize' method sets the method's visibility to private
2 fails:Defining an 'initialize_copy' method sets the method's visibility to private
3 fails:An instance method with a default argument assigns an empty Array to an unused splat argument
4 fails:An instance method with a default argument prefers to assign to a default argument when there are no required arguments
5 fails:An instance method with a default argument does not evaluate the default when passed a value and a * argument
6 fails:A singleton method definition raises RuntimeError if frozen
7 fails:Redefining a singleton method does not inherit a previously set visibility
8 fails:Redefining a singleton method does not inherit a previously set visibility
9 fails:A method defined with extreme default arguments may use an fcall as a default
10 fails:A method defined with extreme default arguments may use preceding arguments as defaults
11 fails:A method defined with extreme default arguments may use a lambda as a default
12 fails:A singleton method defined with extreme default arguments may use an fcall as a default
13 fails:A singleton method defined with extreme default arguments may use preceding arguments as defaults
14 fails:A singleton method defined with extreme default arguments may use a lambda as a default
15 fails:A method definition inside a metaclass scope can create a class method
16 fails:A method definition inside a metaclass scope can create a singleton method
17 fails:A method definition inside a metaclass scope raises RuntimeError if frozen
18 fails:A nested method definition creates an instance method when evaluated in an instance method
19 fails:A nested method definition creates a class method when evaluated in a class method
20 fails:A nested method definition creates a singleton method when evaluated in the metaclass of an instance
21 fails:A method definition inside an instance_eval creates a singleton method
22 fails:A method definition inside an instance_eval creates a singleton method when evaluated inside a metaclass
23 fails:A method definition inside an instance_eval creates a class method when the receiver is a class
24 fails:A method definition in an eval creates an instance method
25 fails:A method definition in an eval creates a class method
26 fails:A method definition in an eval creates a singleton method
27 fails:a method definition that sets more than one default parameter all to the same value assigns them all the same object by default
28 fails:The def keyword within a closure looks outside the closure for the visibility