cs: more consistent arity errors

Suppress the compiler's conversion of statically obvious arity errors
to an expression that reports a custom error with the an S-expression,
since that interferes with Rumble's normalization of error messages.
This commit is contained in:
Matthew Flatt 2019-11-26 08:12:51 -07:00
parent 79981af50b
commit e15a6f99d4
4 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,7 @@
(define collection 'multi)
(define version "7.5.0.7")
(define version "7.5.0.8")
(define deps `("racket-lib"
["racket" #:version ,version]))

View File

@ -2,7 +2,7 @@
;; Check to make we're using a build of Chez Scheme
;; that has all the features we need.
(define-values (need-maj need-min need-sub need-dev)
(values 9 5 3 4))
(values 9 5 3 5))
(unless (guard (x [else #f]) (eval 'scheme-fork-version-number))
(error 'compile-file

View File

@ -1187,4 +1187,5 @@
(set-foreign-eval! eval/foreign)
(enable-arithmetic-left-associative #t)
(expand-omit-library-invocations #t))
(expand-omit-library-invocations #t)
(enable-error-source-expression #f))

View File

@ -16,7 +16,7 @@
#define MZSCHEME_VERSION_X 7
#define MZSCHEME_VERSION_Y 5
#define MZSCHEME_VERSION_Z 0
#define MZSCHEME_VERSION_W 7
#define MZSCHEME_VERSION_W 8
/* A level of indirection makes `#` work as needed: */
#define AS_a_STR_HELPER(x) #x