View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000966 | luatex | luatex limitation | public | 2016-02-26 18:14 | 2016-03-10 18:16 |
Reporter | Kalrish | Assigned To | luigi scarso | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | All | ||||
Product Version | 0.81.0 | ||||
Fixed in Version | 0.90.0 | ||||
Summary | 0000966: LuaJITTeX's `loadfile` behaves like 5.1 while `load` behaves like 5.2 | ||||
Description | LuaJIT is fully upwards-compatible with Lua 5.1 and also supports some language and library extensions from Lua 5.2 (see http://luajit.org/extensions.html). Among them are versions of `load` and `loadfile` with an `env` parameter that allows to set the environment under which the chunk shall be loaded (see the pertinent section of the [Lua 5.2 Reference Manual](http://www.lua.org/manual/5.2/manual.html#pdf-load)). Currently, LuaJITTeX supports 5.2's `load` but its `loadfile` behaves like 5.1. This is incoherent and seems unintended. | ||||
Steps To Reproduce | Run `luajittex --interaction=nonstopmode -- main.tex`. Expected output: load: success loadfile: success | ||||
Additional Information | fixed in rev. 5829 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-26 18:14 | Kalrish | New Issue | |
2016-02-26 18:14 | Kalrish | File Added: luajittex-loadfile-5.2.tar | |
2016-02-26 21:47 | luigi scarso | Note Added: 0001578 | |
2016-03-06 18:08 | Hans Hagen | Status | new => closed |
2016-03-06 18:08 | Hans Hagen | Assigned To | => luigi scarso |
2016-03-06 18:08 | Hans Hagen | Resolution | open => fixed |
2016-03-06 18:08 | Hans Hagen | Fixed in Version | => 0.90.0 |
2016-03-10 18:16 | Hans Hagen | Additional Information Updated |