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

improve error message for the case of static and instance methods with same signature when using traits

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.2
    • None
    • None

    Description

      The current behavior is to weave in the static method if it is the first found but then complain later during class verification. I propose to change this to detect the conflict earlier and provide a friendlier compiler error message.

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: