Created
May 22, 2010 22:24
-
-
Save remleduff/410416 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(defprotocol Base | |
(test-foo [o])) | |
(deftype Impl [] | |
Base | |
(test-foo [_] "test")) | |
(defprotocol Base) | |
(defprotocol Base | |
(test-foo [o])) | |
(testing "Changing a protocol, then restoring the original preserves extenders" | |
(is (= "test" (test-foo (Impl.))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment