diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-29 08:54:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-29 08:54:18 +0000 |
commit | b6b1038c6bc487b0b8f7d1675d02a22a4ee8f4b8 (patch) | |
tree | 0bab9154493d606984eed3b553367a68cd641ce0 /ChangeLog | |
parent | 1403dfbf317ad796d92518bf5a7cbc40f2912dff (diff) |
eval.c: warn block for using
* eval.c (ignored_block): warn if a block is given to `using`,
which is probably for `Module.new`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Dec 29 17:54:16 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (ignored_block): warn if a block is given to `using`, + which is probably for `Module.new`. + Tue Dec 29 12:48:34 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/ostruct.rb (OpenStruct): make respond_to? working on |