Skip to content

Commit

Permalink
add #^objects as a valid type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrand committed Aug 11, 2009
1 parent 743a57f commit 15ac69c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jvm/clojure/lang/Compiler.java
Expand Up @@ -865,7 +865,9 @@ static Class tagToClass(Object tag) throws Exception{
Symbol sym = (Symbol) tag;
if(sym.ns == null) //if ns-qualified can't be classname
{
if(sym.name.equals("ints"))
if(sym.name.equals("objects"))
c = Object[].class;
else if(sym.name.equals("ints"))
c = int[].class;
else if(sym.name.equals("longs"))
c = long[].class;
Expand Down

0 comments on commit 15ac69c

Please sign in to comment.