Property accessors are now able to accept 1 or 2 arguments

This commit is contained in:
Tony Garnock-Jones 2011-05-24 22:15:23 -04:00 committed by Vincent St-Amour
parent c54355482f
commit c888222fb6

View File

@ -10,7 +10,7 @@
(arity-test make-struct-type-property 1 3)
(test 3 primitive-result-arity make-struct-type-property)
(arity-test p? 1 1)
(arity-test p-ref 1 1)
(arity-test p-ref 1 2)
(arity-test struct-type-property? 1 1)
(test #t struct-type-property? prop:p)
(test #f struct-type-property? 5)