Last active
March 23, 2016 14:06
-
-
Save anmonteiro/3a8fdc5ba085e3895254 to your computer and use it in GitHub Desktop.
`defprotocol` in advanced compilation bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns bug.core) | |
(defprotocol IBug | |
(bug [this other] "A sample protocol")) | |
(defn MyBug []) | |
(specify! (.-prototype MyBug) | |
IBug | |
(bug [this other] | |
"bug") | |
Object | |
(foo [this] | |
(bug this 3))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment