This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 137688 - Matching brackets <& %> must not count => hash assignments
Summary: Matching brackets <& %> must not count => hash assignments
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: RHTML (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
: 138375 163310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-19 10:54 UTC by hans_artmann
Modified: 2009-09-16 01:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hans_artmann 2008-06-19 10:54:31 UTC
Matching brackets < > delivers wrong results when hash assignments like => are present in the ruby code enclosed in <% 
%>.
Comment 1 kiyo_h76 2009-05-13 07:59:07 UTC
hi all,

i tried to edit *.html.erb on 6.7 and looked this bugs.
like this:

    <%= link_to "test",
      :action => "show",
      :id => post %>

do you decide when this Bug fixes it?
because "<% %>" is the reserved word, could you consider "<% %>" as brackets?
or could you consider "=>" NOT to be brackets?

thanks
Comment 2 Erno Mononen 2009-05-19 15:13:41 UTC
This will have to wait for the next release, unfortunately.
Comment 3 Erno Mononen 2009-05-19 15:17:51 UTC
*** Issue 138375 has been marked as a duplicate of this issue. ***
Comment 4 Erno Mononen 2009-09-09 15:16:58 UTC
*** Issue 163310 has been marked as a duplicate of this issue. ***
Comment 5 Erno Mononen 2009-09-11 11:22:15 UTC
Working on this now.
Comment 6 Erno Mononen 2009-09-14 13:54:32 UTC
Fixed in 5b330c867193.
Comment 7 Quality Engineering 2009-09-16 01:06:51 UTC
Integrated into 'main-golden', will be available in build *200909151512* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5b330c867193
User: Erno Mononen <emononen@netbeans.org>
Log: #137688: Matching brackets <& %> must not count => hash assignments