cs: report file for bad-version errors
This commit is contained in:
parent
00b9acdac3
commit
4fa8a9870d
|
@ -960,7 +960,12 @@
|
|||
(raise-arguments-error 'read-compiled-linklet
|
||||
"version mismatch"
|
||||
"expected" (version)
|
||||
"found" (bytes->string/utf-8 vers #\?)))
|
||||
"found" (bytes->string/utf-8 vers #\?)
|
||||
"in" (let ([n (object-name in)])
|
||||
(if (path? n)
|
||||
(unquoted-printing-string
|
||||
(path->string n))
|
||||
in))))
|
||||
(let ([tag (read-byte in)])
|
||||
(cond
|
||||
[(equal? tag (char->integer #\B))
|
||||
|
|
Loading…
Reference in New Issue
Block a user