Mercurial Hosting > luan
diff core/src/luan/modules/IoLuan.java @ 574:6cc2f047019b
remove LuanState.call()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 13 Jul 2015 12:31:53 -0600 |
parents | f1601a4ce1aa |
children | 7c3ad6db8ac3 |
line wrap: on
line diff
--- a/core/src/luan/modules/IoLuan.java Sun Jul 12 23:04:47 2015 -0600 +++ b/core/src/luan/modules/IoLuan.java Mon Jul 13 12:31:53 2015 -0600 @@ -592,7 +592,7 @@ LuanFunction opener = (LuanFunction)schemes.get(luan.JAVA,scheme); if( opener == null ) throw luan.exception( "invalid scheme '"+scheme+"' in '"+name+"'" ); - return (LuanTable)Luan.first(luan.call(opener,"<open \""+name+"\">",new Object[]{location,addExtension})); + return (LuanTable)Luan.first(opener.call(luan,new Object[]{location,addExtension})); } public static final class LuanSocket extends LuanIO {