v0.13.7
errors and warnings / manifest

errors and warnings / manifest / E4308

E4308 error

Output paths differ only in case

area
manifest (x4xxx)
fails the build
yes

Two files of the output have paths that differ only in case, such as src/Core.lua and src/core.lua. On Windows and macOS these name the same file, so one would overwrite the other when the AddOn is installed. This happens, for example, when a .wowlua file and a plain .lua file of almost the same name compile to the same output name.

Rename or remove one of the files.

Example

× failssrc/Core.wowluawowlua
print("new core")
src/core.lualua
print("old core")
✓ compilessrc/Core.wowluawowlua
print("new core")
src/legacy.lualua
print("old core")

The compiler reports it like this:

error[E4308]: output paths `src/Core.lua` and `src/core.lua` differ only in case
codemessage
E4311Output path collides with a reserved top-level name or another output file

Offline

terminal
$ wowlua explain E4308
E4308 (error): Output paths differ only in case

source on GitHub ↗