diff core/src/luan/impl/NotExpr.java @ 645:859c0dedc8b6

remove LuanSource
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 29 Mar 2016 18:09:51 -0600
parents 4723d22062ce
children 8e8c30b72e9b
line wrap: on
line diff
--- a/core/src/luan/impl/NotExpr.java	Tue Mar 29 13:53:01 2016 -0600
+++ b/core/src/luan/impl/NotExpr.java	Tue Mar 29 18:09:51 2016 -0600
@@ -2,17 +2,16 @@
 
 import luan.Luan;
 import luan.LuanException;
-import luan.LuanElement;
 
 
 final class NotExpr extends UnaryOpExpr {
 
-	NotExpr(LuanElement el,Expr op) {
-		super(el,op);
+	NotExpr(Expr op) {
+		super(op);
 	}
 
 	@Override public Object eval(LuanStateImpl luan) throws LuanException {
-		return !luan.checkBoolean( op.eval(luan), op.el() );
+		return !luan.checkBoolean( op.eval(luan) );
 	}
 
 	@Override public String toString() {