cs: sync error message for undefined identifier

This commit is contained in:
Matthew Flatt 2019-05-22 07:01:48 -06:00
parent cf9ae3b200
commit cd31b308af

View File

@ -843,7 +843,7 @@
(identify-module var))] (identify-module var))]
[else [else
(string-append (symbol->string (variable-source-name var)) (string-append (symbol->string (variable-source-name var))
": undefined;\n cannot reference undefined identifier" ": undefined;\n cannot reference an identifier before its definition"
(identify-module var))]) (identify-module var))])
(current-continuation-marks) (current-continuation-marks)
(variable-name var)))) (variable-name var))))