Mercurial Hosting > luan
diff website/src/manual.html.luan @ 428:df95199ca4c0
rename __newindex to __new_index
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2015 20:10:31 -0600 |
parents | 455784e2227d |
children | e3a6d9dbd694 |
line wrap: on
line diff
--- a/website/src/manual.html.luan Fri May 01 19:29:07 2015 -0600 +++ b/website/src/manual.html.luan Sat May 02 20:10:31 2015 -0600 @@ -457,7 +457,7 @@ and therefore can trigger another metamethod.) </li> -<li><b>"newindex": </b> +<li><b>"new_index": </b> The indexing assignment <tt>table[key] = value</tt>. Like the index event, @@ -478,7 +478,7 @@ <p> -Whenever there is a "newindex" metamethod, +Whenever there is a "new_index" metamethod, Luan does not perform the primitive assignment. (If necessary, the metamethod itself can call <a href="#pdf-rawset"><tt>raw_set</tt></a>