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

[Static type checking] - Reference to method is ambiguous

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.4.3
    • None
    • Static Type Checker
    • None

    Description

      This issue has a number of seeming duplicates marked as "fixed", but I'm reliably seeing it in 2.4.3 when calling `findAll()` on any Spring `CrudRepository`:

      Groovy:[Static type checking] - Reference to method is ambiguous. Cannot choose between [java.util.List <T> org.springframework.data.mongodb.repository.MongoRepository#findAll(), java.util.List <T> org.springframework.data.mongodb.repository.MongoRepository#findAll()]
      

      No idea whether this is triggered in particular by the name of the method, which Groovy defines on Object.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chrylis Christopher Smith
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: