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

Make all operators overridable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.x
    • groovy-runtime
    • None

    Description

      Right now several operators (e.g. ! && || =~ ==~) cannot be overridden. Making all operators overridable would improve language consistency and open up new possibilities for API/DSL designers.

      Clarification: By "making an operator overridable" I mean the standard Groovy way to provide an associated method that can be overridden, not some form of interception.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pniederw Peter Niederwieser
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: