diff --git a/racket/src/cs/rumble/error-rewrite.ss b/racket/src/cs/rumble/error-rewrite.ss index 57bfc46997..26fd955e0e 100644 --- a/racket/src/cs/rumble/error-rewrite.ss +++ b/racket/src/cs/rumble/error-rewrite.ss @@ -63,6 +63,9 @@ "~a: undefined;\n cannot reference an identifier before its definition" "\n alert: compiler pass failed to add more specific guard!") irritants)] + [(and (equal? str "undefined for ~s") + (equal? irritants '(0))) + (values "division by zero" null)] [else (let ([str (string-copy str)] [len (string-length str)])