~ chicken-core (chicken-5) 6a860ab07ca23729b805c8c964d876268b09b285


commit 6a860ab07ca23729b805c8c964d876268b09b285
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:40:41 2014 +1200

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

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