Skip to content

Cursive is confused by _ from clojure.match #1832

@marco-m

Description

@marco-m

In the following piece of code, Cursive says: "_ cannot be resolved":

(require '[clojure.core.match :refer [match]])

(doseq [n (range 1 101)]
  (println
    (match [(mod n 3) (mod n 5)]
           [0 0] "FizzBuzz"
           [0 _] "Fizz"
           [_ 0] "Buzz"
           :else n)))

Screenshot:
cursive-match-bug

Clojure.match is at https://github.com/clojure/core.match

IDEA CE 2017.2.2, Cursive 1.6.1-2017.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions