Problem: LuaLS infers priority as integer from the = 0 initialiser but tonumber returns number?, causing a cast-local-type diagnostic. Solution: inline --[[@as integer]] cast after the tonumber call. |
||
|---|---|---|
| .. | ||
| pending | ||
Problem: LuaLS infers priority as integer from the = 0 initialiser but tonumber returns number?, causing a cast-local-type diagnostic. Solution: inline --[[@as integer]] cast after the tonumber call. |
||
|---|---|---|
| .. | ||
| pending | ||