Bug #2131: f(not x) => syntax error
http://redmine.ruby-lang.org/issues/show/2131

Author: James M. Lawrence
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.9.2dev (2009-09-22 trunk 25031) [i386-darwin9.6.0]

% patch -p0 < test_parse.patch 
patching file test/ruby/test_parse.rb

% ./ruby -v -I./lib test/ruby/test_parse.rb 
ruby 1.9.2dev (2009-09-22 trunk 25031) [i386-darwin9.6.0]
Loaded suite test/ruby/test_parse
Started
.....................................F.............
Finished in 0.029999 seconds.

  1) Failure:
test_not_arg(TestParse) [test/ruby/test_parse.rb:833]:
Exception raised:
<#<SyntaxError: (eval):1: syntax error, unexpected tIDENTIFIER, expecting '('
f(not x)
       ^>>.

51 tests, 198 assertions, 1 failures, 0 errors, 0 skips


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