Browse files

Simpler and more robust test for inner functions

  • Loading branch information...
1 parent d55caad commit 508d6ae708a34891706d562e1797db178eb91e7f @mmcgrana committed Aug 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj_stacktrace/core.clj
@@ -34,7 +34,7 @@
(defn- clojure-annon-fn?
"Returns true if the bytecode class name implies an anonymous inner fn."
- (utils/re-match? #"\$fn__" class-name))
+ (utils/re-match? #"\$.*\$" class-name))
(defn parse-trace-elem
"Returns a map of information about the java trace element.

0 comments on commit 508d6ae

Please sign in to comment.