Kampfkarren / selene

A blazing-fast modern Lua linter written in Rust

Home Page:https://kampfkarren.github.io/selene/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect bad reads on constant tables

Kampfkarren opened this issue · comments

local position = { x = 1, y = 2 }

print(position.z) -- Fail!

Shouldn't detect position.z = 1, and should disable once the method is passed through functions, given an arbitrary write, etc.