diff --git a/ChangeLog b/ChangeLog index d0a2f08b65..dd17e1b256 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +Fri Oct 7 14:18:40 2016 SHIBATA Hiroshi + + * basictest/test.rb: Adjust spaces in class declarations + with inheritance. [fix GH-1227] Patch by @adrfer + * lib/irb/*: ditto. + * lib/prime.rb: ditto. + * lib/shell/builtin-command.rb: ditto. + * object.c: ditto. + * sample/*.rb: ditto. + * test/-ext-/method/test_arity.rb: ditto. + Thu Oct 6 17:29:44 2016 Nobuyoshi Nakada * load.c (rb_require_safe): SyntaxError created by the parser just diff --git a/basictest/test.rb b/basictest/test.rb index 8472a0d14a..25d52ca1ef 100755 --- a/basictest/test.rb +++ b/basictest/test.rb @@ -2242,11 +2242,11 @@ test_check "alias" class Alias0 def foo; "foo" end end -class Alias1other. Returns * nil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class Amod is a subclass of other. Returns * nil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class Anil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class AA".) + * "class A < B" implies "B > A".) * */ @@ -1638,7 +1638,7 @@ rb_mod_ge(VALUE mod, VALUE arg) * Returns true if mod is an ancestor of other. Returns * nil if there's no relationship between the two. * (Think of the relationship in terms of the class definition: - * "class AA".) + * "class A < B" implies "B > A".) * */ diff --git a/sample/delegate.rb b/sample/delegate.rb index 918dc08877..dc7ea2a0af 100644 --- a/sample/delegate.rb +++ b/sample/delegate.rb @@ -1,6 +1,6 @@ require 'delegate' -class ExtArray