<< 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


user> (use '[clojure.core.contracts :only [contract]])
user> (contract
"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 Sun Jan 21 22:45:50 CST 2018 using JIRA 4.4#649-r158309.