~ chicken-core (chicken-5) ac29104322a3692c53e26161f640077779792b56


commit ac29104322a3692c53e26161f640077779792b56
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Sat May 29 12:32:50 2021 +0200
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Sat May 29 12:52:28 2021 +0200

    Fixed typo in node-class check for rest-arg optimization handling.
    
    Fixes #1758, originally reported by "snan"

diff --git a/core.scm b/core.scm
index 85ccc649..5ca76d1d 100644
--- a/core.scm
+++ b/core.scm
@@ -2668,7 +2668,7 @@
 		       (transform (make-node '##core#inline
 					     (list "C_i_list_ref")
 					     (list rest-var (qnode (second params)))) here closure))
-		      ((##core#rest-null)
+		      ((##core#rest-null?)
 		       (transform (make-node '##core#inline
 					     (list "C_i_greater_or_equal_p")
 					     (list (qnode (second params))
Trap