View Issue Details

IDProjectCategoryView StatusLast Update
0000625fileGeneralpublic2025-02-22 13:52
Reportermgkurtz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.46 
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

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-02-22 13:52 mgkurtz New Issue