View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000625 | file | General | public | 2025-02-22 13:52 | 2025-05-30 13:55 |
| Reporter | mgkurtz | Assigned To | christos | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 5.46 | ||||
| Fixed in Version | HEAD | ||||
| Summary | 0000625: Lua script misclassified as JavaScript | ||||
| Description | I have a Lua file containing `(function(` which gets classified as JavaScript although it contains a shebang line. While JavaScript may be much more likely in the wild, I would expect a shebang line to be considered a much much stronger clue than any piece of typical code. | ||||
| Steps To Reproduce | Here is a minimal sensible example file ```lua #!/usr/bin/lua a, err = pcall(function() print"Hello world!" end) ``` | ||||
| Additional Information | My actual shebang line read `#!/usr/bin/env texlua` but the result is the same. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-02-22 13:52 | mgkurtz | New Issue | |
| 2025-05-30 13:53 | christos | Assigned To | => christos |
| 2025-05-30 13:53 | christos | Status | new => assigned |
| 2025-05-30 13:55 | christos | Status | assigned => resolved |
| 2025-05-30 13:55 | christos | Resolution | open => fixed |
| 2025-05-30 13:55 | christos | Fixed in Version | => HEAD |
| 2025-05-30 13:55 | christos | Note Added: 0004255 |