You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fails:A nested method definition creates a method in the surrounding context when evaluated in a def expr.method
2
2
fails:A method definition always resets the visibility to public for nested definitions at the toplevel
3
+
fails:An instance method raises an error with too few arguments
4
+
fails:An instance method raises an error with too many arguments
5
+
fails:An instance method definition with a splat requires the presence of any arguments that precede the *
6
+
fails:An instance method with a default argument evaluates the default when required arguments precede it
7
+
fails:An instance method with a default argument prefers to assign to a default argument before a splat argument
8
+
fails:a method definition that sets more than one default parameter all to the same value only allows overriding the default value of the first such parameter in each set
9
+
fails:a method definition that sets more than one default parameter all to the same value treats the argument after the multi-parameter normally
0 commit comments