File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1515(define (format-expr is-version-10 expr)
1616 (match expr
1717 [(? string?)
18- (define parsed (string->number expr))
19- (unless parsed
20- (raise (error "string that is not a num " )))
21- parsed]
18+ (or (string->number expr) (raise (error "string that is not a num " )))]
2219 [(list op args ... ) (format-op (cons op (map (curry format-expr is-version-10) args)))]
2320 [(? symbol?)
2421 (if is-version-10
Original file line number Diff line number Diff line change 6363 (for/list ([(name loc) (in-dict ctx)])
6464 (define name* (or name "(unnamed) " ))
6565 (match loc
66- [(srcloc file line col _ _ ) (cons name* (list file line col) )]
66+ [(srcloc file line col _ _ ) (list name* file line col)]
6767 [#f (cons name* #f )])))
6868
6969(define (syntax-locations->datum exn)
Original file line number Diff line number Diff line change 4646 (make-hasheq (list (cons 'type (~a type))
4747 (cons 'time (current-inexact-milliseconds))
4848 (cons 'gc-time (current-gc-milliseconds))
49- (cons 'memory (list (list live-memory alloc-memory) )))))
49+ (list 'memory (list live-memory alloc-memory)))))
5050 (set-box! (*timeline*) (cons b (unbox (*timeline*))))))
5151
5252(define (timeline-push! key . values)
You can’t perform that action at this time.
0 commit comments