about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-03-01 20:46:24 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-03-01 20:46:24 -0800
commitf5d291f4a94984cf3317cc887245ca8d4985275a (patch)
tree8e72421fa09d7b755cdcdfa0d73dca7ab69ca043
parent4e3e8150e25a2fff71583ec967b7339f6689f9f9 (diff)
downloadmu-f5d291f4a94984cf3317cc887245ca8d4985275a.tar.gz
858
Don't warn when reusing function names in tests, instead just dump
section titles in the trace to aid navigation.
-rw-r--r--mu.arc3
1 files changed, 1 insertions, 2 deletions
diff --git a/mu.arc b/mu.arc
index 7029ede8..40b09bec 100644
--- a/mu.arc
+++ b/mu.arc
@@ -1723,8 +1723,7 @@
   ; careful to avoid re-processing functions and adding noise to traces
   `(do
      (prn "-- " ',name)
-     (when (function* ',name)
-       (prn "run-code: redefining " ',name))
+     (trace "===" ',name)
      (wipe (function* ',name))
      (add-code '((function ,name [ ,@body ])))
      (freeze-another ',name)