Skip to content

unused local symbol when naming inline functions #648

@wilkerlucio

Description

@wilkerlucio

Hi,

When defining inline functions is good to add names then so when some error happens we can see the function name on the stack trace, as on the following example:

(let [f (fn my-fn-name [] "body")]
  (f))

On the example above, the my-fn-name is just a way to name the function, but currently Cursive complains that's an unused local symbol (which in fact it is, but it doesn't matter on this case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions