You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Christopher Smith (JIRA)" <ji...@apache.org> on 2015/06/03 21:35:38 UTC
[jira] [Created] (GROOVY-7454) [Static type checking] - Reference
to method is ambiguous
Christopher Smith created GROOVY-7454:
-----------------------------------------
Summary: [Static type checking] - Reference to method is ambiguous
Key: GROOVY-7454
URL: https://issues.apache.org/jira/browse/GROOVY-7454
Project: Groovy
Issue Type: Bug
Components: Static Type Checker
Affects Versions: 2.4.3
Reporter: Christopher Smith
Assignee: Cédric Champeau
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`:
{code}
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()]
{code}
No idea whether this is triggered in particular by the name of the method, which Groovy defines on {{Object}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)