Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-707

Integer division operator (backslash \) removed - conflicts with unicode escape sequence

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-beta-6, 1.0-beta-7, 1.0-beta-8, 1.0-beta-9
    • 1.0-JSR-2
    • lexer, parser, parser-antlr2
    • None

    Description

      The integer division operator, backslash (), has been removed for Groovy 1.0 primarily due to a conflict with unicode escape sequences. For example, "a = b\u" is ambiguous. See http://docs.codehaus.org/display/GroovyJSR/Integer+division+operator

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            bl7385 Brian Larson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: