Mercurial Hosting > luan
diff core/src/luan/impl/UnmExpr.java @ 646:cdc70de628b5
simplify LuanException
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 29 Mar 2016 19:58:39 -0600 |
parents | 859c0dedc8b6 |
children | 8e8c30b72e9b |
line wrap: on
line diff
--- a/core/src/luan/impl/UnmExpr.java Tue Mar 29 18:09:51 2016 -0600 +++ b/core/src/luan/impl/UnmExpr.java Tue Mar 29 19:58:39 2016 -0600 @@ -23,6 +23,6 @@ return Luan.first(fn.call(luan,new Object[]{o})); } } - throw new LuanException(luan,"attempt to perform arithmetic on a "+Luan.type(o)+" value"); + throw new LuanException("attempt to perform arithmetic on a "+Luan.type(o)+" value"); } }