tools.analyzer

Suggestion: Throw exception for (var ...) forms unless they have exactly 1 arg

Details

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

Description

Clojure silently allows such expressions, too, but as far as I can see it ignores all args other than the first, similarly to throw and quote.

Activity

Hide
Nicola Mometto added a comment -
Show
Nicola Mometto added a comment - Fixed also for import*, monitor-enter, monitor-exit: https://github.com/clojure/tools.analyzer.jvm/commit/9eb1dd8dfd8d8058897f446551b1aa17cbd14f46

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: