Skip to content

Lua Insight 1.5.5

Latest

Choose a tag to compare

@ClarkWain ClarkWain released this 14 Oct 09:17

Lua Insight 1.5.5

Fix false type errors when assigning Lua module search paths:

package.path = directory .. "?.lua"

The bundled standard libraries now explicitly declare package.path and
package.cpath as string for Lua 5.1–5.4, and package.config as string for
Lua 5.2–5.4. Placeholder empty strings no longer restrict these fields to the
empty-string literal type. Assigning a number still produces a type error.

Package IntelliJ platform
IntelliJ-LuaInsight-1.5.5-IDEA2025.zip 251–253 (IDEA 2025.1–2025.3)
IntelliJ-LuaInsight-1.5.5-IDEA2026.zip 261–262 (IDEA 2026.1–2026.2)

For Android Studio, select the package using the platform Build in
Help → About. Build 252 uses the IDEA2025 package. Install through
Settings → Plugins → Install Plugin from Disk and restart the IDE.

Both targets compiled successfully. Four targeted tests covering the Lua
5.1–5.4 standard-library declarations passed on Android Studio 2025.2.3.
The full regression suite, Plugin Verifier and native UI checks were not
repeated for this resource-only change.
Verification details.

中文

修复设置 Lua 模块搜索路径时的误报,例如 package.path = directory .. "?.lua"
被提示只能赋空字符串的问题。

补全 Lua 5.1–5.4 中 package.path、package.cpath,以及 Lua 5.2–5.4 中
package.config 的 string 类型声明,共 11 处。字符串赋值可以通过检查,
数字赋值仍会报错。

2025、2026 两个目标均编译通过,四个标准库针对性用例通过;本次未重复运行整套回归。
Android Studio 平台 Build 252 安装 IDEA2025 包。