Issue #8224 has been reported by charliesome (Charlie Somerville).

----------------------------------------
Bug #8224: defined?(()) and defined? () are inconsistent
https://bugs.ruby-lang.org/issues/8224

Author: charliesome (Charlie Somerville)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.1.0dev (2013-04-05 trunk 40128) [x86_64-darwin11.4.0]


=begin
(({defined?(())})) and (({defined? ()})) return different values.

I would there to be no difference between (({defined? <expr>})) and (({defined?(<expr>)})), except for precedence.

Example:

    defined?( () ) # => "expression"
    defined?  ()   # => "nil"
=end


-- 
http://bugs.ruby-lang.org/