JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-6504

Block parameter syntax issue where the closing | comes at the beginning of the line

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.7.0.pre1
    • Fix Version/s: JRuby 1.7.0.pre1
    • Component/s: Ruby 1.9.3
    • Labels:
      None
    • Number of attachments :
      0

      Description

      http://bugs.ruby-lang.org/issues/6095

      This should not fail with a syntax error:

      1.times{
      |
        x,
        y
      |
      }
      

        Activity

        Hide
        Hiro Asari added a comment -

        Fixed in 3e6d201.

        Show
        Hiro Asari added a comment - Fixed in 3e6d201.

          People

          • Assignee:
            Hiro Asari
            Reporter:
            Hiro Asari
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: