History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RUBY-611
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Oleg Shpynov
Reporter: Roman Chernyatchik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Ruby

Plugin doesn't highlight syntax error

Created: 08 Jun 07 21:07   Updated: 21 Aug 08 19:21
Component/s: Highlighting
Fix Version/s: 2.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Plugin doesn't highlight syntax error
assert_equal("eamcity", "teamcity".substring 1)  #TODO Bug -  this is syntax error!
-e:1:in `load': C:/home/runner/tests/ext/string_ext_test.rb:24: syntax error, unexpected ')', expecting kDO_BLOCK (SyntaxError)
    assert_equal("foo", "oo".substring 1) 
                                         ^ from -e:1


 All   Comments   Work Log   Change History      Sort Order:
Michael Klishin - 07 Sep 07 21:40
By the way the easiest way to check syntax is to run ruby -c option like this:

ruby -c config/deploy.rb

{/quote}