jvm.tools.analyzer

ns form should be first in files where it appears

Details

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

Description

Some tools for analyzing Clojure files expect an ns form to appear first, if one appears in the file at all, e.g. some functions in tools.namespace. A couple of files in jvm.tools.analyzer have it second, after (set! *warn-on-reflection true), or false.

Activity

Hide
Andy Fingerhut added a comment -

Patch jvmta-1-patch-v1.txt simply moves the (set! *warn-on-reflection true) (or false) forms after the ns forms in two files.

Show
Andy Fingerhut added a comment - Patch jvmta-1-patch-v1.txt simply moves the (set! *warn-on-reflection true) (or false) forms after the ns forms in two files.
Hide
Ambrose Bonnaire-Sergeant added a comment -

Sorry, I completely missed this issue. All warn-on-reflection calls should now be deleted.

Show
Ambrose Bonnaire-Sergeant added a comment - Sorry, I completely missed this issue. All warn-on-reflection calls should now be deleted.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: