v4.0.2.4: logging
svn: r10818 original commit: 9af00fcfb4782168ae583a3d66058095815725e3
This commit is contained in:
parent
4a7b838c81
commit
a9904359e9
|
@ -2822,7 +2822,8 @@ designates the character that triggers autocompletion
|
|||
[else
|
||||
(raise (make-exn:fail:contract
|
||||
(string->immutable-string
|
||||
(format "parameter ~a: expected ~a, given: ~e" name description v))))]))))
|
||||
(format "parameter ~a: expected ~a, given: ~e" name description v))
|
||||
(current-continuation-marks)))]))))
|
||||
|
||||
(define autocomplete-append-after
|
||||
(make-guarded-parameter 'append-after "string" "" string?))
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
(define-for-syntax (join . args)
|
||||
(define (->string x)
|
||||
(cond [(string? x) x]
|
||||
[(symbol? x) (symbol->string)]
|
||||
[(symbol? x) (symbol->string x)]
|
||||
[(identifier? x) (symbol->string (syntax-e x))]
|
||||
[else (error '->string)]))
|
||||
(string->symbol (apply string-append (map ->string args))))
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
(if (or (ok-lib-path? m)
|
||||
(and (list? m)
|
||||
(= (length m) 2)
|
||||
(ok-lib-path? (car m)
|
||||
(ok-lib-path? (cadr m)))))
|
||||
(ok-lib-path? (car m))
|
||||
(ok-lib-path? (cadr m))))
|
||||
(let ([m (if (ok-lib-path? m)
|
||||
m
|
||||
(car m))])
|
||||
|
|
Loading…
Reference in New Issue
Block a user