Clojure

make use of deprecated namespaces/vars easier to spot

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code
  • Approval:
    Triaged

Description

From the mailing list http://groups.google.com/group/clojure/msg/c41d909bd58e4534. It is easy to use deprecated namespaces without knowing you are doing so. The documentation warnings are small, and there is no compiler warning.

Proposed: stderr warnings when referencing a deprecated thing (per Rich in comments)

Patch: 706-deprecated-var-warning-patch-v2.txt

  1. 706-deprecated-var-warning.diff
    26/Oct/12 1:37 PM
    6 kB
    Luke VanderHart
  2. 706-deprecated-var-warning-patch-v2.txt
    13/Feb/13 12:38 AM
    6 kB
    Andy Fingerhut
  3. 706-fix-deprecation-warnings-agents.diff
    26/Oct/12 1:37 PM
    1 kB
    Luke VanderHart
  4. 706-fix-deprecation-warnings-on-replicate.diff
    26/Oct/12 1:37 PM
    3 kB
    Luke VanderHart
  5. 706-fix-deprecation-warning-test-junit.diff
    26/Oct/12 1:37 PM
    3 kB
    Luke VanderHart
  6. 706-warning-on-deprecated-ns.diff
    29/Oct/12 1:02 AM
    0.9 kB
    Ghadi Shayban

Activity

Rich Hickey made changes -
Field Original Value New Value
Waiting On richhickey
Luke VanderHart made changes -
Luke VanderHart made changes -
Patch Code [ 10001 ]
Ghadi Shayban made changes -
Attachment 706-warning-on-deprecated-ns.diff [ 11638 ]
Andy Fingerhut made changes -
Alex Miller made changes -
Labels errormsgs
Alex Miller made changes -
Approval Triaged [ 10120 ]
Alex Miller made changes -
Priority Minor [ 4 ] Critical [ 2 ]
Alex Miller made changes -
Description From the mailing list http://groups.google.com/group/clojure/msg/c41d909bd58e4534. It is easy to use deprecated namespaces without knowing you are doing so. The documentation warnings are small, and there is no compiler warning.

Some possibilities include:

# much more visible deprecation styling in the documentation
# stderr warnings when referencing a deprecated thing.

I don't love the idea of stderr warnings on all the time. Rich: is there an approach to this that you would like to see a patch for?
From the mailing list http://groups.google.com/group/clojure/msg/c41d909bd58e4534. It is easy to use deprecated namespaces without knowing you are doing so. The documentation warnings are small, and there is no compiler warning.

*Proposed:* stderr warnings when referencing a deprecated thing (per Rich in comments)

Alex Miller made changes -
Description From the mailing list http://groups.google.com/group/clojure/msg/c41d909bd58e4534. It is easy to use deprecated namespaces without knowing you are doing so. The documentation warnings are small, and there is no compiler warning.

*Proposed:* stderr warnings when referencing a deprecated thing (per Rich in comments)

From the mailing list http://groups.google.com/group/clojure/msg/c41d909bd58e4534. It is easy to use deprecated namespaces without knowing you are doing so. The documentation warnings are small, and there is no compiler warning.

*Proposed:* stderr warnings when referencing a deprecated thing (per Rich in comments)

*Patch:* 706-deprecated-var-warning-patch-v2.txt
Andrew Rosa made changes -
Assignee Andrew Rosa [ andrewhr ]

People

Vote (19)
Watch (7)

Dates

  • Created:
    Updated: