Scan resources used in (where) patterns.

A while helps, it can introduce a bit of weirdness is to.

1)], ast, sub_scope, chunk, subopts) if (i == #parts)) then ret = nil do local tbl_17_ = list() local i_18_ = (i_18_ .