~ chicken-core (chicken-5) 8d252394d19b0e3941c8c6bbd4a4d8e9da2f9fac


commit 8d252394d19b0e3941c8c6bbd4a4d8e9da2f9fac
Author:     Evan Hanson <evhan@foldling.org>
AuthorDate: Mon Sep 22 19:18:12 2014 +1200
Commit:     Evan Hanson <evhan@foldling.org>
CommitDate: Mon Sep 22 19:37:37 2014 +1200

    Fix incorrect error message for malformed `pure` declarations
    
    The message said "constant" rather than "pure".

diff --git a/core.scm b/core.scm
index 65a9c47f..86e6e2bf 100644
--- a/core.scm
+++ b/core.scm
@@ -1562,7 +1562,7 @@
 	       (cut mark-variable <> '##compiler#pure #t)
 	       (globalize-all syms))
 	      (quit-compiling
-	       "invalid arguments to `constant' declaration: ~S" spec)) ) )
+	       "invalid arguments to `pure' declaration: ~S" spec))))
        ((emit-import-library)
 	(set! import-libraries
 	  (append
Trap