File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 117117 #:exists 'replace
118118 (lambda ()
119119 (for ([contract+key (in-list contracts->keys)])
120- (printf "[~a] = ~a \n "
120+ (printf "[~a] = ~s \n "
121121 (cdr contract+key)
122122 (car contract+key)))))))
123123
Original file line number Diff line number Diff line change 114114 (make-srcloc-shortener all-blames blame-source))
115115 (define (format-contract/loc c s)
116116 (string-append
117- (~a (blame-contract c) #:limit-marker limit-dots #:width location-width)
117+ (~s (blame-contract c) #:limit-marker limit-dots #:width location-width)
118118 (~a (format-samples-time s) "\n " )
119119 (~a (srcloc->string (shorten-source c))
120120 #:limit-marker limit-dots
146146 (blame-value (contract-sample-blame x)))
147147 g)
148148 > #:key length)])
149- (display (~a " " (blame-value (contract-sample-blame (car x)))
150- #:limit-marker limit-dots #:width location-width))
149+ (define indent " " )
150+ (display (string-append
151+ indent
152+ (~s (blame-value (contract-sample-blame (car x)))
153+ #:limit-marker limit-dots
154+ #:width (- location-width (string-length indent)))))
151155 (displayln (format-samples-time x)))
152156 (newline))
153157
Original file line number Diff line number Diff line change 3535 " value=~a\n "
3636 " source=~a>\n " )
3737 (blame-positive b) (blame-negative b)
38- (blame-contract b) (blame-value b) (blame-source b)))
38+ (contract-name (blame-contract b))
39+ (blame-value b) (blame-source b)))
3940
4041;; (listof (U path-string? submodule-path #f)) -> same
4142(define (shorten-paths ps*)
You can’t perform that action at this time.
0 commit comments