Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/jvm/clojure/lang/Compiler.java b/src/jvm/clojure/lang/Compiler.java
- index 21615f4..48ef722 100644
- --- a/src/jvm/clojure/lang/Compiler.java
- +++ b/src/jvm/clojure/lang/Compiler.java
- @@ -1861,6 +1861,11 @@ static class ConstantExpr extends LiteralExpr{
- public Expr parse(C context, Object form){
- Object v = RT.second(form);
- + if ( RT.count(form) > 2 ) {
- + throw new IllegalArgumentException
- + ("Must provide at most one argument to `quote'.");
- + }
- +
- if(v == null)
- return NIL_EXPR;
- else if(v == Boolean.TRUE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement