Make contract profiler's path shortening more robust.
This commit is contained in:
parent
6e473958de
commit
52f33231fa
|
@ -151,7 +151,7 @@
|
|||
(define table
|
||||
(for/hash ([p srcs]
|
||||
[e extracted])
|
||||
(values p (hash-ref shortened e))))
|
||||
(values p (hash-ref shortened e (lambda () p)))))
|
||||
(lambda (p)
|
||||
(define target (hash-ref table p #f))
|
||||
(if target
|
||||
|
|
Loading…
Reference in New Issue
Block a user