tools.analyzer

Exception 'Ambiguous method signature for method: assoc' when Eastwood analyzes code containing 'defrecord'

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

I haven't narrowed it down to exactly which commit may have caused this to change, but it was probably within the last 3-4 days.

Example, with latest tools.analyzer(.jvm) and Eastwood, but I believe that just about any namespace with a defrecord in it will trigger this issue:

$ lein eastwood '{:namespaces [ clojurewerkz.neocons.rest ]}'

[ ... some lines deleted here ... ]

Exception thrown during phase :analyze of linting namespace clojurewerkz.neocons.rest
Got exception with extra ex-data:
    msg='Ambiguous method signature for method: assoc'
    (keys dat)=(:file :method :interfaces :form :params :matches)
    (:form dat)=

[ ... many lines deleted here ... ]

Activity

Hide
Nicola Mometto added a comment -
Show
Nicola Mometto added a comment - I fixed this 2 days ago but somehow forgot to commit it. https://github.com/clojure/tools.analyzer.jvm/commit/398dc661dc78821da8d15317b45915ad30ee62e8

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: