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

Map unary negation operator to a method and be able to overload it via a Category

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 1.1-rc-1
    • None
    • None
    • Any

    Description

      It would be nice to be able to map the unary negation operator to a method and be able to overload it via a Category, like can be done for the binary math operators (+, -, *, /, etc.).

      Attachments

        1. OverloadableNegate.txt
          0.9 kB
          Steve Hanmann

        Activity

          People

            paulk Paul King
            shanmann Steve Hanmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: