View Issue Details

IDProjectCategoryView StatusLast Update
0000625fileGeneralpublic2025-05-30 13:55
Reportermgkurtz Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.46 
Fixed in VersionHEAD 
Summary0000625: Lua script misclassified as JavaScript
DescriptionI 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 ReproduceHere is a minimal sensible example file

```lua
#!/usr/bin/lua
a, err = pcall(function() print"Hello world!" end)
```
Additional InformationMy actual shebang line read `#!/usr/bin/env texlua` but the result is the same.
TagsNo tags attached.

Activities

christos

2025-05-30 13:55

manager   ~0004255

Fixed, thanks

Issue History

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