Skip to content

Instantly share code, notes, and snippets.

@dadarek
Created May 29, 2012 21:28
Show Gist options
  • Save dadarek/2830823 to your computer and use it in GitHub Desktop.
Save dadarek/2830823 to your computer and use it in GitHub Desktop.
(ns clojure_ttt.computer)
(defprotocol SomeProtocol
(boo [a]))
(defrecord SomeProtocolImpl [b]
SomeProtocol
(boo [this] true))
(ns clojure_ttt.computer-spec
(:use [clojure_ttt.computer])
(:use [speclj.core]))
(def inst (SomeProtocolImpl. :a))
(run-specs)
@dadarek
Copy link
Author

dadarek commented May 29, 2012

java.lang.IllegalArgumentException: Unable to resolve classname: SomeProtocolImpl, compiling:(clojure_ttt/computer_spec.clj:5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment