lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Jul 9, 2010 at 4:00 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> Moreover, as others already pointed out, misspelling may also happen
> when accessing table fields (e.g., math.coz), with the same consequences
> of misspelling in the use of globals; so, solving misspelling problems
> only for globals will not improve much the situation, and solving
> misspelling problems for table accesses is completely out of Lua scope.

Usually, most globals are going to be module tables, so this is a fair
point.  A smart editor could be taught to handle 'math.coz' as well
(David M's static inspect tools can already do this kind of thing)

steve d.