<< Back to previous view

[CCONTRACTS-3] & for additional arguments does not seem to work when declaring a contract Created: 07/Sep/13  Updated: 07/Sep/13

Status: Open
Project: core.contracts
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Stephen Cagle Assignee: Fogus
Resolution: Unresolved Votes: 0
Labels: None


 Description   

user> (use '[clojure.core.contracts :only [contract]])
nil
user> (contract
silly
"Silly reporting for duty sir!"
[[a & b :as c]]
[])
CompilerException java.lang.RuntimeException: Unable to resolve symbol: & in this context, compiling:(NO_SOURCE_PATH:1:1)

the & in "a & b" is unresolved.


Generated at Sat Dec 20 19:12:40 CST 2014 using JIRA 4.4#649-r158309.