From: Eric Hodel Date: 2011-08-23T10:09:56+09:00 Subject: [ruby-core:39050] [Ruby 1.9 - Bug #5214][Open] "not (true)" should not warn "(...) interpreted as grouped expression" Issue #5214 has been reported by Eric Hodel. ---------------------------------------- Bug #5214: "not (true)" should not warn "(...) interpreted as grouped expression" http://redmine.ruby-lang.org/issues/5214 Author: Eric Hodel Status: Open Priority: Normal Assignee: Category: core Target version: ruby -v: ruby 1.9.3dev (2011-08-21 revision 33020) [x86_64-darwin11.1.0] If you have a space between "not" and "(" ruby will warn. Since it is normal to use "not" with a grouped expression ruby should not warn The workaround is to remove the space or change to "!" instead of "not" -- http://redmine.ruby-lang.org