view graal/com.oracle.truffle.ruby.test/specs/tags/language/def_tags.txt @ 13705:ac5b0f31f7a2

Truffle API-change: FrameDescriptors are now stored in the RootNode in a final field instead of the CallTarget.
author Christian Humer <christian.humer@gmail.com>
date Fri, 17 Jan 2014 17:06:08 +0100
parents 0fbee3eb71f0
children
line wrap: on
line source

fails:Defining an 'initialize' method sets the method's visibility to private
fails:Defining an 'initialize_copy' method sets the method's visibility to private
fails:An instance method with a default argument assigns an empty Array to an unused splat argument
fails:An instance method with a default argument prefers to assign to a default argument when there are no required arguments
fails:An instance method with a default argument does not evaluate the default when passed a value and a * argument
fails:A singleton method definition raises RuntimeError if frozen
fails:Redefining a singleton method does not inherit a previously set visibility 
fails:Redefining a singleton method does not inherit a previously set visibility 
fails:A method defined with extreme default arguments may use an fcall as a default
fails:A method defined with extreme default arguments may use preceding arguments as defaults
fails:A method defined with extreme default arguments may use a lambda as a default
fails:A singleton method defined with extreme default arguments may use an fcall as a default
fails:A singleton method defined with extreme default arguments may use preceding arguments as defaults
fails:A singleton method defined with extreme default arguments may use a lambda as a default
fails:A method definition inside a metaclass scope can create a class method
fails:A method definition inside a metaclass scope can create a singleton method
fails:A method definition inside a metaclass scope raises RuntimeError if frozen
fails:A nested method definition creates an instance method when evaluated in an instance method
fails:A nested method definition creates a class method when evaluated in a class method
fails:A nested method definition creates a singleton method when evaluated in the metaclass of an instance
fails:A method definition inside an instance_eval creates a singleton method
fails:A method definition inside an instance_eval creates a singleton method when evaluated inside a metaclass
fails:A method definition inside an instance_eval creates a class method when the receiver is a class
fails:A method definition in an eval creates an instance method
fails:A method definition in an eval creates a class method
fails:A method definition in an eval creates a singleton method
fails:a method definition that sets more than one default parameter all to the same value assigns them all the same object by default
fails:The def keyword within a closure looks outside the closure for the visibility