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

Allow "in" to be a boolean operator

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-RC-1
    • parser-antlr2
    • None

    Description

      Allow "in" to become a boolean operator

      if (5 in 0..10)

      { ... }

      6 in 1..12 ? "yes" : "no"

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: