-
-
Save mknoszlig/e0c987e0e9e4e96aeaf5 to your computer and use it in GitHub Desktop.
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
user> (defn fun [^java.io.File f] f) | |
#'user/fun | |
user> (defn fun [^File f] f) | |
CompilerException java.lang.IllegalArgumentException: Unable to resolve classname: File, compiling:(NO_SOURCE_PATH:1:1) | |
user> (import 'java.io.File) | |
java.io.File | |
user> (defn fun [^File f] f) | |
#'user/fun |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment