Opened 5 years ago
Last modified 5 years ago
#1690 closed defect
Specialization breaks "and" macro? — at Initial Version
Reported by: | sjamaan | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 5.3 |
Component: | unknown | Version: | 5.2.0 |
Keywords: | specialization | Cc: | |
Estimated difficulty: | medium |
Description
Reported by Kon Lovett:
cat >matches-prob-test.scm <<'HERE' (import scheme) (import (chicken irregex)) (define (uses-predicate str) (and (string? str) (irregex-match? '(: "foo") str) ) ) (print "uses-predicate: " (uses-predicate "")) HERE csc ./matches-prob-test.scm ./matches-prob-test #uses-predicate: #f csc -specialize ./matches-prob-test.scm ./matches-prob-test #Error: unbound variable: and
Interestingly, this goes all the way back to 4.9.0; in 4.8.0.5 this program (with suitable changes for C4) works as expected with -specialize
.
Note: See
TracTickets for help on using
tickets.