mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 14:44:03 +03:00
Fix Racket buffer loading code
Should return #f on failure, not an empty buffer, for consistency with Chez
This commit is contained in:
parent
e7d27bc46a
commit
ae81e9140a
@ -127,7 +127,7 @@
|
||||
|
||||
(define (blodwen-read-bytevec fname)
|
||||
(with-handlers
|
||||
([(lambda (x) #t) (lambda (exn) (make-bytevector 0))])
|
||||
([(lambda (x) #t) (lambda (exn) #f)])
|
||||
(let* [(h (open-file-input-port fname
|
||||
(file-options)
|
||||
(buffer-mode line) #f))
|
||||
|
Loading…
Reference in New Issue
Block a user