diff core/src/luan/modules/BasicLuan.java @ 444:e45bcaf6f5fe

remove assert_nil
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 04 May 2015 14:59:01 -0600
parents bf5e62a9090c
children bbad2d06f728
line wrap: on
line diff
--- a/core/src/luan/modules/BasicLuan.java	Mon May 04 14:55:51 2015 -0600
+++ b/core/src/luan/modules/BasicLuan.java	Mon May 04 14:59:01 2015 -0600
@@ -134,12 +134,6 @@
 		return v;
 	}
 
-	public static Object assert_nil(LuanState luan,Object v) throws LuanException {
-		if( v != null )
-			throw luan.exception("bad argument #1 (nil expected, got "+Luan.type(v)+")");
-		return v;
-	}
-
 	public static int assert_integer(LuanState luan,int v) throws LuanException {
 		return v;
 	}