Mercurial Hosting > luan
comparison src/luan/LuanTable.java @ 1618:a37ffe2d1b14
fix not_found_handler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 14 Jun 2021 18:45:17 -0600 |
parents | 92beba8bf1c8 |
children | 93b9fd13a06c |
comparison
equal
deleted
inserted
replaced
1617:d88fb2eb15aa | 1618:a37ffe2d1b14 |
---|---|
507 fn.call(new Luan(),this); // ??? should be immutable | 507 fn.call(new Luan(),this); // ??? should be immutable |
508 } | 508 } |
509 super.finalize(); | 509 super.finalize(); |
510 } | 510 } |
511 | 511 |
512 public LuanFunction fn(String fnName) throws LuanException { | 512 public LuanFunction fn(Luan luan,String fnName) throws LuanException { |
513 return (LuanFunction)rawGet(fnName); | 513 return (LuanFunction)get(luan,fnName); |
514 } | 514 } |
515 | 515 |
516 public static void debug(LuanTable table) { | 516 public static void debug(LuanTable table) { |
517 System.out.println("isMap "+table.isMap()); | 517 System.out.println("isMap "+table.isMap()); |
518 } | 518 } |