From: Koichi Sasada <redmine@...>
Date: 2012-03-11T15:13:45+09:00
Subject: [ruby-core:43169] [ruby-trunk - Bug #5214] "not (true)" should not warn "(...) interpreted as grouped expression"


Issue #5214 has been updated by Koichi Sasada.

Assignee set to Nobuyoshi Nakada


----------------------------------------
Bug #5214: "not (true)" should not warn "(...) interpreted as grouped expression" 
https://bugs.ruby-lang.org/issues/5214

Author: Eric Hodel
Status: Open
Priority: Normal
Assignee: Nobuyoshi Nakada
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://bugs.ruby-lang.org/